Get Schedule by ID

query{
  schedule(ID:5884){
    ID,
    orgID,
    teamID,
    name,
    description,
    timeZone,
    paused,
    owner{
      type,
      ID
    },
    rotations{
      ID,
      name,
      color,
      startDate,
      period,
      participantGroups{
        participants{
          type,
          ID
        }
      }
      changeParticipantsUnit,
      changeParticipantsFrequency,
      endDate,
      endsAfterIterations
    },
    escalationPolicies{
      ID,
      name
    }
  }
}

Response:

{
  "data": {
    "schedules": [
      {
        "ID": 5884,
        "orgID": "60cb200bc9de4a0008d2fc41",
        "teamID": "62442e4182c4725938208e11",
        "name": "Kamesh's Test Schedule (migrated)",
        "description": "This Schedule is Migrated from calendar Kamesh's Test Schedule from v1\nlalalala",
        "timeZone": "Asia/Kolkata",
        "paused": false,
        "owner": {
          "type": "team",
          "ID": "62442e4182c4725938208e11"
        },
        "rotations": [
          {
            "ID": 9073,
            "name": "Shift 39",
            "color": "#dbf6ccb3",
            "startDate": "2023-05-03T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9075,
            "name": "Shift 39",
            "color": "#fff6bFb3",
            "startDate": "2023-05-04T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9078,
            "name": "Shift 39",
            "color": "#d4d4f9b3",
            "startDate": "2023-05-05T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9079,
            "name": "Shift 39",
            "color": "#fff6bFb3",
            "startDate": "2023-05-06T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9080,
            "name": "Shift 39",
            "color": "#d4d4f9b3",
            "startDate": "2023-05-07T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9082,
            "name": "Shift 39",
            "color": "#fff6bFb3",
            "startDate": "2023-05-08T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9084,
            "name": "Shift 39",
            "color": "#fff6bFb3",
            "startDate": "2023-05-09T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9085,
            "name": "Shift 39",
            "color": "#ffd9c7b3",
            "startDate": "2023-05-10T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9087,
            "name": "Shift 39",
            "color": "#fff6bFb3",
            "startDate": "2023-05-11T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9089,
            "name": "Shift 39",
            "color": "#ffd9c7b3",
            "startDate": "2023-05-12T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9091,
            "name": "Shift 39",
            "color": "#fff6bFb3",
            "startDate": "2023-05-13T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9093,
            "name": "Shift 39",
            "color": "#d4d4f9b3",
            "startDate": "2023-05-14T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9095,
            "name": "Shift 39",
            "color": "#fff6bFb3",
            "startDate": "2023-05-15T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9097,
            "name": "Shift 39",
            "color": "#dbf6ccb3",
            "startDate": "2023-05-16T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9099,
            "name": "Shift 39",
            "color": "#d4ecf9b3",
            "startDate": "2023-05-17T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9101,
            "name": "Shift 39",
            "color": "#ffd9c7b3",
            "startDate": "2023-05-18T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9104,
            "name": "Shift 39",
            "color": "#d4d4f9b3",
            "startDate": "2023-05-19T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9106,
            "name": "Shift 39",
            "color": "#ffd9c7b3",
            "startDate": "2023-05-20T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9107,
            "name": "Shift 39",
            "color": "#ffd9c7b3",
            "startDate": "2023-05-21T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9109,
            "name": "Shift 39",
            "color": "#ffd9c7b3",
            "startDate": "2023-05-22T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9111,
            "name": "Shift 39",
            "color": "#d4d4f9b3",
            "startDate": "2023-05-23T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          },
          {
            "ID": 9113,
            "name": "Shift 39",
            "color": "#d4ecf9b3",
            "startDate": "2023-05-24T18:30:00Z",
            "period": "daily",
            "participantGroups": [
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "636247828157585f236d4689"
                  }
                ]
              },
              {
                "participants": [
                  {
                    "type": "user",
                    "ID": "630869fbcf46c9ca449a1baa"
                  }
                ]
              }
            ],
            "changeParticipantsUnit": "rotation",
            "changeParticipantsFrequency": 1,
            "endDate": null,
            "endsAfterIterations": null
          }
        ],
        "escalationPolicies": []
      }
    ]
  }
}

Last updated