Create shifts
Changed onCreates categorised shifts, each with a shift type and rate, for a Global Payroll contract, including corrections to shifts already exported to payroll. Shifts are saved first and exported to payroll in the background, so the call returns before the export finishes. To create shifts with only clock-in and clock-out times, use POST /rest/v2/time_tracking/shifts/raw.
Token scopes: time-tracking:write
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Request body
Response
Successful operation.
Changes
- warning
the
data/shifts/items/oneOf[subschema #2: V2TimeTrackingShiftsPostRequestBodyContentApplicationJsonSchemaDataShiftsItems1]/summary/time_amountrequest property's min was set to0.00 - warning
the
data/shifts/items/oneOf[subschema #2: V2TimeTrackingShiftsPostRequestBodyContentApplicationJsonSchemaDataShiftsItems1]/summary/total_payable_hoursrequest property's min was set to0.00 - info
removed the non-success response with the status
- warning