Get group list - Get all groups v1
OVERVIEW
Request
GET /groups?{scope=system&type=AD}
Purpose:
Get a list of all groups from the system. The method only allows getting system level groups of type AD. Going forward we can also allow filtering groups based on type in addition to scope.
Response
<groups>
<group>
<scope>system</scope>
<type>{AD}</type>
</group>
</groups>
Please note that we have updated the documentation to remove the options that are not implemented yet. We plan to provide more filter options for Scope and type parameters.
Imran Aziz > "Collaborate 4.3"
Perfect, we can wait until then. Cheers.
Giuseppe Carafa you are a site admin not a system admin on the site. These methods require system admin rights as the current user/group API is only for system user/group management.
Giuseppe Carafa I am afraid the site parameter is not supported in this API endpoint, we are working on site-specific API methods for user and group management in Collaborate 4.3
I thought I could call this API with "scope=site" and at least get information out of it that way?
Imran Aziz That doesn't ring true. I can navigate to the site in a browser, and go to https://integrationlive.highq.com/integrationlive/manageMembers.action?metaData.siteID=2184&metaData.parentFolderID=0&managePage=groups and I can see our Site Groups, add a new one (just did) etc....
Giuseppe Carafa just checked the call and I realised that you are not a system admin on this instance and the API returns system level groups, which you do not have access to hence you are getting a 403 error. The API permissions follow the same security as in Collaborate UI. If you want to use system level API calls like system user and groups you need to use an instance where you have system admin rights. The integrationlive sandbox environment is a shared environment so we cannot grant you system admin rights to this instance.
Imran Aziz I'm not sure - it's the test instance at integrationlive.highq.com with Site ID 2184 that you created for us?
Giuseppe Carafa have you got AD sync enabled on the instance? The group and User methods only work with an AD configuration enabled. Which instance are you checking this against?
I'm afraid not ....
Giuseppe Carafa did you get an answer to your question from the support team?
Hello Imran Aziz
I'm trying to use this call, but I'm getting nowhere with it. The best I've managed to do here is get a response of 403 Forbidden. Do I need to be given special privileges on the integrationlive site to test this?
Comments
11 Comments