Who is On-Call

query{
	whoIsOncall(filters:{teamID:"6129ac15518568defa92794b"}){
    schedule{
      name,
      ID,
      teamID
    },
    oncallParticipants{
      ID,
      type,
    }
  }
}

Response:

{
  "errors": [
    {
      "message": "the requested element is null which the schema does not allow",
      "path": [
        "whoIsOncall",
        3,
        "schedule"
      ]
    },
    {
      "message": "the requested element is null which the schema does not allow",
      "path": [
        "whoIsOncall",
        5,
        "schedule"
      ]
    }
  ],
  "data": {
    "whoIsOncall": null
  }
}

Note: For more information about the Who is On-Call REST API, please refer to this resource here.

Last updated