Skip to navigation

Leave With Expiry - LIST

View as Markdown

This API is used to extract the leave-with-expiry balance of employees from BIPO. Each row is one credit with its entitled, taken and encashed days and the date it expires.

FieldTypeRequiredDescription
InterfaceCodeStringYesMust be BIPO-LWE
EmployeeCodesArray of StringNoOnly return the balance of these employees

Note: This API is for reading only. The balance cannot be written or deleted through the API.

Note: Leave requests taken from this balance (create, cancel, delete) are handled by Leave Record - UPSERT and Leave Record - DELETE with BIPO-LVR, using the leave code of the leave-with-expiry type.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a string.

Response

OK
Takeninteger
Remarksstring
CreateBystring
CreateOndatetime
Encashedinteger
Entitledinteger
RecordIDstringformat: "uuid"
UpdateBystring
UpdateOndatetime
LeaveCodestring
Adjustmentinteger
DateExpirydatetime
DateOrigindatetime
EmployeeCodestring
OTFieldanyOptional
PaymentPRanyOptional
LWERequestIDanyOptional
OTCompensationanyOptional