Schedules
| Field | Type | Description |
|---|---|---|
| ScheduleId | int | unique id for the schedule |
| ScheduleName | string | Schedule name |
| Shifts | array of Shift objects | List of shifts associated with the schedule |
| Field | Type | Description |
|---|---|---|
| ShiftId | int | unique id for the shift |
| ShiftName | string | Shift name |
Returns a list of company’s schedules.
Authorization needed
GET https://api.ninthbrain.com/Schedule/GetList?api-version=2.0
HTTP/1.1 200 OK
Content-Type: application/json;charset=utf-8
{
"ScheduleId": 123,
"ScheduleName": "Sample Schedule"
"Shifts": [
{
"ShiftId" : 123,
"ShiftName" : "Sample Shift"
},
{
"ShiftId" : 124,
"ShiftName" : "Sample Shift 2"
}
]
}
bad_request(HTTP 400)unauthorized(HTTP 401) - This APIKey is not valid for this service.internal_error(HTTP 500)
Ninth Brain API Documentation