getOrganizationDescendants

Returns an organization's descendants by ID

Client Servlet Server Servlet HTTP Methods Supported Requires Authentication
None. SROrganizationAPI POST Yes.

Server API Syntax

https://secure2.convio.net/organization/site/SROrganizationAPI?method=getOrganizationDescendants & 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"?>
<getOrganizationDescendantsResponse xmlns="http://convio.com/crm/v1.0">
    <descendant>
        <org_id>300</org_id>
        <depth>1</depth>
        <name>First organization</name>
        <parent_org_id>250</parent_org_id>
    </descendant>
    <descendant>
        <org_id>302</org_id>
        <depth>2</depth>
        <name>Second organization</name>
        <parent_org_id>300</parent_org_id>
    </descendant>
</getOrganizationDescendantsResponse>


        
JSON response
{"getOrganizationDescendantsResponse":{"descendant":[{"org_id":"300","name":"First organization","parent_org_id":"250","depth":"1"},{"org_id":"302","name":"Second organization","parent_org_id":"300","depth":"2"}]}}

        

Leave a Comment

Nickname
Comment
Enter this word: