You can get information about organizations in the account with the getOrganizations method.
Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.
Parameters
Parameter | Type | Description |
---|
credentials (required) | credentials | Read the description of the Credentials object. |
Return Value
Parameter | Type | Description |
---|
organization | array | Array of organization ID, name and description |
Sample Call
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://ispringlearn.com/go/services/api/soap">
<SOAP-ENV:Body>
<GetOrganizationsRequest>
<credentials>
<accountUrl>http://myaccount.ispringlearn.com</accountUrl>
<email>email@email.com</email>
<password>password</password>
</credentials>
</GetOrganizationsRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML
Sample Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://ispringlearn.com/go/services/api/soap">
<SOAP-ENV:Body>
<GetOrganizationsResult>
<organization>
<organizationId>1</organizationId>
<name>Name</name>
<description>Description</description>
</organization>
<organization>
...
</organization>
</GetOrganizationsResult>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML