Table of Contents

API - XML Template

This API method returns the structure (in XML format) of the Contact table from the specified Account's database. This includes the default system fields (such as EmailAddress) and any custom fields that may have been created.

Other Sentori API methods

Request

GEThttps://api.sentoriapp.com/v1/contacts.asmx/XmlTemplate
Required HeadersApiKey: <Guid>
Optional HeadersAccept-Encoding: Gzip (indicates to the API that it can compress the Response)

Response

Body
<Contacts> 
  <Contact> 
  <IsBadEmailAddress>True/False</IsBadEmailAddress> 
  <CRMID>Small Text</CRMID> 
  <Title>Small Text</Title> 
  <FirstName>Small Text</FirstName> 
  <LastName>Small Text</LastName> 
  <KnownAs>Small Text</KnownAs> 
  <EmailAddress>Email Address</EmailAddress> 
  <MobilePhoneNumber>Small Text</MobilePhoneNumber> 
  </Contact> 
</Contacts>
Headers200 OK
Errors403 Invalid API Key

Example HTTP Transaction

GET https://api.sentoriapp.com/v1/contacts.asmx/XmlTemplate HTTP/1.1
apikey: e9614e92-1999-441a-89b7-707b1542c642
Host: api.sentoriapp.com
HTTP/1.1 200 OK
Content-Length: 386
Content-Type: application/xml; charset=utf-8

<Contacts>
  <Contact>
  <IsBadEmailAddress>True/False</IsBadEmailAddress>
  <CRMID>Small Text</CRMID>
  <Title>Small Text</Title>
  <FirstName>Small Text</FirstName>
  <LastName>Small Text</LastName>
  <KnownAs>Small Text</KnownAs>
  <EmailAddress>Email Address</EmailAddress>
  <MobilePhoneNumber>Small Text</MobilePhoneNumber>
  </Contact>
</Contacts>