AlmondTill/G3N API

orgSeason

query · in the family Org season

What it does

Look up one record — your organization’s enablement of a shared season.

One OrgSeason by id. The record must belong to your organization group; an id from another group reads as not found.

Before you call

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

Capability area: Reading your records — Looking up and listing the records of your organization.

Roles that may call it:

What happens

Reads only — changes nothing.

Arguments

NameTypeRequiredNotes
idID ID!yesThe id of the record.

Returns

OrgSeason — An OrgSeason selection — the per-org enablement of a group Season (the strict-selection pattern). Parent = the organization (not the family root). Freely deactivatable/doomable; a NON-doomed selection blocks the master Season doom only.

Example request

graphql
query ExampleOrgSeason($id: ID!) {
  orgSeason(id: $id) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    seasonId
    code
  }
}

Variables:

json
{
  "id": "01900000-0000-7000-8000-9655b5740000"
}

Example response

json
{
  "data": {
    "orgSeason": {
      "id": "01900000-0000-7000-8000-9655b5740000",
      "sysId": "ES-EXMP-0000-000F",
      "type": "OrgSeason",
      "caption": "Blue jeans",
      "status": "active",
      "parentId": "01900000-0000-7000-8000-eacdfcfd0000",
      "rootId": "01900000-0000-7000-8000-a1295a650000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-53c6eea90000",
      "seasonId": "01900000-0000-7000-8000-14f06c780000",
      "code": "BJ-001"
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": null,
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer