AlmondTill/G3N API

NewPolicyValueRecordInput

input type

Create-input for a PolicyValueRecord.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the window coordinate <key> = <valueInt> from <startAt>; when supplied it must be non-blank.
organizationIdIDno
logicalFacilityIdIDno
keyString String!yesThe registry key — an unknown key refuses naming the roster.
valueIntInt Int!yesThe value — INT, registry-bounded per key (the v1 thresholds take 1..100).
startAtStringnoThe window start (inclusive; UTC ISO-8601). Optional — absent = effective NOW (server-stamped); explicit values must be >= the server now (no past starts).
endAtString String!yesThe window end (exclusive; UTC ISO-8601). Always required (far-future = the standing value); must be strictly after startAt.

Used by