Create Override

mutation{
  createOverride(
    input:{scheduleID:9054,
      startTime:"2023-05-09T00:00:00Z",
      endTime:"2023-05-11T00:00:00Z",
      overrideWith:{participants:[{
        type:"user",
        ID:"60f12dd3814bef0008c4036e"
      }]},
      reason:"blah blah",
      overriddenParticipant:{participants:[]}
    }){
    ID,
    scheduleID,
    reason,
    overrideWith{
      participants{
        type,
        ID
      }
    }
  }
}

Response:

{
  "data": {
    "createOverride": {
      "ID": 4467,
      "scheduleID": 9054,
      "reason": "blah blah",
      "overrideWith": {
        "participants": [
          {
            "type": "user",
            "ID": "60f12dd3814bef0008c4036e"
          }
        ]
      }
    }
  }
}

Last updated