timeOff
Update time-off request
Changed onCorrects details of an existing time-off request, such as its dates, amount, reason, or time-off type, without requiring the worker to cancel and resubmit it. Applies a partial update identified by time_off_id; only fields included in the request body are modified.
Token scopes: time-off:write, worker:write
patch/time_offs/{time_off_id}
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
time_off_id, string uuid required
Time off request id
Request body
object required
data, Time Offs Time Off Id Patch Request Body Content Application Json Schema Data
Time off update request data
Response
Time off updated
Time Off Update Time Off Request Response200 required
Time off data to be updated
time_off, Time Offs Time Off Id Patch Responses Content Application Json Schema Time Off required
Used to return the updated time off request after modification. Contains all the time off details including status, dates, amounts, and associated metadata.
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