Contacts Methods
Updated: Nov 25th, 2013 | | Categories: General
Contacts List (GET) – /contacts.[format] (page)
The Contacts list is paginated. You can pass the “page” query string parameter followed by a number to access the other pages. The pagination limit is set to 16 per page.
Syntax:
http://[subdomain].salesbinder.com/api/contacts.[format]
Example:
http://demo.salesbinder.com/api/contacts.json?page=2&categoryId=979db3a8-f7fc-4b73-ba05-b87abfbf6e5e
HTTP Request Type: GET
Contact Details (GET) – /contacts/[id].[format]
To get the details of a specific Contact, you simply need to pass the item “id”.
Syntax:
http://[subdomain].salesbinder.com/api/contacts/[id].json
Example:
http://demo.salesbinder.com/api/contacts/5487185e-b83f-46c2-bb91-2416ae304d03.json
HTTP Request Type: GET
Create New Contact (POST) – /contacts.[format]
Syntax
http://[subdomain].salesbinder.com/api/contacts.json
HTTP Request Type: POST
Edit Contact (PUT) – /contacts/[id].[format]
Syntax
http://[subdomain].salesbinder.com/api/contacts/[id].json
HTTP Request Type: PUT
Delete Contact (DELETE) – /contacts/[id].[format]
To delete a specific Contact, you simply need to pass the Contact “id”.
Syntax:
http://[subdomain].salesbinder.com/api/contacts/[id].json
Example:
http://demo.salesbinder.com/api/contacts/5487185e-b83f-46c2-bb91-2416ae304d03.json
HTTP Request Type: DELETE
