Get organization details for a site by using site ID
The get organizations for site method is used to fetch the organizations that are associated with a site by using the site ID.
URL
Use the following URL for get organizations for site method:
/api/com.bmc.arsys.rx.foundation/location/site/<<Site Id>>/organizations
Parameter
The following table provides information about the parameters of the get organizations for site method:
Parameter | Description | Example |
---|---|---|
Site Id | Specifies a valid site ID. If an invalid or incorrect Site ID is provided, a response code 500 is returned. Additionally, the following message is displayed: [ERROR (302): Entry does not exist in database; com.bmc.arsys.rx.foundation:Site:foundation_site_000011] In the above message, foundation_sitearea_000011 is an invalid site ID. | /location/site/ foundation_site_00001 |
Example
To get all the organizations that are associated with a site, use the following URL:
/api/com.bmc.arsys.rx.foundation/location/site/foundation_site_00001/organizations
In the example, foundation_site_00001 is a valid site ID.
Related topics
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*