...
Perform a POST to the following URLÂ https://[companyID].crittah.com/ws/apiv2/json/contacts/search
JSON
Code Block |
---|
{ "FirstName": "James", "Mobile": "0438770502", "Email": "james@skurray.com" } |
XML
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<ContactSearchParamsComplex xmlns="http://schemas.datacontract.org/2004/07/Spinifex.lib.objects" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<FirstName>James</FirstName>
</ContactSearchParamsComplex> |
Working with a single contact
The following table provides the URI and methods that can be used to add, updated, delete and get a contact in Crittah
Method | Result |
---|---|
URI | https://[CompanyID].crittah.com/ws/apiv2/[json or xml]/contacts/[contactId] |
DELETE | Deletes one contact |
GET | Returns data for one contact |
POST | Create or modify only the supplied data for one contact; returns contact data after request |
PUT | Not supported |
...