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

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;magna&quot;,&quot;took&quot;:0,&quot;data&quot;:{&quot;_parent&quot;:{&quot;id&quot;:&quot;do sun&quot;,&quot;name&quot;:&quot;deserunt do adipisicing sint irure&quot;,&quot;enabled&quot;:false},&quot;onCallParticipants&quot;:[{&quot;id&quot;:&quot;ut anim commodo ipsu&quot;,&quot;name&quot;:&quot;sit deserunt ea minim&quot;,&quot;type&quot;:&quot;ad ullamco&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;:-14051396,&quot;notifyType&quot;:&quot;in ipsum&quot;},{&quot;id&quot;:&quot;nostrud occaecat in&quot;,&quot;name&quot;:&quot;do et proident&quot;,&quot;type&quot;:&quot;amet aliqua laboris tempor culpa&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;:20746733,&quot;notifyType&quot;:&quot;elit nisi cupidatat&quot;}],&quot;onCallRecipients&quot;:[&quot;Ut&quot;,&quot;pariatur dolore id non&quot;]}}