Create time-off request
Changed onCreates a time-off request for a worker under a policy; without a status it is created as approved. Use POST /rest/time_offs/validate first to check the request without creating it. A request created as REQUESTED stays pending until it is reviewed with POST /rest/time_offs/review, or handled through the Deel approval flow when you opt into it.
Token scopes: time-off:write, worker:write
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Request body
The time off request data
Response
Time off creation data
The list of created time offs. Depending on the selected dates, a time off can be split into more than one request.
The list of created time offs. Depending on the selected dates, a time off can be split into more than one request.
Changes
- info
added the new optional request property
data/custom_field_values/items/field_key - info
the request property
data/custom_field_values/items/field_idbecame optional
- info