AlmondTill/G3N API

TrainingRequirement

object type

A TrainingRequirement: the owner's rule that people holding a role copied from the canned template roleTemplateKey must hold a valid TrainingCertificate for the course courseKey — a live play key of the Playbook registry. graceDays (0..365, default 14) = the days after the role grant before the requirement falls due; passMark (1..100, default 80) = the mark a sitting must reach — the strictest rule binding the person for the course wins at an attempt's start. The pair (roleTemplateKey, courseKey) is immutable after birth and unique among the org's non-doomed rules (a duplicate refuses CONFLICT/IDENTITY_TAKEN); at most 100 rules per org (CONFLICT/TRAINING_CAP past it). NOT searchable (no filter roster until the face).

Fields

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The human-readable id, shaped like TE-… — stable for the record’s life.
typeString String!The kind of record — always TrainingRequirement here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active, inactive or doomed.
parentIdID ID!The parent org group; for a TrainingRequirement parentId === rootId.
rootIdID ID!The id of your organization group — every record of yours carries the same one.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID ID!The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption.
roleTemplateKeyString String!The canned role template the rule binds — owner · system_administrator · manager · associate_manager · warehouse_associate · sales_associate · cashier; a person holding ANY role copied from it owes the course. Immutable at birth.
courseKeyString String!The course — a live play key of the Playbook registry (e.g. connect-a-till). Immutable at birth.
graceDaysInt Int!Days after the role grant before the requirement is due (0..365; default 14).
passMarkInt Int!The pass mark a sitting must reach (1..100; default 80) — the strictest applicable rule wins.
noteStringWhat the rule is for (at most 400 characters); optional, set-only.

Used by