GetReturnToWorkDate
GetReturnToWorkDate
Description:
Returns employee return to work date for given Company and EmployeeId that the requester is authorized to view.[Valid leaveTypes: H, SS, OL, OH, J, T]
Request:
https://dev02-api-gateway.moorepay.co.uk/timeandattendance/v1/TimeAndAttendance/GetReturnToWorkDate/{ companyId }?leaveType={ leaveType }&dateFrom={ dateFrom }&dateTo={ dateTo } [ &employeeId ] [ &hrEmployeeId ]
Request headers:
Name |
Required |
Type |
Description |
Authorization |
Yes |
string |
access token |
Request parameters:
Name |
Required |
Type |
Description |
companyId |
true |
string |
string[2] |
employeeId |
false |
string |
string[8] |
hrEmployeeId |
false |
string |
HR Employee Id |
dateFrom |
true |
string |
Datetime yyyy-mm-dd |
dateTo |
true |
string |
Datetime yyyy-mm-dd |
leaveType |
true |
string |
string[3] |
Response example:
Response: 200 OK
"string"
Response: 400 Bad Request
Bad Request
Response: 401 Unauthorized
Unauthorized
Response: 404 Not Found
Not Found
Response: 405 Method Not Allowed
Method Not Allowed
Response: 500 Internal Server Error
Internal Server Error
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad