PutEmployeeLeave


Description:

Updates submitted employee leave information if requester is authorized to do so.


Request:

https://qa01-api-gateway.moorepay.co.uk/timeandattendance/v1/TimeAndAttendance/PutEmployeeLeave


Request headers:

Name

Required

Type

Description

Authorization

Yes

string

access token


Request body:

[{
"payrollCompanyCode": "string",
"idNumber": "string",
"hrEmployeeId": "string",
"employeeName": "string",
"dateFrom": "string",
"dateTo": "string",
"returnToWork": "string",
"leaveType": "string",
"otherLeaveReason": "string",
"hours": [{
"date":"string",
"hours": 0,
"expectedHours":  0
}],
"status": 0.0,
"leaveTakenDays": 0.0,
"overrideWorkDays": 0.0,
"overridePublicHolidays": 0.0,
"doctorsCertificate": "string",
"comments": "string",
"transactionId": "string",
"reviewerEmployeeId": "string",
"halfDayAM_HalfLastDay": true,
"halfDayPM_HalfFirstDay": true
}]

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: Generate Kindle eBooks with ease