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

GraphQLRepositoriesclientFavorite

entities.clientFavorite

Read client favorite records with the clientFavorite repository, and change them with the client favorite mutations. Same records as the REST ClientFavorites entity.

Queries

Fields of entities { clientFavorite { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ClientFavoriteEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ClientFavoriteEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ClientFavoriteFilterInput, orderBy: [ClientFavoriteOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ClientFavoriteEntity!]!
QUERYgetByCriteria(filter: ClientFavoriteFilterInput, orderBy: [ClientFavoriteOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ClientFavoriteEntityConnection
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!]!
QUERYisEntityFavorite(ownerId: UUID, accountId: UUID, activityId: UUID, contactId: UUID, leadOpptyId: UUID, profileId: UUID, reportId: UUID, quoteId: UUID)
Returns true when the record is marked as a favorite by the user. Exactly one record id must be given.
Boolean!

Mutations

KindMutationDoesReturns
MUTATIONcreateClientFavorite(input: CreateClientFavoriteInput!, validationLevel: [ValidationLevel!])Create one recordCreateClientFavoritePayload
MUTATIONupdateClientFavorite(input: UpdateClientFavoriteInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateClientFavoritePayload
MUTATIONbulkUpdateClientFavorite(input: [CreateOrUpdateClientFavoriteInput!]!, deleteInput: [DeleteClientFavoriteInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateClientFavoritePayload
MUTATIONdeleteClientFavorite(input: DeleteClientFavoriteInput!)Soft-deleteDeleteClientFavoritePayload

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.

ClientFavoriteEntity object 31 fields: isDeleteProtected, id, isDeleted, …

Record or screen profile that a user has marked as a favorite.

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 marked as favorite, when this favorite points to an account.
appointmentAppointmentEntityAppointment marked as favorite. Set when activityId resolves to an Appointment.
taskTaskEntityTask marked as favorite. Set when activityId resolves to a Task.
contactContactEntityContact marked as favorite, when this favorite points to a contact.
customEntityCustomEntityEntityCustom entity record marked as favorite, when this favorite points to a custom entity.
emailEmailEntityEmail marked as favorite, when this favorite points to an email.
leadLeadEntityLead marked as favorite. Set when leadOpptyId resolves to a Lead.
opptyOpportunityEntityOpportunity marked as favorite. Set when leadOpptyId resolves to an Opportunity.
ownerClientEntityUser who marked the record as favorite.
profileProfileEntityScreen profile marked as favorite, when this favorite points to a profile.
projectProjectEntityProject marked as favorite, when this favorite points to a project.
quoteQuoteEntityQuote marked as favorite, when this favorite points to a quote.
reportReportEntityReport marked as favorite, when this favorite points to a report.
accountIdIDId of the favorite account.
activityIdIDId of the favorite appointment or task, or empty when not pointing to an activity.
contactIdIDId of the favorite contact.
customEntityIdIDId of the favorite custom entity record.
emailIdIDId of the favorite email.
leadOpptyIdIDId of the favorite lead or opportunity, or empty when not pointing to one.
ownerIdID!Id of the owning user.
profileIdIDId of the favorite screen profile.
projectIdIDId of the favorite project.
quoteIdIDId of the favorite quote.
reportIdIDId of the favorite report.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
ClientFavoriteEntityConnection object pageInfo: PageInfo!, edges: [ClientFavoriteEntityEdge]!, totalCount: Int

Paginated list of ClientFavorite records.

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

A Relay edge containing a ClientFavoriteEntity and its cursor.

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

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

Input fieldTypeDescription
OR[ClientFavoriteFilterInput!]Matches records that meet at least one of the listed filters.
AND[ClientFavoriteFilterInput!]Matches records that meet all of the listed filters.
NOTClientFavoriteFilterInputMatches 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 favorite account.
activityIdEntityFilterStringFieldId of the favorite appointment or task, or empty when not pointing to an activity.
contactIdEntityFilterStringFieldId of the favorite contact.
customEntityIdEntityFilterStringFieldId of the favorite custom entity record.
emailIdEntityFilterStringFieldId of the favorite email.
leadOpptyIdEntityFilterStringFieldId of the favorite lead or opportunity, or empty when not pointing to one.
ownerIdEntityFilterStringFieldId of the owning user.
profileIdEntityFilterStringFieldId of the favorite screen profile.
projectIdEntityFilterStringFieldId of the favorite project.
quoteIdEntityFilterStringFieldId of the favorite quote.
reportIdEntityFilterStringFieldId of the favorite report.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
accountAccountFilterInputAccount marked as favorite, when this favorite points to an account. Matches records where a related record meets these conditions.
appointmentAppointmentFilterInputAppointment marked as favorite. Set when activityId resolves to an Appointment. Matches records where a related record meets these conditions.
taskTaskFilterInputTask marked as favorite. Set when activityId resolves to a Task. Matches records where a related record meets these conditions.
contactContactFilterInputContact marked as favorite, when this favorite points to a contact. Matches records where a related record meets these conditions.
customEntityCustomEntityFilterInputCustom entity record marked as favorite, when this favorite points to a custom entity. Matches records where a related record meets these conditions.
emailEmailFilterInputEmail marked as favorite, when this favorite points to an email. Matches records where a related record meets these conditions.
leadLeadFilterInputLead marked as favorite. Set when leadOpptyId resolves to a Lead. Matches records where a related record meets these conditions.
opptyOpportunityFilterInputOpportunity marked as favorite. Set when leadOpptyId resolves to an Opportunity. Matches records where a related record meets these conditions.
ownerClientFilterInputUser who marked the record as favorite. Matches records where a related record meets these conditions.
profileProfileFilterInputScreen profile marked as favorite, when this favorite points to a profile. Matches records where a related record meets these conditions.
projectProjectFilterInputProject marked as favorite, when this favorite points to a project. Matches records where a related record meets these conditions.
quoteQuoteFilterInputQuote marked as favorite, when this favorite points to a quote. Matches records where a related record meets these conditions.
reportReportFilterInputReport marked as favorite, when this favorite points to a report. Matches records where a related record meets these conditions.
ClientFavoriteOrderByInput input Asc or Desc per field

Sorting of ClientFavorite 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 marked as favorite, when this favorite points to an account. Sorts by fields of the related record, listed in order of priority.
appointment[AppointmentOrderByNestedInput!]Appointment marked as favorite. Set when activityId resolves to an Appointment. Sorts by fields of the related record, listed in order of priority.
task[TaskOrderByNestedInput!]Task marked as favorite. Set when activityId resolves to a Task. Sorts by fields of the related record, listed in order of priority.
contact[ContactOrderByNestedInput!]Contact marked as favorite, when this favorite points to a contact. Sorts by fields of the related record, listed in order of priority.
customEntity[CustomEntityOrderByNestedInput!]Custom entity record marked as favorite, when this favorite points to a custom entity. Sorts by fields of the related record, listed in order of priority.
email[EmailOrderByNestedInput!]Email marked as favorite, when this favorite points to an email. Sorts by fields of the related record, listed in order of priority.
lead[LeadOrderByNestedInput!]Lead marked as favorite. Set when leadOpptyId resolves to a Lead. Sorts by fields of the related record, listed in order of priority.
oppty[OpportunityOrderByNestedInput!]Opportunity marked as favorite. Set when leadOpptyId resolves to an Opportunity. Sorts by fields of the related record, listed in order of priority.
owner[ClientOrderByNestedInput!]User who marked the record as favorite. Sorts by fields of the related record, listed in order of priority.
profile[ProfileOrderByNestedInput!]Screen profile marked as favorite, when this favorite points to a profile. Sorts by fields of the related record, listed in order of priority.
project[ProjectOrderByNestedInput!]Project marked as favorite, when this favorite points to a project. Sorts by fields of the related record, listed in order of priority.
quote[QuoteOrderByNestedInput!]Quote marked as favorite, when this favorite points to a quote. Sorts by fields of the related record, listed in order of priority.
report[ReportOrderByNestedInput!]Report marked as favorite, when this favorite points to a report. Sorts by fields of the related record, listed in order of priority.
accountIdOrderByEnumId of the favorite account.
activityIdOrderByEnumId of the favorite appointment or task, or empty when not pointing to an activity.
contactIdOrderByEnumId of the favorite contact.
customEntityIdOrderByEnumId of the favorite custom entity record.
emailIdOrderByEnumId of the favorite email.
leadOpptyIdOrderByEnumId of the favorite lead or opportunity, or empty when not pointing to one.
ownerIdOrderByEnumId of the owning user.
profileIdOrderByEnumId of the favorite screen profile.
projectIdOrderByEnumId of the favorite project.
quoteIdOrderByEnumId of the favorite quote.
reportIdOrderByEnumId of the favorite report.
revisionOrderByEnumRevision when entity was lastly changed.
CreateClientFavoriteInput input 15 fields: clientMutationId, modified, created, …

Field values of a new ClientFavorite 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 favorite account.
activityIdIDId of the favorite appointment or task, or empty when not pointing to an activity.
contactIdIDId of the favorite contact.
customEntityIdIDId of the favorite custom entity record.
emailIdIDId of the favorite email.
leadOpptyIdIDId of the favorite lead or opportunity, or empty when not pointing to one.
ownerIdID!Id of the owning user.
profileIdIDId of the favorite screen profile.
projectIdIDId of the favorite project.
quoteIdIDId of the favorite quote.
reportIdIDId of the favorite report.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateClientFavoriteInput input 16 fields: clientMutationId, id, modified, …

Field values of a ClientFavorite 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 favorite account.
activityIdIDId of the favorite appointment or task, or empty when not pointing to an activity.
contactIdIDId of the favorite contact.
customEntityIdIDId of the favorite custom entity record.
emailIdIDId of the favorite email.
leadOpptyIdIDId of the favorite lead or opportunity, or empty when not pointing to one.
ownerIdIDId of the owning user.
profileIdIDId of the favorite screen profile.
projectIdIDId of the favorite project.
quoteIdIDId of the favorite quote.
reportIdIDId of the favorite report.
revisionIntRevision when entity was lastly changed.
DeleteClientFavoriteInput input clientMutationId: String, id: ID!, activityId: ID, leadOpptyId: ID

Id of the ClientFavorite 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.
activityIdIDId of the favorite appointment or task, or empty when not pointing to an activity.
leadOpptyIdIDId of the favorite lead or opportunity, or empty when not pointing to one.
UpdateClientFavoriteInput input 16 fields: clientMutationId, id, modified, …

Id of a ClientFavorite 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 favorite account.
activityIdIDId of the favorite appointment or task, or empty when not pointing to an activity.
contactIdIDId of the favorite contact.
customEntityIdIDId of the favorite custom entity record.
emailIdIDId of the favorite email.
leadOpptyIdIDId of the favorite lead or opportunity, or empty when not pointing to one.
ownerIdIDId of the owning user.
profileIdIDId of the favorite screen profile.
projectIdIDId of the favorite project.
quoteIdIDId of the favorite quote.
reportIdIDId of the favorite report.
revisionIntRevision when entity was lastly changed.
BulkUpdateClientFavoritePayload object result: BulkUpdateResults!

Result of the bulkUpdateClientFavorite mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateClientFavoritePayload object clientFavorite: ClientFavoriteEntity, clientMutationId: String

Result of the createClientFavorite mutation.

FieldTypeDescription
clientFavoriteClientFavoriteEntityThe 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).
DeleteClientFavoritePayload object clientFavorite: ClientFavoriteEntity, clientMutationId: String

Result of the deleteClientFavorite mutation.

FieldTypeDescription
clientFavoriteClientFavoriteEntityThe 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).
UpdateClientFavoritePayload object clientFavorite: ClientFavoriteEntity, clientMutationId: String

Result of the updateClientFavorite mutation.

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