Approve or reject time-off requests
Approves or rejects a batch of time-off requests in a single call. The desired status must be either APPROVED or REJECTED for each entry. Only time-offs currently in REQUESTED status can be reviewed; entries in any other status are returned as not reviewed. Rejecting a time-off request is irreversible: once rejected, its status cannot be changed through this API. The response distinguishes successfully processed requests from those that encountered errors.
Token scopes: time-off:write
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Request body
Array of time-offs to be reviewed
Response
Review process completed successfully
The response contains two lists: one for time-offs that were successfully reviewed and another for those that could not be reviewed. Each time-off in the reviewed list contains its ID and the status it was set to (either APPROVED/USED or REJECTED). The notReviewed list contains the IDs of time-offs that could not be reviewed along with an error message explaining why.
Changes
No recorded changes to this operation across all 23 revisions of this API.