contact:get

Get a contact from the system.

Parameters

contact_id : Brightpearl contact ID (numeric)

Request

<?xml version="1.0" encoding="utf-8"?> 
<request method="contact.get">
  <auth token="xxxxxxxx" user="user@test.com" pass="xxxxxxxx" />
<contact_id>1</contact_id>
</request>

Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
<requestId>test</requestId>
<status>OK</status>
<message></message>
<dateTimeUTC>2009-12-23T17:27:40Z</dateTimeUTC>
<requestTime>0.01331</requestTime>
<contacts>
<contact>
<contact_id>1</contact_id>
<code>CODEA</code>
<salutation>Dr.</salutation>
<firstname>Hannibal</firstname>
<lastname>Thundertop</lastname>
<company_name>Omega3 Supplementaries</lastname>
<email_address>blog@pearlsoftware.co.uk</email_address>
<email_address_2></email_address_2>
<email_address_3></email_address_3>
<updated>0000-00-00 00:00:00</updated>
<telephone>0845 003 8935</telephone>
<telephone_2></telephone_2>
<fax>0845 003 8935</fax>
<msn></msn>
<skype></skype>
<yahoo></yahoo>
<status_id>4</status_id>
<owner_id>39816</owner_id>
<job_title></job_title>
<addresses>
<address>
<address_line_1>First Floor, North Building</address_line_1>
<address_line_2>11-13 Vino Av.</address_line_2>
<postcode>BS1 2PW</postcode>
<city>Bristol</city>
<state_text>Bristol</state_text>
<country_iso>GB</country_iso>
<is_delivery>1</is_delivery> to be removed
<is_billing>0</is_billing>
</address>
</addresses>
</contact>
</contacts>
<response>