The GET method retrieves information about an organization and optionally its child organizations. To specify an organization, use its ID, not its path.
Method | URL | ||
GET | http://<host>:<port>/jasperserver-pro/rest/organization/organizationID?<arguments> | ||
Argument | Type/Value | Description | |
listSubOrgs? | Boolean | When this argument is omitted or is false, only the specified organization is returned. When true only the suborganizations are returned. | |
Return Value on Success | Typical Return Values on Failure | ||
200 OK – The content is a descriptor for the organization or its suborganizations. | 404 Not Found – When the specified organization ID is not found in the server. |
When the listSubOrgs argument is omitted or false, the GET method returns a single tenant descriptor for the given organization:
The tenantFolderURI is always relative to the user ID that authenticated the request. In these two examples, the user ID is superuser. |
When the listSubOrgs argument is true, the GET method returns a list of tenant descriptors. If the given organization has no suborganizations, the list is empty.
Recommended Comments
There are no comments to display.