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

GraphQLRepositoriesopptyRecurrence

entities.opptyRecurrence

Read oppty recurrence records with the opptyRecurrence repository, and change them with the oppty recurrence mutations. Same records as the REST OpptyRecurrences entity.

Queries

Fields of entities { opptyRecurrence { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
OpptyRecurrenceEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[OpptyRecurrenceEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: OpptyRecurrenceFilterInput, orderBy: [OpptyRecurrenceOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[OpptyRecurrenceEntity!]!
QUERYgetByCriteria(filter: OpptyRecurrenceFilterInput, orderBy: [OpptyRecurrenceOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
OpptyRecurrenceEntityConnection
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
MUTATIONcreateOpptyRecurrence(input: CreateOpptyRecurrenceInput!, validationLevel: [ValidationLevel!])Create one recordCreateOpptyRecurrencePayload
MUTATIONupdateOpptyRecurrence(input: UpdateOpptyRecurrenceInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateOpptyRecurrencePayload
MUTATIONbulkUpdateOpptyRecurrence(input: [CreateOrUpdateOpptyRecurrenceInput!]!, deleteInput: [DeleteOpptyRecurrenceInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateOpptyRecurrencePayload
MUTATIONdeleteOpptyRecurrence(input: DeleteOpptyRecurrenceInput!)Soft-deleteDeleteOpptyRecurrencePayload

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.

OpptyRecurrenceEntity object 21 fields: isDeleteProtected, id, isDeleted, …

Recurrence rule that creates new copies of an opportunity on a schedule, e.g. for repeat deals once it is won or lost.

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.
opptyOpportunityEntityOpportunity this recurrence belongs to. Each recurrence is bound to exactly one opportunity.
stepStepEntityPipeline step that newly generated opportunities are placed in.
conditionIntBit Flag field, with limited combination of integer values.
dayDateDayEnumField whose values are strictly defined with an enumeration of values. The day of the month. This setting is applicable only for RecurrenceTypeEnum.MonthlyRelative and RecurrenceTypeEnum.YearlyRelative.
dayOfWeekIntBit Flag field, with limited combination of integer values.
endDateDateDate information. The last date when no more other items should be created.
monthDateMonthEnumField whose values are strictly defined with an enumeration of values. The number of month this setting is applicable only for RecurrenceTypeEnum.YearlyAbsolute and RecurrenceTypeEnum.YearlyRelative.
occurEveryIntThe number of units of a given recurrence type between occurrences according to RecurrenceTypeEnum.
occurrencesCountIntWhole natural number. The number of remaining occurrences. Each time a new one is created, it decreases. When item is set to 1, only last one can be created. If it is set to 0, recurrence is stopped. If -1, no limits are applied.
opptyIdID!Id of the parent opportunity.
startDateDate!Date information. The effective start date of recurrence, which means each next recurrence must be on or after this date.
stepIdID!Id of the pipeline step the opportunities created by the recurrence start in.
typeRecurrenceTypeEnumRecurrence cadence (e.g. Daily, Weekly, MonthlyAbsolute, MonthlyRelative, YearlyAbsolute, YearlyRelative).
weekDateWeekEnumField whose values are strictly defined with an enumeration of values. The week of month. This setting is applicable only for RecurrenceTypeEnum.MonthlyAbsolute and RecurrenceTypeEnum.YearlyAbsolute.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
OpptyRecurrenceEntityConnection object pageInfo: PageInfo!, edges: [OpptyRecurrenceEntityEdge]!, totalCount: Int

Paginated list of OpptyRecurrence records.

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

A Relay edge containing a OpptyRecurrenceEntity and its cursor.

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

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

Input fieldTypeDescription
OR[OpptyRecurrenceFilterInput!]Matches records that meet at least one of the listed filters.
AND[OpptyRecurrenceFilterInput!]Matches records that meet all of the listed filters.
NOTOpptyRecurrenceFilterInputMatches 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.
conditionRecurrenceConditionEnumFilterInputBit Flag field, with limited combination of integer values.
dayDateDayEnumFilterInputField whose values are strictly defined with an enumeration of values. The day of the month. This setting is applicable only for RecurrenceTypeEnum.MonthlyRelative and RecurrenceTypeEnum.YearlyRelative.
dayOfWeekDateDayOfWeekEnumFilterInputBit Flag field, with limited combination of integer values.
monthDateMonthEnumFilterInputField whose values are strictly defined with an enumeration of values. The number of month this setting is applicable only for RecurrenceTypeEnum.YearlyAbsolute and RecurrenceTypeEnum.YearlyRelative.
occurEveryEntityFilterNumberFieldThe number of units of a given recurrence type between occurrences according to RecurrenceTypeEnum.
occurrencesCountEntityFilterNumberFieldWhole natural number. The number of remaining occurrences. Each time a new one is created, it decreases. When item is set to 1, only last one can be created. If it is set to 0, recurrence is stopped. If -1, no limits are applied.
opptyIdEntityFilterStringFieldId of the parent opportunity.
stepIdEntityFilterStringFieldId of the pipeline step the opportunities created by the recurrence start in.
typeRecurrenceTypeEnumFilterInputRecurrence cadence (e.g. Daily, Weekly, MonthlyAbsolute, MonthlyRelative, YearlyAbsolute, YearlyRelative).
weekDateWeekEnumFilterInputField whose values are strictly defined with an enumeration of values. The week of month. This setting is applicable only for RecurrenceTypeEnum.MonthlyAbsolute and RecurrenceTypeEnum.YearlyAbsolute.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
opptyOpportunityFilterInputOpportunity this recurrence belongs to. Each recurrence is bound to exactly one opportunity. Matches records where a related record meets these conditions.
stepStepFilterInputPipeline step that newly generated opportunities are placed in. Matches records where a related record meets these conditions.
OpptyRecurrenceOrderByInput input Asc or Desc per field

Sorting of OpptyRecurrence 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.
oppty[OpportunityOrderByNestedInput!]Opportunity this recurrence belongs to. Each recurrence is bound to exactly one opportunity. Sorts by fields of the related record, listed in order of priority.
step[StepOrderByNestedInput!]Pipeline step that newly generated opportunities are placed in. Sorts by fields of the related record, listed in order of priority.
conditionOrderByEnumBit Flag field, with limited combination of integer values.
dayOrderByEnumField whose values are strictly defined with an enumeration of values. The day of the month. This setting is applicable only for RecurrenceTypeEnum.MonthlyRelative and RecurrenceTypeEnum.YearlyRelative.
dayOfWeekOrderByEnumBit Flag field, with limited combination of integer values.
endDateOrderByEnumDate information. The last date when no more other items should be created.
monthOrderByEnumField whose values are strictly defined with an enumeration of values. The number of month this setting is applicable only for RecurrenceTypeEnum.YearlyAbsolute and RecurrenceTypeEnum.YearlyRelative.
occurEveryOrderByEnumThe number of units of a given recurrence type between occurrences according to RecurrenceTypeEnum.
occurrencesCountOrderByEnumWhole natural number. The number of remaining occurrences. Each time a new one is created, it decreases. When item is set to 1, only last one can be created. If it is set to 0, recurrence is stopped. If -1, no limits are applied.
opptyIdOrderByEnumId of the parent opportunity.
startDateOrderByEnumDate information. The effective start date of recurrence, which means each next recurrence must be on or after this date.
stepIdOrderByEnumId of the pipeline step the opportunities created by the recurrence start in.
typeOrderByEnumRecurrence cadence (e.g. Daily, Weekly, MonthlyAbsolute, MonthlyRelative, YearlyAbsolute, YearlyRelative).
weekOrderByEnumField whose values are strictly defined with an enumeration of values. The week of month. This setting is applicable only for RecurrenceTypeEnum.MonthlyAbsolute and RecurrenceTypeEnum.YearlyAbsolute.
revisionOrderByEnumRevision when entity was lastly changed.
RecurrenceConditionEnumFilterInput input eq: [RecurrenceConditionEnum!], NOT: RecurrenceConditionEnumFilterInput

Conditions on an enumeration field. Several conditions given together must all match.

Input fieldTypeDescription
eq[RecurrenceConditionEnum!]Matches any of the listed values.
NOTRecurrenceConditionEnumFilterInputMatches values that do not meet this condition.
CreateOpptyRecurrenceInput input 17 fields: clientMutationId, applyRecurrence, modified, …

Field values of a new OpptyRecurrence 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).
applyRecurrenceBooleanDefault true. When set, then reccurence will apply when other conditions passed. With the value false (e.g. when skip button is used) then recurrence will not apply
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
conditionIntBit Flag field, with limited combination of integer values.
dayDateDayEnumField whose values are strictly defined with an enumeration of values. The day of the month. This setting is applicable only for RecurrenceTypeEnum.MonthlyRelative and RecurrenceTypeEnum.YearlyRelative.
dayOfWeekIntBit Flag field, with limited combination of integer values.
endDateDateDate information. The last date when no more other items should be created.
monthDateMonthEnumField whose values are strictly defined with an enumeration of values. The number of month this setting is applicable only for RecurrenceTypeEnum.YearlyAbsolute and RecurrenceTypeEnum.YearlyRelative.
occurEveryIntThe number of units of a given recurrence type between occurrences according to RecurrenceTypeEnum.
occurrencesCountIntWhole natural number. The number of remaining occurrences. Each time a new one is created, it decreases. When item is set to 1, only last one can be created. If it is set to 0, recurrence is stopped. If -1, no limits are applied.
opptyIdID!Id of the parent opportunity.
startDateDate!Date information. The effective start date of recurrence, which means each next recurrence must be on or after this date.
stepIdID!Id of the pipeline step the opportunities created by the recurrence start in.
typeRecurrenceTypeEnumRecurrence cadence (e.g. Daily, Weekly, MonthlyAbsolute, MonthlyRelative, YearlyAbsolute, YearlyRelative).
weekDateWeekEnumField whose values are strictly defined with an enumeration of values. The week of month. This setting is applicable only for RecurrenceTypeEnum.MonthlyAbsolute and RecurrenceTypeEnum.YearlyAbsolute.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateOpptyRecurrenceInput input 18 fields: clientMutationId, applyRecurrence, id, …

Field values of an OpptyRecurrence 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).
applyRecurrenceBooleanDefault true. When set, then reccurence will apply when other conditions passed. With the value false (e.g. when skip button is used) then recurrence will not apply
idIDUnique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
conditionIntBit Flag field, with limited combination of integer values.
dayDateDayEnumField whose values are strictly defined with an enumeration of values. The day of the month. This setting is applicable only for RecurrenceTypeEnum.MonthlyRelative and RecurrenceTypeEnum.YearlyRelative.
dayOfWeekIntBit Flag field, with limited combination of integer values.
endDateDateDate information. The last date when no more other items should be created.
monthDateMonthEnumField whose values are strictly defined with an enumeration of values. The number of month this setting is applicable only for RecurrenceTypeEnum.YearlyAbsolute and RecurrenceTypeEnum.YearlyRelative.
occurEveryIntThe number of units of a given recurrence type between occurrences according to RecurrenceTypeEnum.
occurrencesCountIntWhole natural number. The number of remaining occurrences. Each time a new one is created, it decreases. When item is set to 1, only last one can be created. If it is set to 0, recurrence is stopped. If -1, no limits are applied.
opptyIdIDId of the parent opportunity.
startDateDateDate information. The effective start date of recurrence, which means each next recurrence must be on or after this date.
stepIdIDId of the pipeline step the opportunities created by the recurrence start in.
typeRecurrenceTypeEnumRecurrence cadence (e.g. Daily, Weekly, MonthlyAbsolute, MonthlyRelative, YearlyAbsolute, YearlyRelative).
weekDateWeekEnumField whose values are strictly defined with an enumeration of values. The week of month. This setting is applicable only for RecurrenceTypeEnum.MonthlyAbsolute and RecurrenceTypeEnum.YearlyAbsolute.
revisionIntRevision when entity was lastly changed.
DeleteOpptyRecurrenceInput input clientMutationId: String, id: ID!

Id of the OpptyRecurrence 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.
UpdateOpptyRecurrenceInput input 18 fields: clientMutationId, applyRecurrence, id, …

Id of an OpptyRecurrence 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).
applyRecurrenceBooleanDefault true. When set, then reccurence will apply when other conditions passed. With the value false (e.g. when skip button is used) then recurrence will not apply
idID!Unique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
conditionIntBit Flag field, with limited combination of integer values.
dayDateDayEnumField whose values are strictly defined with an enumeration of values. The day of the month. This setting is applicable only for RecurrenceTypeEnum.MonthlyRelative and RecurrenceTypeEnum.YearlyRelative.
dayOfWeekIntBit Flag field, with limited combination of integer values.
endDateDateDate information. The last date when no more other items should be created.
monthDateMonthEnumField whose values are strictly defined with an enumeration of values. The number of month this setting is applicable only for RecurrenceTypeEnum.YearlyAbsolute and RecurrenceTypeEnum.YearlyRelative.
occurEveryIntThe number of units of a given recurrence type between occurrences according to RecurrenceTypeEnum.
occurrencesCountIntWhole natural number. The number of remaining occurrences. Each time a new one is created, it decreases. When item is set to 1, only last one can be created. If it is set to 0, recurrence is stopped. If -1, no limits are applied.
opptyIdIDId of the parent opportunity.
startDateDateDate information. The effective start date of recurrence, which means each next recurrence must be on or after this date.
stepIdIDId of the pipeline step the opportunities created by the recurrence start in.
typeRecurrenceTypeEnumRecurrence cadence (e.g. Daily, Weekly, MonthlyAbsolute, MonthlyRelative, YearlyAbsolute, YearlyRelative).
weekDateWeekEnumField whose values are strictly defined with an enumeration of values. The week of month. This setting is applicable only for RecurrenceTypeEnum.MonthlyAbsolute and RecurrenceTypeEnum.YearlyAbsolute.
revisionIntRevision when entity was lastly changed.
BulkUpdateOpptyRecurrencePayload object result: BulkUpdateResults!

Result of the bulkUpdateOpptyRecurrence mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateOpptyRecurrencePayload object opptyRecurrence: OpptyRecurrenceEntity, clientMutationId: String

Result of the createOpptyRecurrence mutation.

FieldTypeDescription
opptyRecurrenceOpptyRecurrenceEntityThe 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).
DeleteOpptyRecurrencePayload object opptyRecurrence: OpptyRecurrenceEntity, clientMutationId: String

Result of the deleteOpptyRecurrence mutation.

FieldTypeDescription
opptyRecurrenceOpptyRecurrenceEntityThe 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).
UpdateOpptyRecurrencePayload object opptyRecurrence: OpptyRecurrenceEntity, clientMutationId: String

Result of the updateOpptyRecurrence mutation.

FieldTypeDescription
opptyRecurrenceOpptyRecurrenceEntityThe 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).
RecurrenceConditionEnum enum Won, Lost

Opportunity outcomes that trigger creation of the next opportunity in a recurring series; values can be combined.

ValueDescription
WonThe next opportunity is created when the current one is won.
LostThe next opportunity is created when the current one is lost.