List Schedules
Schedules can be listed directly or for a folder from the following endpoints:
- /schedules
Parameters- teamIds -
array
(required) Example: teamIds[]=508
only return schedules of users within given teams. - scheduleFrom -
date
(required) Example: scheduleFrom=06/06/2014
only return schedules on or after the given date. - scheduleTo -
date
(required) Example: scheduleTo=07/08/2014
only return schedules on or before the given date.
- teamIds -
- /folders/{id}/schedules
Get Schedules [GET]
Authorization: Admin, Web
Response 200
Body
{ "page": 1, "pages": 4, "count": 190, "items": [ { "folder": { "id": 22908, "num": "IN1004", "closed": false, "description": "Check that all parts are in working order", "folderTypeName": "Inspections", "folderTypeColor": "f5c960", "accountId": 19769, "accountName": "Springfield Nuclear Plant", "accountNum": "SP22908", "locationNum": null, "locationName": "Unit 4" }, "id": 72505, "userId": 9082, "user": { "id": 9082, "firstName": "Homer", "lastName": "Simpson" }, "folderId": 22908, "scheduleFrom": "2014-06-27T14:20:00Z", "scheduleTo": "2014-06-27T15:20:00Z", "note": "show ID at entrance" } ] }