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

KeyDatatypeRequiredDescription
scheduleIdentifierTypestringType of the identifier that is provided as an in-line parameter. Possible values are 'id' or 'name'
flatstringRetrieves user names of all on call participants if enabled
datestringStarting date of the timeline

RESPONSES

status: OK

{&quot;requestId&quot;:&quot;pariatur in&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;_parent&quot;:{&quot;id&quot;:&quot;dolor do consequat ea proident&quot;,&quot;name&quot;:&quot;aliqu&quot;,&quot;enabled&quot;:true},&quot;nextOnCallRecipients&quot;:[{&quot;id&quot;:&quot;ea&quot;,&quot;name&quot;:&quot;culpa&quot;,&quot;type&quot;:&quot;laboris do et dolore&quot;,&quot;onCallParticipants&quot;:[{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;}],&quot;forwardedFrom&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},&quot;escalationTime&quot;:3934349,&quot;notifyType&quot;:&quot;velit aliqua&quot;},{&quot;id&quot;:&quot;laboris in labore&quot;,&quot;name&quot;:&quot;est in mollit qui&quot;,&quot;type&quot;:&quot;in labore p&quot;,&quot;onCallParticipants&quot;:[{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;}],&quot;forwardedFrom&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},&quot;escalationTime&quot;:74821042,&quot;notifyType&quot;:&quot;ea Excepteur tempor&quot;}],&quot;exactNextOnCallRecipients&quot;:[{&quot;id&quot;:&quot;pariatur Duis i&quot;,&quot;name&quot;:&quot;eu dolore&quot;,&quot;type&quot;:&quot;culpa tempor&quot;,&quot;onCallParticipants&quot;:[{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;}],&quot;forwardedFrom&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},&quot;escalationTime&quot;:-27314944,&quot;notifyType&quot;:&quot;culpa&quot;},{&quot;id&quot;:&quot;anim esse dolore officia&quot;,&quot;name&quot;:&quot;laboris mini&quot;,&quot;type&quot;:&quot;velit reprehenderit Lorem cillum mollit&quot;,&quot;onCallParticipants&quot;:[{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;}],&quot;forwardedFrom&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Participant detected\u003e&quot;},&quot;escalationTime&quot;:-80967431,&quot;notifyType&quot;:&quot;anim dolor sed&quot;}],&quot;nextOnCallParticipants&quot;:[&quot;pariatur nulla est conse&quot;,&quot;in ad deserunt et&quot;],&quot;exactNextOnCallParticipants&quot;:[&quot;sit in Excepteur labore&quot;,&quot;ad in ipsum nulla&quot;]}}