/api/2.0/contacts/
GET https://developer.salesfusion.com/api/2.0/contacts/
DEscription:
Creates a new contact/lead in salesfusion. To distinguish which gets created populate the crm_type
column with the appropriate value.
Contact Level - Ordering
The following fields on the contacts level are available for ordering via ascending or descending.
Account_Name - Ascending/Descending
Contact_ID - Ascending/Descending
Created_Date - Ascending/Descending
Custom_Score_Field - Ascending/Descending
Email - Ascending/Descending
First_Name - Ascending/Descending
Last_Name - Ascending/Descending
Owner_Name - Ascending/Descending
Phone - Ascending/Descending
Updated_Date - Ascending/Descending
URL - Ascending/Descending
Salesfusion_Last_Activity - Ascending/Descending
Sample Response:
{
"contact_id": 1001764,
"contact": "https://developer.salesfusion.com/api/2.0/contacts/1001764/",
"first_name": null,
"last_name": null,
"phone": null,
"email": "tj.southern@salesfusion.com",
"account_id": null,
"account_name": null,
"account": null,
"owner_name": "Michael North",
"owner": "https://developer.salesfusion.com/api/2.0/users/2/",
"created_date": "2018-12-19T14:23:10.525303",
"created_by": "https://developer.salesfusion.com/api/2.0/users/2/",
"updated_date": "2018-12-19T14:23:10.525314",
"updated_by": "https://developer.salesfusion.com/api/2.0/users/2/",
"created_by_id": 2,
"updated_by_id": 2,
"crm_id": null,
"opt_out": "N",
"opt_out_date": null,
"crm_type": "Lead",
"status": null,
"title": null,
"deliverability_status": 0,
"deliverability_message": null,
"delivered_date": null
}
Request Body
{"no_unsub"=>"True"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |