Get Rotation by ID
query{
rotation(ID:9073){
ID,
name,
color,
startDate,
period,
participantGroups{
participants{
type,
ID
}
}
changeParticipantsUnit,
changeParticipantsFrequency,
endDate,
endsAfterIterations
}
}
Response:
{
"data": {
"rotation": {
"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
}
}
}
Last updated