ContactRole
A contact role: the organisation-wide list a contact's function is picked from, e.g.
- Summary view
- ContactRoleList, 6 fields. What a list returns by default.
- Detail view
- ContactRole, 6 fields. The default for a single read and for every write.
- Read with
- api:
read: andcustomers::customers read - Write with
- api:
write: andcustomers::customers create
Technical contact or Invoicing. Deleting one unassigns it from every contact rather than refusing.
Used by
Fields
- Detail only
- Only in the detail view.
- Only with include
- Only when you ask for it with include.
- Server-assigned
- Set by plnnrly, never by a request.
Role name as shown in the UI, unique across the organisation. This is the default sort key and the field ?q= searches.
Variants
ContactRoleList 6 fields
What a collection returns, and what ?view=summary returns on a single record.
The same fields as the detail object.
ContactRoleSummary 2 fields
The embedded form: what you get when another resource carries this one and you did not include it.
Leaves out: created_at, updated_at, contacts_count, links
ContactRoleLinks 2 fields
The links object on this resource.
Keys: self, contacts
Something wrong or missing on this page? Tell us