timeTrackingShifts

Creates 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

post/v2/time_tracking/shifts

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Request body

object required
data, V2TimeTrackingShiftsPostRequestBodyContentApplicationJsonSchemaData required

Response

Successful operation.

TimeTrackingShiftsCreateTimeTrackingShiftsResponse201 required
data, V2TimeTrackingShiftsPostResponsesContentApplicationJsonSchemaDataItems[] required

Changes

    • warning

      the data/shifts/items/oneOf[subschema #2: V2TimeTrackingShiftsPostRequestBodyContentApplicationJsonSchemaDataShiftsItems1]/summary/time_amount request property's min was set to 0.00

    • warning

      the data/shifts/items/oneOf[subschema #2: V2TimeTrackingShiftsPostRequestBodyContentApplicationJsonSchemaDataShiftsItems1]/summary/total_payable_hours request property's min was set to 0.00

    • info

      removed the non-success response with the status