List Schedules
GET {{baseUrl}}/v2/schedules?expand=<string>,<string>
Returns list of schedule
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Returns more detailed response with expanding it. Possible value is 'rotation' which is also returned with expandable field of response |
RESPONSES
status: OK
{"requestId":"commodo","took":0,"expandable":["voluptate eiusmod","amet Ut ullamco nulla"],"data":[{"id":"Ut","name":"nulla aute tempor","description":"ut non amet Duis","timezone":"Excepteur in","enabled":true,"ownerTeam":{"id":"\u003cstring\u003e","name":"\u003cstring\u003e"},"rotations":[{"id":"Duis enim ullamco","name":"amet id aliquip proident","startDate":"1976-02-14T02:06:24.483Z","endDate":"1989-08-27T19:47:07.581Z","type":"weekly","length":55486851,"participants":[{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"},{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"}],"timeRestriction":{"type":"\u003cstring\u003e"}},{"id":"do fugiat","name":"esse","startDate":"2019-07-14T03:14:39.497Z","endDate":"2001-02-02T23:26:31.031Z","type":"weekly","length":-49403852,"participants":[{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"},{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"}],"timeRestriction":{"type":"\u003cstring\u003e"}}]},{"id":"cillum nostrud reprehenderit occaecat","name":"nisi ullamco eu","description":"magna ea","timezone":"sunt quis","enabled":true,"ownerTeam":{"id":"\u003cstring\u003e","name":"\u003cstring\u003e"},"rotations":[{"id":"tempor enim mollit","name":"id Excepteur sunt","startDate":"1991-12-10T03:11:32.653Z","endDate":"2020-08-08T09:42:11.736Z","type":"daily","length":-49081246,"participants":[{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"},{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"}],"timeRestriction":{"type":"\u003cstring\u003e"}},{"id":"enim ex fugiat","name":"veniam","startDate":"1953-01-14T00:15:42.938Z","endDate":"1965-10-26T13:16:28.153Z","type":"daily","length":9306727,"participants":[{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"},{"type":"\u003cstring\u003e","id":"\u003cstring\u003e"}],"timeRestriction":{"type":"\u003cstring\u003e"}}]}]}