Developers
Set your API contextPick a region and space ID once. Every sample fills in your base URL.
Where do I find these?

In Coevera: open your space's API application and choose Show Access. It shows the space ID and the base URL, whose host starts with your region.

From the API: if you know the space ID, the discovery endpoint GET /api/discovery/spaces/{space_id} returns its region and base URLs, without credentials.

Only the region and space ID are kept, in this browser. Never paste a key or password here.

More in the quickstart

GraphQLRepositoriescontactAccountRelation

entities.contactAccountRelation

Read contact account relation records with the contactAccountRelation repository, and change them with the contact account relation mutations. Same records as the REST ContactAccountRelations entity.

Queries

Fields of entities { contactAccountRelation { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ContactAccountRelationEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ContactAccountRelationEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ContactAccountRelationFilterInput, orderBy: [ContactAccountRelationOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ContactAccountRelationEntity!]!
QUERYgetByCriteria(filter: ContactAccountRelationFilterInput, orderBy: [ContactAccountRelationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ContactAccountRelationEntityConnection
QUERYgetChangedFieldsSinceRevision(id: UUID!, revision: Int!)
Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.
[UUID!]!

Mutations

KindMutationDoesReturns
MUTATIONcreateContactAccountRelation(input: CreateContactAccountRelationInput!, validationLevel: [ValidationLevel!])Create one recordCreateContactAccountRelationPayload
MUTATIONupdateContactAccountRelation(input: UpdateContactAccountRelationInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateContactAccountRelationPayload
MUTATIONbulkUpdateContactAccountRelation(input: [CreateOrUpdateContactAccountRelationInput!]!, deleteInput: [DeleteContactAccountRelationInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateContactAccountRelationPayload
MUTATIONdeleteContactAccountRelation(input: DeleteContactAccountRelationInput!)Soft-deleteDeleteContactAccountRelationPayload

Types

The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.

ContactAccountRelationEntity object 18 fields: isDeleteProtected, id, isDeleted, …

Link between a contact and an account they work for, with their position and their place in the account org chart.

FieldTypeDescription
isDeleteProtectedBoolean!True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountAccountEntityAccount the contact is linked to.
contactContactEntityContact linked to the account.
accountIdID!Id of the account the contact is linked to.
commentStringFree-form note describing this contact-account link.
contactIdID!Id of the contact linked to the account.
isAssistantBooleanTrue when the contact acts as an assistant on the account org chart. Assistant relations cannot have child relations.
isPrimaryBoolean!True for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
isSiblingBooleanTrue when the contact is a sibling node on the account org chart (no parent/child reporting line).
positionStringJob title or position the contact holds at the account.
relationshipOrgRelationshipTypeEnumOrg-chart relationship of the contact within the account hierarchy.
revisionIntRevision when entity was lastly changed.
accountRoles[ContactAccountAccountRoleRelationEntity!]Roles the contact holds within the linked account.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
ContactAccountRelationEntityConnection object pageInfo: PageInfo!, edges: [ContactAccountRelationEntityEdge]!, totalCount: Int

Paginated list of ContactAccountRelation records.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[ContactAccountRelationEntityEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.
ContactAccountRelationEntityEdge object node: ContactAccountRelationEntity, cursor: String!

A Relay edge containing a ContactAccountRelationEntity and its cursor.

FieldTypeDescription
nodeContactAccountRelationEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
ContactAccountRelationFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

Filter conditions for ContactAccountRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

Input fieldTypeDescription
OR[ContactAccountRelationFilterInput!]Matches records that meet at least one of the listed filters.
AND[ContactAccountRelationFilterInput!]Matches records that meet all of the listed filters.
NOTContactAccountRelationFilterInputMatches records that do not meet this filter.
globalSearchQueryStringSearch term matched against the fields that the global search covers for this entity.
idEntityFilterStringFieldUnique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedEntityFilterDateTimeFieldLast modification time.
createdEntityFilterDateTimeFieldCreation time.
accountIdEntityFilterStringFieldId of the account the contact is linked to.
commentEntityFilterStringFieldFree-form note describing this contact-account link.
contactIdEntityFilterStringFieldId of the contact linked to the account.
isAssistantBooleanTrue when the contact acts as an assistant on the account org chart. Assistant relations cannot have child relations.
isPrimaryBooleanTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
isSiblingBooleanTrue when the contact is a sibling node on the account org chart (no parent/child reporting line).
positionEntityFilterStringFieldJob title or position the contact holds at the account.
relationshipOrgRelationshipTypeEnumFilterInputOrg-chart relationship of the contact within the account hierarchy.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
accountAccountFilterInputAccount the contact is linked to. Matches records where a related record meets these conditions.
contactContactFilterInputContact linked to the account. Matches records where a related record meets these conditions.
accountRolesContactAccountAccountRoleRelationFilterInputRoles the contact holds within the linked account. Matches records where a related record meets these conditions.
ContactAccountRelationOrderByInput input Asc or Desc per field

Sorting of ContactAccountRelation records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
account[AccountOrderByNestedInput!]Account the contact is linked to. Sorts by fields of the related record, listed in order of priority.
contact[ContactOrderByNestedInput!]Contact linked to the account. Sorts by fields of the related record, listed in order of priority.
accountIdOrderByEnumId of the account the contact is linked to.
commentOrderByEnumFree-form note describing this contact-account link.
contactIdOrderByEnumId of the contact linked to the account.
isAssistantOrderByEnumTrue when the contact acts as an assistant on the account org chart. Assistant relations cannot have child relations.
isPrimaryOrderByEnumTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
isSiblingOrderByEnumTrue when the contact is a sibling node on the account org chart (no parent/child reporting line).
positionOrderByEnumJob title or position the contact holds at the account.
relationshipOrderByEnumOrg-chart relationship of the contact within the account hierarchy.
revisionOrderByEnumRevision when entity was lastly changed.
CreateContactAccountAccountRoleRelationNoContactAccountRelationBackrefInput input modified: DateTime, created: DateTime, accountRoleId: ID!, revision: Int

Field values of a new ContactAccountAccountRoleRelation record, created together with the record it belongs to.

Input fieldTypeDescription
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountRoleIdID!Id of the role assigned to the contact at the account.
revisionIntRevision when entity was lastly changed.
CreateContactAccountRelationInput input 13 fields: clientMutationId, modified, created, …

Field values of a new ContactAccountRelation record.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountIdID!Id of the account the contact is linked to.
commentStringFree-form note describing this contact-account link.
contactIdID!Id of the contact linked to the account.
isAssistantBooleanTrue when the contact acts as an assistant on the account org chart. Assistant relations cannot have child relations.
isPrimaryBoolean!True for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
isSiblingBooleanTrue when the contact is a sibling node on the account org chart (no parent/child reporting line).
positionStringJob title or position the contact holds at the account.
relationshipOrgRelationshipTypeEnumOrg-chart relationship of the contact within the account hierarchy.
revisionIntRevision when entity was lastly changed.
accountRoles[CreateContactAccountAccountRoleRelationNoContactAccountRelationBackrefInput!]Roles the contact holds within the linked account.
CreateOrUpdateContactAccountRelationInput input 14 fields: clientMutationId, id, modified, …

Field values of a ContactAccountRelation record to create, or to update when its id is set.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idIDUnique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountIdIDId of the account the contact is linked to.
commentStringFree-form note describing this contact-account link.
contactIdIDId of the contact linked to the account.
isAssistantBooleanTrue when the contact acts as an assistant on the account org chart. Assistant relations cannot have child relations.
isPrimaryBooleanTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
isSiblingBooleanTrue when the contact is a sibling node on the account org chart (no parent/child reporting line).
positionStringJob title or position the contact holds at the account.
relationshipOrgRelationshipTypeEnumOrg-chart relationship of the contact within the account hierarchy.
revisionIntRevision when entity was lastly changed.
accountRoles[CreateContactAccountAccountRoleRelationNoContactAccountRelationBackrefInput!]Roles the contact holds within the linked account.
DeleteContactAccountRelationInput input clientMutationId: String, id: ID!

Id of the ContactAccountRelation record to delete.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
UpdateContactAccountRelationInput input 14 fields: clientMutationId, id, modified, …

Id of a ContactAccountRelation record and the field values to change.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountIdIDId of the account the contact is linked to.
commentStringFree-form note describing this contact-account link.
contactIdIDId of the contact linked to the account.
isAssistantBooleanTrue when the contact acts as an assistant on the account org chart. Assistant relations cannot have child relations.
isPrimaryBooleanTrue for the row that represents the primary related entity for this record. Setting isPrimary to true on a row automatically clears it on any other primary row.
isSiblingBooleanTrue when the contact is a sibling node on the account org chart (no parent/child reporting line).
positionStringJob title or position the contact holds at the account.
relationshipOrgRelationshipTypeEnumOrg-chart relationship of the contact within the account hierarchy.
revisionIntRevision when entity was lastly changed.
accountRoles[CreateContactAccountAccountRoleRelationNoContactAccountRelationBackrefInput!]Roles the contact holds within the linked account.
BulkUpdateContactAccountRelationPayload object result: BulkUpdateResults!

Result of the bulkUpdateContactAccountRelation mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateContactAccountRelationPayload object contactAccountRelation: ContactAccountRelationEntity, clientMutationId: String

Result of the createContactAccountRelation mutation.

FieldTypeDescription
contactAccountRelationContactAccountRelationEntityThe created record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
DeleteContactAccountRelationPayload object contactAccountRelation: ContactAccountRelationEntity, clientMutationId: String

Result of the deleteContactAccountRelation mutation.

FieldTypeDescription
contactAccountRelationContactAccountRelationEntityThe deleted record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
UpdateContactAccountRelationPayload object contactAccountRelation: ContactAccountRelationEntity, clientMutationId: String

Result of the updateContactAccountRelation mutation.

FieldTypeDescription
contactAccountRelationContactAccountRelationEntityThe updated record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).