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

GraphQLRepositoriesonlineFormRelation

entities.onlineFormRelation

Read online form relation records with the onlineFormRelation repository, and change them with the online form relation mutations. Same records as the REST OnlineFormRelations entity.

Queries

Fields of entities { onlineFormRelation { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
OnlineFormRelationEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[OnlineFormRelationEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: OnlineFormRelationFilterInput, orderBy: [OnlineFormRelationOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[OnlineFormRelationEntity!]!
QUERYgetByCriteria(filter: OnlineFormRelationFilterInput, orderBy: [OnlineFormRelationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
OnlineFormRelationEntityConnection
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
MUTATIONcreateOnlineFormRelation(input: CreateOnlineFormRelationInput!, validationLevel: [ValidationLevel!])Create one recordCreateOnlineFormRelationPayload
MUTATIONupdateOnlineFormRelation(input: UpdateOnlineFormRelationInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateOnlineFormRelationPayload
MUTATIONbulkUpdateOnlineFormRelation(input: [CreateOrUpdateOnlineFormRelationInput!]!, deleteInput: [DeleteOnlineFormRelationInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateOnlineFormRelationPayload
MUTATIONdeleteOnlineFormRelation(input: DeleteOnlineFormRelationInput!)Soft-deleteDeleteOnlineFormRelationPayload

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.

OnlineFormRelationEntity object 23 fields: isDeleteProtected, id, isDeleted, …

Link between an online form submission and a record it created or updated.

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 submission is linked to, when applicable.
contactContactEntityContact the submission is linked to, when applicable.
customEntityCustomEntityEntityCustom entity record the submission is linked to, when applicable.
leadLeadEntityLead the submission is linked to. Set when leadOpptyId resolves to a Lead.
opptyOpportunityEntityOpportunity the submission is linked to. Set when leadOpptyId resolves to an Opportunity.
onlineFormOnlineFormEntityOnline form submission being linked.
projectProjectEntityProject the submission is linked to, when applicable.
quoteQuoteEntityQuote the submission is linked to, when applicable.
accountIdIDId of the linked account.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
isPrimaryBoolean!True for the row that points to the submission's primary record. There is at most one primary relation per submission and its entity must match the form's entityType.
leadOpptyIdIDId of the linked lead or opportunity, or empty when not linked.
onlineFormIdID!Id of the submission.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
OnlineFormRelationEntityConnection object pageInfo: PageInfo!, edges: [OnlineFormRelationEntityEdge]!, totalCount: Int

Paginated list of OnlineFormRelation records.

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

A Relay edge containing a OnlineFormRelationEntity and its cursor.

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

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

Input fieldTypeDescription
OR[OnlineFormRelationFilterInput!]Matches records that meet at least one of the listed filters.
AND[OnlineFormRelationFilterInput!]Matches records that meet all of the listed filters.
NOTOnlineFormRelationFilterInputMatches 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 linked account.
contactIdEntityFilterStringFieldId of the linked contact.
customEntityIdEntityFilterStringFieldId of the linked custom entity record.
isPrimaryBooleanTrue for the row that points to the submission's primary record. There is at most one primary relation per submission and its entity must match the form's entityType.
leadOpptyIdEntityFilterStringFieldId of the linked lead or opportunity, or empty when not linked.
onlineFormIdEntityFilterStringFieldId of the submission.
projectIdEntityFilterStringFieldId of the linked project.
quoteIdEntityFilterStringFieldId of the linked quote.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
accountAccountFilterInputAccount the submission is linked to, when applicable. Matches records where a related record meets these conditions.
contactContactFilterInputContact the submission is linked to, when applicable. Matches records where a related record meets these conditions.
customEntityCustomEntityFilterInputCustom entity record the submission is linked to, when applicable. Matches records where a related record meets these conditions.
leadLeadFilterInputLead the submission is linked to. Set when leadOpptyId resolves to a Lead. Matches records where a related record meets these conditions.
opptyOpportunityFilterInputOpportunity the submission is linked to. Set when leadOpptyId resolves to an Opportunity. Matches records where a related record meets these conditions.
onlineFormOnlineFormFilterInputOnline form submission being linked. Matches records where a related record meets these conditions.
projectProjectFilterInputProject the submission is linked to, when applicable. Matches records where a related record meets these conditions.
quoteQuoteFilterInputQuote the submission is linked to, when applicable. Matches records where a related record meets these conditions.
OnlineFormRelationOrderByInput input Asc or Desc per field

Sorting of OnlineFormRelation 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 submission is linked to, when applicable. Sorts by fields of the related record, listed in order of priority.
contact[ContactOrderByNestedInput!]Contact the submission is linked to, when applicable. Sorts by fields of the related record, listed in order of priority.
customEntity[CustomEntityOrderByNestedInput!]Custom entity record the submission is linked to, when applicable. Sorts by fields of the related record, listed in order of priority.
lead[LeadOrderByNestedInput!]Lead the submission is linked to. Set when leadOpptyId resolves to a Lead. Sorts by fields of the related record, listed in order of priority.
oppty[OpportunityOrderByNestedInput!]Opportunity the submission is linked to. Set when leadOpptyId resolves to an Opportunity. Sorts by fields of the related record, listed in order of priority.
onlineForm[OnlineFormOrderByNestedInput!]Online form submission being linked. Sorts by fields of the related record, listed in order of priority.
project[ProjectOrderByNestedInput!]Project the submission is linked to, when applicable. Sorts by fields of the related record, listed in order of priority.
quote[QuoteOrderByNestedInput!]Quote the submission is linked to, when applicable. Sorts by fields of the related record, listed in order of priority.
accountIdOrderByEnumId of the linked account.
contactIdOrderByEnumId of the linked contact.
customEntityIdOrderByEnumId of the linked custom entity record.
isPrimaryOrderByEnumTrue for the row that points to the submission's primary record. There is at most one primary relation per submission and its entity must match the form's entityType.
leadOpptyIdOrderByEnumId of the linked lead or opportunity, or empty when not linked.
onlineFormIdOrderByEnumId of the submission.
projectIdOrderByEnumId of the linked project.
quoteIdOrderByEnumId of the linked quote.
revisionOrderByEnumRevision when entity was lastly changed.
CreateOnlineFormRelationInput input 12 fields: clientMutationId, modified, created, …

Field values of a new OnlineFormRelation 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.
accountIdIDId of the linked account.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
isPrimaryBoolean!True for the row that points to the submission's primary record. There is at most one primary relation per submission and its entity must match the form's entityType.
leadOpptyIdIDId of the linked lead or opportunity, or empty when not linked.
onlineFormIdID!Id of the submission.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateOnlineFormRelationInput input 13 fields: clientMutationId, id, modified, …

Field values of an OnlineFormRelation 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 linked account.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
isPrimaryBooleanTrue for the row that points to the submission's primary record. There is at most one primary relation per submission and its entity must match the form's entityType.
leadOpptyIdIDId of the linked lead or opportunity, or empty when not linked.
onlineFormIdIDId of the submission.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
revisionIntRevision when entity was lastly changed.
DeleteOnlineFormRelationInput input clientMutationId: String, id: ID!, leadOpptyId: ID

Id of the OnlineFormRelation 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.
leadOpptyIdIDId of the linked lead or opportunity, or empty when not linked.
UpdateOnlineFormRelationInput input 13 fields: clientMutationId, id, modified, …

Id of an OnlineFormRelation 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 linked account.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
isPrimaryBooleanTrue for the row that points to the submission's primary record. There is at most one primary relation per submission and its entity must match the form's entityType.
leadOpptyIdIDId of the linked lead or opportunity, or empty when not linked.
onlineFormIdIDId of the submission.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
revisionIntRevision when entity was lastly changed.
BulkUpdateOnlineFormRelationPayload object result: BulkUpdateResults!

Result of the bulkUpdateOnlineFormRelation mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateOnlineFormRelationPayload object onlineFormRelation: OnlineFormRelationEntity, clientMutationId: String

Result of the createOnlineFormRelation mutation.

FieldTypeDescription
onlineFormRelationOnlineFormRelationEntityThe 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).
DeleteOnlineFormRelationPayload object onlineFormRelation: OnlineFormRelationEntity, clientMutationId: String

Result of the deleteOnlineFormRelation mutation.

FieldTypeDescription
onlineFormRelationOnlineFormRelationEntityThe 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).
UpdateOnlineFormRelationPayload object onlineFormRelation: OnlineFormRelationEntity, clientMutationId: String

Result of the updateOnlineFormRelation mutation.

FieldTypeDescription
onlineFormRelationOnlineFormRelationEntityThe 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).