Skip to main content

Get a List of Sales Opportunities

This web service will return a full list of all sales opportunities if none of the below filters are passed.

Query String Parameters

NameTypeDescriptionRequired
ActionStringSalesOpportunityListRequired
ReferenceStringThe sales opportunity reference.Optional
CreatedFromDateTimeThe date the sales opportunity was created. If specifying CreatedFrom, you must also include CreatedTo.Optional
CreatedToDateTimeThe date the sales opportunity was created. If specifying CreatedTo, you must also include CreatedFrom.Optional
ClosedFromDateTimeThe date the sales opportunity was closed.Optional
ClosedToDateTimeThe date the sales opportunity was closed.Optional
SalesStatusStringThe sales status. See Notes.Optional
SalesStageStringThe sales stages that have been defined in BigChange. This is a the name of the sales stage that you have setup in BigChangeOptional
SalesProbabilityStringThe sales probability that have been defined in BigChange.Optional
ContactGroupIdIntThe contact group Id.Optional
ContactIdIntThe contact Id.Optional
OwnerIdIntThe owner Id used to create the sales opportunity.Optional
StartRowIntThe page start.Optional
RowCountIntThe number of sales opportunities.Optional
SortColStringThe sorting column. Defaults to the salesOpportunityIdOptional
SortDirStringThe sorting direction. Defaults to ASC.Optional
ResultCountIntThe total number of rows.Optional
IncludeCustomFieldsBoolIf set to true, the sales opportunities will include all custom fields. Defaults to falseOptional

Notes

SalesStatus

  • New
  • OnHold
  • CompletedWon
  • CompletedLost

Response Codes

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=SalesOpportunityList&Reference=SO/2579