REST

getOrganizationParent

Returns an organization's parent by ID

Client ServletServer ServletHTTP Methods SupportedRequires Authentication
None.SROrganizationAPIPOSTYes.

Server API Syntax

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

Server API Parameters

Common Server Parameters

See topic Common Parameters.

org_id

Required. Org ID

Type xsd:int.

Response

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
JSON
{"getOrganizationParentResponse":{"hierarchy":{"parent":{"category_id":"5","num_employees":"10","org_id":"100","name":"Test Organization","url":"http://sample.url"},"org_id":"250"}}}