PUT api/SicknessScheme/{employeeNo}

Add sickness scheme details to an Employee

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeNo

Employee Number

string

Required

Body Parameters

In request Body: Employee Sickness Scheme Details

SicknessSchemeDetail
NameDescriptionTypeAdditional information
SchemeName

string

Required

EffectiveDate

date

Required

RatePaidOverride

decimal number

None.

SalaryReducedOverride

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "SchemeName": "sample string 1",
  "EffectiveDate": "2024-12-23T06:34:24.3779024+00:00",
  "RatePaidOverride": 1.0,
  "SalaryReducedOverride": 1.0
}

application/xml, text/xml

Sample:
<SicknessSchemeDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServicesRESTful.Models">
  <EffectiveDate>2024-12-23T06:34:24.3779024+00:00</EffectiveDate>
  <RatePaidOverride>1</RatePaidOverride>
  <SalaryReducedOverride>1</SalaryReducedOverride>
  <SchemeName>sample string 1</SchemeName>
</SicknessSchemeDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result

ResultWithMessage
NameDescriptionTypeAdditional information
result

'OK', 'Error'

string

None.

message

Returns if result is Error

string

None.

returnValue

string

None.

Response Formats

application/json, text/json

Sample:
{
    "result": "OK"
}

{
    "result": "Error",
    "message": "Unable to save: the..."
}

application/xml, text/xml

Sample:
<ResultWithMessage>
    <result>OK</result>
</ResultWithMessage>

<ResultWithMessage>  
    <result>Error</result>
    <message>Unable to save: the...</message>
</ResultWithMessage>