AlmondTill/G3N API

submitChangeRequest

mutation · in the family Organization requests

What it does

File a change request — asking the platform to change something about your organizations (park, unpark).

File ONE management ChangeRequest against an org in the caller's OWN group: ONE txn = the group-parented request (born submitted) + the review-queue row + the pending-(type×org) reservation (a duplicate live request refuses the fixed sentence naming nothing about the holder; released at every terminal). The target org gates at submit: in-group (cross-tenant reads NOT_FOUND — the opaque law) · non-doomed · in the bound edge's from-state (CONFLICT/REF_STATE naming the edge).

Before you call

A bearer session from an API key (see Authentication and key hygiene) or a signed-in user.

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

Roles that may call it:

What happens

The request goes to review; nothing changes until it is approved and realized.

Arguments

NameTypeRequiredNotes
requestTypeString String!yes
inputOrganizationLifecyclePayloadInput OrganizationLifecyclePayloadInput!yesThe submit/resubmit form of the management profile.

Returns

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

Example request

graphql
mutation ExampleSubmitChangeRequest($requestType: String!, $input: OrganizationLifecyclePayloadInput!) {
  submitChangeRequest(requestType: $requestType, input: $input) {
    id
    type
    sysId
    caption
    status
    requestType
    needsInfoNote
    rejectReason
    realizedAccountId
    realizedOrgGroupId
    realizedTokenAccountId
    realizedClassification
    realizationFault
    createdAt
    updatedAt
    revisionNum
  }
}

Variables:

json
{
  "requestType": "<request type>",
  "input": {
    "organizationId": "01900000-0000-7000-8000-1971e30a0000",
    "message": "Restock before the weekend."
  }
}

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

Example response

json
{
  "data": {
    "submitChangeRequest": {
      "id": "01900000-0000-7000-8000-105b40fa0000",
      "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-94ed56a60000",
      "realizedOrgGroupId": "01900000-0000-7000-8000-9a7181a60000",
      "realizedTokenAccountId": "01900000-0000-7000-8000-2ec6e09f0000",
      "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