Returns an organization's parent by ID
| Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
|---|---|---|---|
| None. | SROrganizationAPI | POST | Yes. |
See topic Common Parameters.
Required. Org ID
Type xsd:int.
See topic HTTP Status Codes.
XML response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<getOrganizationParentResponse xmlns="http://convio.com/crm/v1.0">
<hierarchy>
<org_id>250</org_id>
<parent>
<org_id>100</org_id>
<name>Test Organization</name>
<url>http://sample.url</url>
<category_id>5</category_id>
<num_employees>10</num_employees>
</parent>
</hierarchy>
</getOrganizationParentResponse>
JSON response
{"getOrganizationParentResponse":{"hierarchy":{"org_id":"250","parent":{"org_id":"100","name":"Test Organization","category_id":"5","url":"http://sample.url","num_employees":"10"}}}}