- Home
- Staff Management
- Time Tracking
- Timesheets
- Schedules
- Commissions
- Sales Performance
- Payroll Management
- Checklists
Create a new schedule
POST
/schedules
Schedules
Request
Body Params application/json
location_id
string
required
staff_id
string
required
shift_start
string <date-time>
required
shift_end
string <date-time>
required
Example
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/schedules' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢201Created
application/json
Body
schedule_id
string
optional
location_id
string
optional
staff_id
string
optional
shift_start
string <date-time>
optional
shift_end
string <date-time>
optional
working_now
boolean
optional
Example:
true
Example
{
"schedule_id": "string",
"location_id": "string",
"staff_id": "string",
"shift_start": "2019-08-24T14:15:22Z",
"shift_end": "2019-08-24T14:15:22Z",
"working_now": true
}
🟠400Bad Request
🔴500Server Error
Modified at 2024-12-17 09:32:50