Returns an organization's parent by ID
Client Servlet | Server Servlet | HTTP Methods Supported | Requires Authentication |
---|---|---|---|
None. | SROrganizationAPI | POST | Yes. |
https://secure2.convio.net/organization/site/SROrganizationAPI?method=getOrganizationParent & api_key =value & login_name =value & login_password =value & v =value [ & center_id =value ] [ & response_format =xml |json ] [ & source =value ] [ & sub_source =value ] [ & suppress_response_codes =value ] & org_id =value
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>
{"getOrganizationParentResponse":{"hierarchy":{"parent":{"category_id":"5","num_employees":"10","org_id":"100","name":"Test Organization","url":"http://sample.url"},"org_id":"250"}}}