Skip to navigation

Leave Record - DELETE

View as Markdown

This API is used to delete an existing leave request in the system. It works for normal leave and for leave-with-expiry requests.

FieldTypeRequiredDescription
InterfaceCodeStringYesMust be BIPO-LVR
RecordIDString (GUID)YesUnique ID of the leave request to delete

Note: RecordID is the only value needed. Get it from the Leave Record - LIST response, or from the response of Leave Record - UPSERT when RespectField is R.

Note: A cancelled request is a separate record from the original request. Delete each one with its own RecordID.

Note: To change the leave-with-expiry balance itself, contact your BIPO consultant. The balance can be read with Leave With Expiry - LIST but cannot be written or deleted through the API.

Authentication

AuthorizationBearer

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

Request

This endpoint expects a string.

Response

OK
dataobject
errorslist of any
messageslist of strings
errorCodeanyOptional