Create schedule entry
POST
/api/organizations/{organization_id}/locations/{location_id}/schedules
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/organizations//locations//schedules' \
--header 'Content-Type: application/json' \
--data-raw '{
"start": "string",
"end": "string",
"locationId": "string",
"employeeId": "string",
"roleId": "string",
"timezone": "string",
"utcOffset": 0,
"colors": {},
"breaks": [
"string"
],
"payrollId": "string"
}'
Response Response Example
{}
Request
Path Params
location_id
string
required
organization_id
string
required
Body Params application/json