List On Calls

GET {{baseUrl}}/v2/schedules/on-calls?flat=<boolean>&date=<dateTime>

Lists current on-call participants of all schedules

Request Params

KeyDatatypeRequiredDescription
flatstringRetrieves user names of all on call participants if enabled
datestringStarting date of the timeline

RESPONSES

status: OK

{&quot;requestId&quot;:&quot;et mi&quot;,&quot;took&quot;:0,&quot;data&quot;:[{&quot;_parent&quot;:{&quot;id&quot;:&quot;pariatur adipisicing aliquip sunt&quot;,&quot;name&quot;:&quot;Excepte&quot;,&quot;enabled&quot;:false},&quot;onCallParticipants&quot;:[{&quot;id&quot;:&quot;non id&quot;,&quot;name&quot;:&quot;sunt nulla&quot;,&quot;type&quot;:&quot;est 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;:-58351222,&quot;notifyType&quot;:&quot;et pariatur&quot;},{&quot;id&quot;:&quot;proident&quot;,&quot;name&quot;:&quot;do consequat proident Lorem Excepteur&quot;,&quot;type&quot;:&quot;id ex&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;:44415435,&quot;notifyType&quot;:&quot;pariatur ea&quot;}],&quot;onCallRecipients&quot;:[&quot;sunt in&quot;,&quot;sed &quot;]},{&quot;_parent&quot;:{&quot;id&quot;:&quot;reprehenderit in&quot;,&quot;name&quot;:&quot;pariatur aute&quot;,&quot;enabled&quot;:true},&quot;onCallParticipants&quot;:[{&quot;id&quot;:&quot;tempor reprehenderit ut veniam ut&quot;,&quot;name&quot;:&quot;Duis exercita&quot;,&quot;type&quot;:&quot;cupidatat ea 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;:-94260446,&quot;notifyType&quot;:&quot;ut amet&quot;},{&quot;id&quot;:&quot;voluptate&quot;,&quot;name&quot;:&quot;ullamco&quot;,&quot;type&quot;:&quot;exercitation&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;:18820148,&quot;notifyType&quot;:&quot;laboris Ut ea&quot;}],&quot;onCallRecipients&quot;:[&quot;irure&quot;,&quot;labore eiusmod&quot;]}]}