Get Next On Calls
GET {{baseUrl}}/v2/schedules/:identifier/next-on-calls?scheduleIdentifierType=id&flat=<boolean>&date=<dateTime>
Gets next 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":"pariatur in","took":0,"data":{"_parent":{"id":"dolor do consequat ea proident","name":"aliqu","enabled":true},"nextOnCallRecipients":[{"id":"ea","name":"culpa","type":"laboris do et dolore","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":3934349,"notifyType":"velit aliqua"},{"id":"laboris in labore","name":"est in mollit qui","type":"in labore p","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":74821042,"notifyType":"ea Excepteur tempor"}],"exactNextOnCallRecipients":[{"id":"pariatur Duis i","name":"eu dolore","type":"culpa tempor","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":-27314944,"notifyType":"culpa"},{"id":"anim esse dolore officia","name":"laboris mini","type":"velit reprehenderit Lorem cillum mollit","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":-80967431,"notifyType":"anim dolor sed"}],"nextOnCallParticipants":["pariatur nulla est conse","in ad deserunt et"],"exactNextOnCallParticipants":["sit in Excepteur labore","ad in ipsum nulla"]}}