API ReferenceShift
Create Shifts
Create shifts.
Authorization
bearerAuth Authorization<token>
In: header
Request Body
application/json
The shift information to create shifts in bulk.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
Try it live
curl -X POST "https://example.com/shifts" \ -H "Content-Type: application/json" \ -d '{ "machineIds": [ 0.1 ], "durationInSeconds": 0.1, "timezone": "string", "weekdays": [ "string" ], "end": "2019-08-24T14:15:22Z", "start": "2019-08-24T14:15:22Z", "title": "string" }'[ {}]