AlmondTill/G3N API

NewSchedulableResourceInput

input type

Create-input for a SchedulableResource. userId is legal on staff resources only (in-tenant + active — CONFLICT/REF_STATE else); capacity defaults to 1; workingHours defaults to.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the kind + LF coordinate ('staff at <LF caption>'); when supplied it must be non-blank.
logicalFacilityIdID ID!yesThe parent LogicalFacility (the booking site) — tenant-scoped + active. Immutable after birth.
resourceTypeSchedulableResourceType SchedulableResourceType!yesThe canned kind — immutable at birth.
userIdIDnoThe optional staff link — staff-kind only (refused otherwise); in-tenant + active.
capacityIntnoConcurrent-booking capacity (1..100); omitted = 1.
workingHoursWorkingHoursWindowInput [WorkingHoursWindowInput!]noThe weekly advisory calendar; omitted =.
codeStringno

Used by