Leave Record - LIST
This API is used to extract leave requests from BIPO. It covers normal leave and leave-with-expiry requests.
Note: Always send a filter (EmployeeCodes or a date range) so the response stays small.
Note: ApprovalStatus in the response shows where the request stands, for example A = Approved, PA = Pending Approval, C = Cancelled.
Note: RecordID in the response is the value to use for amend, approve, cancel and delete in Leave Record - UPSERT and Leave Record - DELETE.
Note: ExternalRequestID in the response is the reference your own system sent when the request was created. It is not unique, so match on RecordID when you need exactly one request.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a string.
Response
OK
DateEnd
RecordID
DateStart
LeaveCode
EmployeeCode
ApprovalStatus
ExternalRequestID
