Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

MethodResult
URIhttps://[CompanyID].crittah.com/ws/apiv2/[json or xml]/contacts/[contactId]
DELETEDeletes one contact
GETReturns data for one contact
POSTCreate or modify only the supplied data for one contact; returns contact data after request
PUTNot supported

...