Mutations
Unschedule tracks in a patient pathway
Scheduled tracks in a patient pathway that have not already been activated can be unscheduled.
- graphql
01mutation UnscheduleTrack($input: CancelScheduledTracksInput!) {02 unscheduleTrack(input: $input) {03 success04 unscheduled_ids05 }06}
ids
is a list of ids of the scheduled tracks that you wish to unschedule (cancel). You can fetch a list of ids for all scheduled tracks in a specific pathway using the scheduledTracks query.
- json
01{02 "input": {03 "ids": ["{{SCHEDULED_TRACK_ID}}"]04 }05}
- json
01{02 "data": {03 "unscheduleTracks": {04 "success": true,05 "unscheduled_ids": ["{{SCHEDULED_TRACK_ID}}"]06 }07 }08}