Back to Aligni.com

Retrieve one particular contact by its id.

Examples

# request
curl -H 'Accept: application/xml' -H 'Content-Type: application/xml' \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/contact/4

# response
<?xml version="1.0" encoding="UTF-8"?>
<contact>
  <id>4</id>
  <first_name>Jim</first_name>
  <last_name>Milspec</last_name>
  <email>jim@milspec.notreal</email>
  <address1>1234 Machining Lane</address1>
  <address2/>
  <address3/>
  <city>Pleasantville</city>
  <state>New Jersey</state>
  <postcode>12345</postcode>
  <country>USA</country>
  <phone1>1-916-555-1212</phone1>
  <phone2></phone2>
  <phone3></phone3>
  <created_on>2006-01-13 20:00:14 -0800</created_on>
  <updated_on>2006-12-13 22:30:29 -0800</updated_on>
  <vendor_id>51</vendor_id>
</contact>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String
id
required

Value: Must be a number.