AlmondTill/G3N API

SchedulableResource

object type

A SchedulableResource — a bookable entity at a LogicalFacility: the staff member / station / equipment Appointments book against. capacity = concurrent bookings (default 1); the confirm gate checks capacity only. workingHours are advisory v1 — naive wall-clock weekly windows: the availability read returns them, NO gate consumes them. The operational lifecycle verbatim. The gate: a reserved booking (a confirmed/in_progress Appointment) blocks deactivate AND doom, CONFLICT/REFERENCED naming the appointments; requested Appointments deliberately do NOT block (they refuse honestly at confirm via the active re-read).

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 SR-… — stable for the record’s life.
typeString String!The kind of record — always SchedulableResource 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 LogicalFacility; rootId = the org group; parentId!== rootId always.
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.
resourceTypeSchedulableResourceType SchedulableResourceType!The canned resource kind — set at creation, immutable (re-kind = create + doom).
userIdIDThe optional staff link — staff-kind resources only; in-tenant + active at set; editable (re-staffing is operational reality); null = no link.
capacityInt Int!Concurrent-booking capacity (1..100; default 1) — the confirm gate refuses CONFLICT/DOUBLE_BOOKED at this ceiling unless the appointment.overbook_allowed policy admits.
workingHoursWorkingHoursWindow [WorkingHoursWindow!]!The weekly working-hours calendar (≤28 windows; split shifts legal; empty = none declared) — advisory v1: naive wall-clock minutes at the facility, returned by the availability read, consumed by NO gate.
codeStringOptional mutable merchant reference code; uniqueness NOT enforced.

Used by