timeOff

Update time-off request

Changed on

Corrects 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 URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

time_off_id, string uuid required

Time off request id

Request body

object required
data, TimeOffsTimeOffIdPatchRequestBodyContentApplicationJsonSchemaData

Time off update request data

Response

Time off updated

TimeOffUpdateTimeOffRequestResponse200 required

Time off data to be updated

time_off, TimeOffsTimeOffIdPatchResponsesContentApplicationJsonSchemaTimeOff 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_id became optional