AlmondTill/G3N API

NewContactAssignmentInput

input type

Create-input for a ContactAssignment.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the role's registry caption (e.g. 'Billing (AP)'); when supplied it must be non-blank.
hostIdID ID!yesThe host construct id.
hostTypeContactAssignmentHostType ContactAssignmentHostType!yesOne of the values of [ContactAssignmentHostType](/types/ContactAssignmentHostType/).
contactIdID ID!yesThe assigned Contact id — immutable after birth.
roleString String!yesThe ContactRole token (canned registry — a non-canned or non-applicable role is VALIDATION/INVALID).

Used by