AlmondTill/G3N API

myChangeRequests

query · in the family Organization requests

What it does

Your own change requests — the park/unpark queue for your group.

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:

Arguments

NameTypeRequiredNotes
limitIntnoHow many records to answer at most; a page may hold fewer.
nextTokenStringnoThe cursor from the previous page, passed back exactly as received.

Returns

ChangeRequestPage ChangeRequestPage! — See ChangeRequestPage.

This is a page: items holds the records and nextToken the cursor for the next page — pass it back verbatim until it is null. See paging.

Example request

graphql
query ExampleMyChangeRequests($limit: Int) {
  myChangeRequests(limit: $limit) {
    items {
      id
      type
      sysId
      caption
      status
      requestType
      needsInfoNote
      rejectReason
      realizedAccountId
      realizedOrgGroupId
      realizedTokenAccountId
      realizedClassification
      realizationFault
      createdAt
      updatedAt
      revisionNum
    }
    nextToken
  }
}

Variables:

json
{
  "limit": 1
}

Example response

json
{
  "data": {
    "myChangeRequests": {
      "items": [
        {
          "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
        }
      ],
      "nextToken": "<the cursor from the previous page>"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": null,
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer