Companies

Method: AddCompany

Input:

Auth Token and Payload Below 
<company>
  <status>Enabled</status>
  <title>TD Test Company</title>
</company>

Output:

<company>
  <id><![CDATA[companyb50a30e0-30db-46a8-9d9f-4cc4a967d862]]></id>
  <title><![CDATA[TD Test Company]]></title>
  <status><![CDATA[Enabled]]></status>
  <createdDate><![CDATA[2011-11-27T14:50:17.320]]></createdDate>
</company>

 

Method: GetCompanies

Input:

Auth Token Only

Output:

<companies><company>
  <title><![CDATA[TD Test Company 2]]></title>
  <id><![CDATA[company1af9d7ea-a4b5-4167-822d-9285e883ed5e]]></id>
</company><company>
  <title><![CDATA[![CDATA[TD Test Company 11082011]]]]></title>
  <id><![CDATA[company56d5b83f-195d-4ae9-8910-0aaa2e2a8bc6]]></id>
</company><company>
  <title><![CDATA[TD Test Company 11082011]]></title>
  <id><![CDATA[company8df90f03-38ed-4a9b-ba09-61d164bc45f7]]></id>
</company><company>
  <title><![CDATA[TD Test Company]]></title>
  <id><![CDATA[companyb50a30e0-30db-46a8-9d9f-4cc4a967d862]]></id>
</company><company>
  <title><![CDATA[TD Test 2 Company]]></title>
  <id><![CDATA[companybcc5b5af-3c17-4c8e-b05d-357b8384f32f]]></id>
</company></companies>

 

Method: DeleteCompany

Input:

Auth Token and Company ID

Output:

<company>
  <id><![CDATA[companyb50a30e0-30db-46a8-9d9f-4cc4a967d862]]></id>
</company>

 

Method: GetCompany

Input:

Auth Token and Company ID

Output:

<company>
  <id><![CDATA[companybcc5b5af-3c17-4c8e-b05d-357b8384f32f]]></id>
  <title><![CDATA[TD Test 2 Company]]></title>
  <status><![CDATA[Enabled]]></status>
  <createdDate><![CDATA[2011-10-20T23:26:59.387]]></createdDate>
</company>

 

Method: UpdateCompany

Input:

Auth Token and Payload Below 
<company>
  <id>companybcc5b5af-3c17-4c8e-b05d-357b8384f32f</id>
  <status>Enabled</status>
  <title>TD Test 2 Company Update</title>
</company>

Output:

<company>
  <id><![CDATA[companybcc5b5af-3c17-4c8e-b05d-357b8384f32f]]></id>
  <title><![CDATA[TD Test 2 Company Update]]></title>
  <status><![CDATA[Enabled]]></status>
  <createdDate><![CDATA[2011-10-20T23:26:59.387]]></createdDate>
</company>