NewContactAssignmentInput
input type
Create-input for a ContactAssignment.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the role's registry caption (e.g. 'Billing (AP)'); when supplied it must be non-blank. |
hostId | ID ID! | yes | The host construct id. |
hostType | ContactAssignmentHostType ContactAssignmentHostType! | yes | One of the values of [ContactAssignmentHostType](/types/ContactAssignmentHostType/). |
contactId | ID ID! | yes | The assigned Contact id — immutable after birth. |
role | String String! | yes | The ContactRole token (canned registry — a non-canned or non-applicable role is VALIDATION/INVALID). |