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

GraphQLRepositoriesformView

entities.formView

Read form view records with the formView repository, and change them with the form view mutations. Same records as the REST FormViews entity.

Queries

Fields of entities { formView { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
FormViewEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[FormViewEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: FormViewFilterInput, orderBy: [FormViewOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[FormViewEntity!]!
QUERYgetByCriteria(filter: FormViewFilterInput, orderBy: [FormViewOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
FormViewEntityConnection
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
MUTATIONcreateFormView(input: CreateFormViewInput!, validationLevel: [ValidationLevel!])Create one recordCreateFormViewPayload
MUTATIONupdateFormView(input: UpdateFormViewInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateFormViewPayload
MUTATIONbulkUpdateFormView(input: [CreateOrUpdateFormViewInput!]!, deleteInput: [DeleteFormViewInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateFormViewPayload
MUTATIONdeleteFormView(input: DeleteFormViewInput!)Soft-deleteDeleteFormViewPayload

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.

FormViewEntity object 25 fields: isDeleteProtected, id, isDeleted, …

Variant of the form of an account, contact, lead or opportunity type that hides or colors selected fields; owned by a user and can be shared.

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.
accountTypeAccountTypeEntityAccount type the form view applies to. Set when the form view targets accounts.
contactTypeContactTypeEntityContact type the form view applies to. Set when the form view targets contacts.
leadTypeLeadTypeEntityLead type the form view applies to. Set when the form view targets leads.
opptyTypeOpportunityTypeEntityOpportunity type the form view applies to. Set when the form view targets opportunities.
ownerClientEntityUser who owns the form view.
accountTypeIdIDId of the account type the form view applies to. Set when the form view targets accounts.
contactTypeIdIDId of the contact type the form view applies to. Set when the form view targets contacts.
hiddenItemIds[UUID!]!Ids of fields and webresources hidden from the form for this view.
itemColors[FormViewItemColor!]!Per-item color overrides for fields and webresources in the form, keyed by item id.
leadTypeIdIDId of the lead type the form view applies to. Set when the form view targets leads.
nameString!Name of the entity and its default text representation.
opptyTypeIdIDId of the opportunity type.
ownerIdID!Id of the owning user.
shareModeShareModeEnumWho besides the owner can use the form view: nobody (Private, the default), the users and sales units in sharingClients and sharingUnits (Standard), or all users (AllView to view, AllEdit to also edit).
useLangBooleanWhen true, the form view name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
entityTypeIdUUID!Id of the type the form view is configured for, derived from whichever of the per-entity-type relations is set.
sharingUnitsFormViewSharingSalesUnitRelationEntityConnection (8 args)Sales units that have been granted shared access to this form view (custom share mode).
sharingClientsFormViewSharingClientRelationEntityConnection (8 args)Users that have been granted shared access to this form view (custom share mode).
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
FormViewEntityConnection object pageInfo: PageInfo!, edges: [FormViewEntityEdge]!, totalCount: Int

Paginated list of FormView records.

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

A Relay edge containing a FormViewEntity and its cursor.

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

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

Input fieldTypeDescription
OR[FormViewFilterInput!]Matches records that meet at least one of the listed filters.
AND[FormViewFilterInput!]Matches records that meet all of the listed filters.
NOTFormViewFilterInputMatches 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.
accountTypeIdEntityFilterStringFieldId of the account type the form view applies to. Set when the form view targets accounts.
contactTypeIdEntityFilterStringFieldId of the contact type the form view applies to. Set when the form view targets contacts.
leadTypeIdEntityFilterStringFieldId of the lead type the form view applies to. Set when the form view targets leads.
nameEntityFilterStringFieldName of the entity and its default text representation.
opptyTypeIdEntityFilterStringFieldId of the opportunity type.
ownerIdEntityFilterStringFieldId of the owning user.
shareModeShareModeEnumFilterInputWho besides the owner can use the form view: nobody (Private, the default), the users and sales units in sharingClients and sharingUnits (Standard), or all users (AllView to view, AllEdit to also edit).
useLangBooleanWhen true, the form view name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
accountTypeAccountTypeFilterInputAccount type the form view applies to. Set when the form view targets accounts. Matches records where a related record meets these conditions.
contactTypeContactTypeFilterInputContact type the form view applies to. Set when the form view targets contacts. Matches records where a related record meets these conditions.
leadTypeLeadTypeFilterInputLead type the form view applies to. Set when the form view targets leads. Matches records where a related record meets these conditions.
opptyTypeOpportunityTypeFilterInputOpportunity type the form view applies to. Set when the form view targets opportunities. Matches records where a related record meets these conditions.
ownerClientFilterInputUser who owns the form view. Matches records where a related record meets these conditions.
sharingUnitsFormViewSharingSalesUnitRelationFilterInputSales units that have been granted shared access to this form view (custom share mode). Matches records where a related record meets these conditions.
sharingClientsFormViewSharingClientRelationFilterInputUsers that have been granted shared access to this form view (custom share mode). Matches records where a related record meets these conditions.
FormViewOrderByInput input Asc or Desc per field

Sorting of FormView 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.
accountType[AccountTypeOrderByNestedInput!]Account type the form view applies to. Set when the form view targets accounts. Sorts by fields of the related record, listed in order of priority.
contactType[ContactTypeOrderByNestedInput!]Contact type the form view applies to. Set when the form view targets contacts. Sorts by fields of the related record, listed in order of priority.
leadType[LeadTypeOrderByNestedInput!]Lead type the form view applies to. Set when the form view targets leads. Sorts by fields of the related record, listed in order of priority.
opptyType[OpportunityTypeOrderByNestedInput!]Opportunity type the form view applies to. Set when the form view targets opportunities. Sorts by fields of the related record, listed in order of priority.
owner[ClientOrderByNestedInput!]User who owns the form view. Sorts by fields of the related record, listed in order of priority.
accountTypeIdOrderByEnumId of the account type the form view applies to. Set when the form view targets accounts.
contactTypeIdOrderByEnumId of the contact type the form view applies to. Set when the form view targets contacts.
leadTypeIdOrderByEnumId of the lead type the form view applies to. Set when the form view targets leads.
nameOrderByEnumName of the entity and its default text representation.
opptyTypeIdOrderByEnumId of the opportunity type.
ownerIdOrderByEnumId of the owning user.
shareModeOrderByEnumWho besides the owner can use the form view: nobody (Private, the default), the users and sales units in sharingClients and sharingUnits (Standard), or all users (AllView to view, AllEdit to also edit).
useLangOrderByEnumWhen true, the form view name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionOrderByEnumRevision when entity was lastly changed.
CreateFormViewInput input 16 fields: clientMutationId, modified, created, …

Field values of a new FormView 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.
accountTypeIdIDId of the account type the form view applies to. Set when the form view targets accounts.
contactTypeIdIDId of the contact type the form view applies to. Set when the form view targets contacts.
hiddenItemIds[UUID!]!Ids of fields and webresources hidden from the form for this view.
itemColors[FormViewItemColorInput!]!Per-item color overrides for fields and webresources in the form, keyed by item id.
leadTypeIdIDId of the lead type the form view applies to. Set when the form view targets leads.
nameString!Name of the entity and its default text representation.
opptyTypeIdIDId of the opportunity type.
ownerIdID!Id of the owning user.
shareModeShareModeEnumWho besides the owner can use the form view: nobody (Private, the default), the users and sales units in sharingClients and sharingUnits (Standard), or all users (AllView to view, AllEdit to also edit).
useLangBooleanWhen true, the form view name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
sharingUnits[CreateFormViewSharingSalesUnitRelationNoFormViewBackrefInput!]Sales units that have been granted shared access to this form view (custom share mode).
sharingClients[CreateFormViewSharingClientRelationNoFormViewBackrefInput!]Users that have been granted shared access to this form view (custom share mode).
CreateFormViewSharingClientRelationNoFormViewBackrefInput input 5 fields: modified, created, clientId, …

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

Input fieldTypeDescription
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
clientIdID!Id of the user.
roleSharingRoleEnumAccess the sharing gives the user on the form view: Watcher can view it, Editor can also edit it.
revisionIntRevision when entity was lastly changed.
CreateFormViewSharingSalesUnitRelationNoFormViewBackrefInput input 5 fields: modified, created, role, …

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

Input fieldTypeDescription
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
roleSharingRoleEnumAccess the sharing gives members and managers of the sales unit on the form view: Watcher can view it, Editor can also edit it.
unitIdID!Id of the sales unit.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateFormViewInput input 17 fields: clientMutationId, id, modified, …

Field values of a FormView 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.
accountTypeIdIDId of the account type the form view applies to. Set when the form view targets accounts.
contactTypeIdIDId of the contact type the form view applies to. Set when the form view targets contacts.
hiddenItemIds[UUID!]Ids of fields and webresources hidden from the form for this view.
itemColors[FormViewItemColorInput!]Per-item color overrides for fields and webresources in the form, keyed by item id.
leadTypeIdIDId of the lead type the form view applies to. Set when the form view targets leads.
nameStringName of the entity and its default text representation.
opptyTypeIdIDId of the opportunity type.
ownerIdIDId of the owning user.
shareModeShareModeEnumWho besides the owner can use the form view: nobody (Private, the default), the users and sales units in sharingClients and sharingUnits (Standard), or all users (AllView to view, AllEdit to also edit).
useLangBooleanWhen true, the form view name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
sharingUnits[CreateFormViewSharingSalesUnitRelationNoFormViewBackrefInput!]Sales units that have been granted shared access to this form view (custom share mode).
sharingClients[CreateFormViewSharingClientRelationNoFormViewBackrefInput!]Users that have been granted shared access to this form view (custom share mode).
DeleteFormViewInput input clientMutationId: String, id: ID!

Id of the FormView 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.
FormViewItemColorInput input id: UUID!, color: Int!

Color of one field or web resource on a form view.

Input fieldTypeDescription
idUUID!Id of the form item (field or web resource) the color applies to.
colorInt!Color of the item, as a packed RGB integer.
UpdateFormViewInput input 17 fields: clientMutationId, id, modified, …

Id of a FormView 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.
accountTypeIdIDId of the account type the form view applies to. Set when the form view targets accounts.
contactTypeIdIDId of the contact type the form view applies to. Set when the form view targets contacts.
hiddenItemIds[UUID!]Ids of fields and webresources hidden from the form for this view.
itemColors[FormViewItemColorInput!]Per-item color overrides for fields and webresources in the form, keyed by item id.
leadTypeIdIDId of the lead type the form view applies to. Set when the form view targets leads.
nameStringName of the entity and its default text representation.
opptyTypeIdIDId of the opportunity type.
ownerIdIDId of the owning user.
shareModeShareModeEnumWho besides the owner can use the form view: nobody (Private, the default), the users and sales units in sharingClients and sharingUnits (Standard), or all users (AllView to view, AllEdit to also edit).
useLangBooleanWhen true, the form view name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
sharingUnits[CreateFormViewSharingSalesUnitRelationNoFormViewBackrefInput!]Sales units that have been granted shared access to this form view (custom share mode).
sharingClients[CreateFormViewSharingClientRelationNoFormViewBackrefInput!]Users that have been granted shared access to this form view (custom share mode).
BulkUpdateFormViewPayload object result: BulkUpdateResults!

Result of the bulkUpdateFormView mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateFormViewPayload object formView: FormViewEntity, clientMutationId: String

Result of the createFormView mutation.

FieldTypeDescription
formViewFormViewEntityThe 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).
DeleteFormViewPayload object formView: FormViewEntity, clientMutationId: String

Result of the deleteFormView mutation.

FieldTypeDescription
formViewFormViewEntityThe 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).
UpdateFormViewPayload object formView: FormViewEntity, clientMutationId: String

Result of the updateFormView mutation.

FieldTypeDescription
formViewFormViewEntityThe 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).
FormViewItemColor object id: ID!, color: Int!

Color of one field or web resource on a form view.

FieldTypeDescription
idID!Id of the form item (field or web resource) the color applies to.
colorInt!Color of the item, as a packed RGB integer.