Awell Health Developer Hub
Developer Hub

Scheduled tracks in a patient pathway that have not already been activated can be unscheduled.

Request

Mutation

  • graphql
01mutation UnscheduleTrack($input: CancelScheduledTracksInput!) {
02 unscheduleTrack(input: $input) {
03 success
04 unscheduled_ids
05 }
06}

Variables

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}

Response

  • json
01{
02 "data": {
03 "unscheduleTracks": {
04 "success": true,
05 "unscheduled_ids": ["{{SCHEDULED_TRACK_ID}}"]
06 }
07 }
08}