AlmondTill/G3N API

On this page

cancelMyChangeRequest

mutation · in the family Organization requests

What it does

Cancel your own pending change request.

Cancel the caller group's OWN live request.

Who may call it

Capability area: Organization requests — Filing and following requests to park or reopen your organizations.

Arguments

NameTypeRequiredNotes
idID ID!yesThe id of the record.
reasonStringnoNo further notes.

Returns

ChangeRequest ChangeRequest! — The review queues hold NON-terminal requests only (rows release at the terminals); history reads by id forever.

Example request

mutation ExampleCancelMyChangeRequest($id: ID!, $reason: String) {
  cancelMyChangeRequest(id: $id, reason: $reason) {
    id
    type
    sysId
    caption
    status
    requestType
    needsInfoNote
    rejectReason
    realizedAccountId
    realizedOrgGroupId
    realizedTokenAccountId
    realizedClassification
    realizationFault
    createdAt
    updatedAt
    revisionNum
  }
}

Variables:

{
  "id": "01900000-0000-7000-8000-37386ae00000",
  "reason": "Correcting a miscount."
}

Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.

Example response

{
  "data": {
    "cancelMyChangeRequest": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "type": "ChangeRequest",
      "sysId": "CQ-EXMP-0000-000F",
      "caption": "Blue jeans",
      "status": "<status>",
      "requestType": "<request type>",
      "needsInfoNote": "<needs info note>",
      "rejectReason": "<reject reason>",
      "realizedAccountId": "01900000-0000-7000-8000-ae87a27b0000",
      "realizedOrgGroupId": "01900000-0000-7000-8000-380c6cbb0000",
      "realizedTokenAccountId": "01900000-0000-7000-8000-8c052d920000",
      "realizedClassification": "<realized classification>",
      "realizationFault": "<realization fault>",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer