/api/2.0/accounts/
GET https://developer.salesfusion.com/api/2.0/accounts/
Description:
Get accounts in a paginated list of 100 with limited columns.
Account Level - Ordering
The following fields on the Accounts level are available for ordering via ascending or descending.
Account_ID - Ascending/Descending
ACcount_Name - Ascending/Descending
Billing_City - Ascending/Descending
Created_Date - Ascending/Descending
Updated_Date - Ascending/Descending
Phone - Ascending/Descending
Custom_Score_Field - Ascending/Descending
Score - Ascending/Descending
Account_Score - Ascending/Descending
Key_Account - Ascending/Descending
Salesfusion_Last_Activity - Ascending/Descending
Sample Response:
{
"count": 1,
"total_count": 1,
"page_size": 100,
"page_number": 1,
"next": "https://developer.salesfusion.com/api/2.0/accounts/?page=2",
"previous": null,
"results": [
{
"account_id": 1,
"account": "https://developer.salesfusion.com/api/2.0/accounts/1/",
"account_name": "No Company",
"owner_id": 3,
"owner": "https://developer.salesfusion.com/api/2.0/users/3/",
"phone": "",
"created_date": "2018-05-16T07:31:00Z",
"created_by": "https://developer.salesfusion.com/api/2.0/users/1/",
"updated_date": "2018-05-18T15:27:00Z",
"updated_by": "https://developer.salesfusion.com/api/2.0/users/2/",
"billing_city": "",
"contacts": "https://developer.salesfusion.com/api/2.0/accounts/1/contacts/",
"created_by_id": 1,
"updated_by_id": 2,
"custom_score_field": "0",
"key_account": false,
"account_score": 0
}
}
`