PUT api/Reinstate/{employeeNo}
Reinstate an employee
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeNo |
Employee Number |
string |
Required |
Body Parameters
In request Body: Employee Reinstate Details
ReinstateDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| ReinstateReason |
1 = Employee never left; 2 = Reinstate for current period to allow payment after leaving |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"ReinstateReason": "1"
}
application/xml, text/xml
Sample:
<ReinstateDetail>
<ReinstateReason>1</ReinstateReason>
</ReinstateDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result
ResultWithMessage| Name | Description | Type | Additional 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>