Get On Calls
GET {{baseUrl}}/v2/schedules/:identifier/on-calls?scheduleIdentifierType=id&flat=<boolean>&date=<dateTime>
Gets current on-call participants of a specific schedule
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
scheduleIdentifierType | string | Type of the identifier that is provided as an in-line parameter. Possible values are 'id' or 'name' | |
flat | string | Retrieves user names of all on call participants if enabled | |
date | string | Starting date of the timeline |
RESPONSES
status: OK
{"requestId":"magna","took":0,"data":{"_parent":{"id":"do sun","name":"deserunt do adipisicing sint irure","enabled":false},"onCallParticipants":[{"id":"ut anim commodo ipsu","name":"sit deserunt ea minim","type":"ad ullamco","onCallParticipants":[{"value":"\u003cCircular reference to #/components/schemas/Participant detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/Participant detected\u003e"}],"forwardedFrom":{"value":"\u003cCircular reference to #/components/schemas/Participant detected\u003e"},"escalationTime":-14051396,"notifyType":"in ipsum"},{"id":"nostrud occaecat in","name":"do et proident","type":"amet aliqua laboris tempor culpa","onCallParticipants":[{"value":"\u003cCircular reference to #/components/schemas/Participant detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/Participant detected\u003e"}],"forwardedFrom":{"value":"\u003cCircular reference to #/components/schemas/Participant detected\u003e"},"escalationTime":20746733,"notifyType":"elit nisi cupidatat"}],"onCallRecipients":["Ut","pariatur dolore id non"]}}