Fetches a list of opportunities with filtering, sorting, and pagination options.
Each item is a set of column/value pairs. Deleted opportunities are not included.
/api/v2/opportunities/listAuthentication
Choose one supported method for this request.
Parameters
pageNumberqueryinteger · int32Page number, starting at 1. Defaults to 1.
pageSizequeryinteger · int32Number of items per page, up to 200. Missing, zero or values over 200 use 100.
orderByquerystringThe field and direction to order by, for example `OpenDate DESC`. Currently has no effect; use `sortOrders`.
searchTermquerystringOptional partial match on opportunity name, company name, rep or reference number. Characters other than letters and digits (including spaces) are removed before matching.
dateFieldquerystringDate field the date range applies to (for example `OpenDate`, `DeliveryDate`, `DecisionDate`). Defaults to `OpenDate`.
startDatequerystringStart of the date range (for example `2025-01-31`). Defaults to three months ago. A value that is not a valid date is ignored.
endDatequerystringEnd of the date range (for example `2025-12-31`). Defaults to three months from today. A value that is not a valid date is ignored.
filterquerystringWhich opportunities to return, for example `MyOpen`, `MyWon`, `AllOpen` or `AllWon`. Defaults to `AllOpen`.
sortOrdersquerystringSort expression such as `OpenDate DESC`; `Ascending`/`Descending` are accepted in place of `ASC`/`DESC`.
Responses
Request successful with opportunity data.
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
totalCountinteger · int32dataobject[]nullablepageCountinteger · int32currentPageCountinteger · int32nextPageNumberinteger · int32nullablehasNextPageboolean