List opportunities
Returns a paginated collection of opportunities.
Arguments
archived
The archived state of the records to return. The default is EXCLUDE.
Allowed values:
contactIds
The IDs of the contacts linked to the records to return.
createdByUserIds
The IDs of the users who created the records to return.
createdOnMax
The latest creation date to return.
createdOnMin
The earliest creation date to return.
disclosureIds
The IDs of the disclosures linked to the records to return.
displayEnums
The display settings of the opportunities to return.
Allowed values:
limit
The number of records returned. The default is 20, and the maximum is 500.
opportunityNumber
The opportunity number to return. Matching is case-insensitive.
organizationIds
The IDs of the organizations linked to the records to return.
page
The page number to return. Starts at 1.
q
The text to search for. Matches opportunity number, title, and page title.
sortDirection
The sort direction. The default is DESC.
Allowed values:
sortField
The field to sort by. One of archived_at, created_at,
disclosures_count, display_enum, expires_on, opportunity_number,
page_title, share_enum, state_enum, title, trl_enum, and
updated_at. The default is created_at.
stateEnums
The states of the records to return.
Allowed values:
trlEnums
The technology readiness levels of the records to return.
updatedByUserIds
The IDs of the users who last updated the records to return.
updatedOnMax
The latest last-updated date to return.
updatedOnMin
The earliest last-updated date to return.
Returns
collection
A collection of paginated OpportunityCollection
metadata
Pagination Metadata for navigating the Pagination