/api/2.0/opportunities/
GET https://developer.salesfusion.com/api/2.0/opportunities/
Description:
Reads a paginated list of opportunities in batches of 100. Contains a limited number of columns with basic information.
Opportunities Level - Ordering:
The following fields on the Opportunities level are available for ordering via ascending or descending.
Name - Ascending/Descending
Stage - Ascending/Descending
Owner_Name - Ascending/Descending
Amount - Ascending/Descending
Closing_Date - Ascending/Descending
Probability - Ascending/Descending
Sample Response:
"count": 778,
"total_count": 778,
"page_size": 100,
"page_number": 1,
"next": "https://developer.salesfusion.com/api/2.0/opportunities/?page=2",
"previous": null,
"results": [
{
"opportunity_id": 762,
"opportunity": "https://developer.salesfusion.com/api/2.0/opportunities/762/",
"owner_id": 2,
"owner_name": "Michael North",
"owner": "https://developer.salesfusion.com/api/2.0/users/2/",
"account": "https://developer.salesfusion.com/api/2.0/accounts/119478/",
"updated_date": "2018-10-08T10:42:43.507000Z",
"updated_by_id": 2,
"updated_by": "https://developer.salesfusion.com/api/2.0/users/2/",
"created_date": "2018-10-08T10:42:43.507000Z",
"created_by_id": 2,
"created_by": "https://developer.salesfusion.com/api/2.0/users/2/",
"closing_date": "2018-10-08",
"contact": "https://developer.salesfusion.com/api/2.0/contacts/988589/",
"name": "st108O",
"stage": "",
"amount": "0.00",
"probability": "",
"won": false,
"custom_mapping": {
"stage": {
"field": "SF_StageName",
"value": null
},
"probability": {
"field": "SF_Probability",
"value": null
},
"created_date": {
"field": "CreatedDate",
"value": "2018-10-08T06:42:43.507Z"
},
"amount": {
"field": "SF_Amount",
"value": null
},
"closing_date": {
"field": "SF_ClosingDate",
"value": null
}
}
}