AlmondTill/G3N API

RequestApprovalInput

input type

Request-input for requestApproval: a live gated action + its target + the parent coordinate (tillSessionId XOR logicalFacilityId) + the required reason.

Fields

FieldTypeRequiredNotes
actionString String!yesThe gated action.
targetIdID ID!yesThe blocked action's target — the construct the action gates; state-gated to where the action's op fires.
valueMinorIntnoThe bound value (integer minor units) — required for discount.apply; refused for whole-target actions.
tillSessionIdIDnoThe open TillSession the action runs in (the parent; XOR logicalFacilityId).
logicalFacilityIdIDnoThe active LF the action runs at when no till session is involved (XOR tillSessionId).
reasonString String!yesWhy the requester needs the override.
captionStringnoOptional caption override.

Used by