Web Services API | Groups Web services | Get direct group users
Get direct group users
Get users directly added to group.
-
URL: /integration/ws/management/rest/groups/<id_grupo_o_codGroup>/users
-
Method: GET
-
Headers:
-
Accept: version/format header (more info)
-
X-Cloud-Auth-Token*: authorization header (more info)
-
Parameters:
-
id or codGroup, included in URL
-
startIndex: index of the first user to list
-
count: maximum number of users to list (default and limit 500)
-
Responses:
-
200: OK. Content: JSON array with users data.
-
Request example:
-
Response example:
-
Payload: [{"aboutMe":null,"email":"antonio@fernandez.com","enabled":true,"extra":{},"id":"ff80818158aafc3b0158abbca6b00002","image":{"url":"/opt/cloud//netex/2017/04/03/933e70bb-7519-4c96-a15a-24b9356ea5cb.png"},"interests":null,"language":"en","location":null,"mobilePhone":null,"name":"Antonio","officePhone":null,"password":"$2a$10$2gXmvim41SwmNzLjFVxCH.3z7Tk7sL89px4peD2b7iQekMCjJMND2","roles":{"management":["admin","user"],"training":["admin","user"]},"extendedFields": {"Department": "IT", "Level": "24"},"surname":"Fernández","timezone":"Europe/Paris","username":"Antonio"},{"aboutMe":null,"email":"mailtesting@kubbe.es","enabled":true,"extra":{},"id":"ff8081815b335e20015b339a8ef37d2b","image":{"url":"/opt/cloud//netex/2017/04/03/b8824db4-3918-479f-88dc-0bb11ddb9318.png"},"interests":null,"language":"en","location":"IN310","mobilePhone":"929929","name":"firstName10312","officePhone":"929929","password":"$2a$10$Jk1h6Je9yxlDVtNhI8Fshu76.mhLPtyRH/lDnqhBuMPCQ7nF21pja","roles":{"training":["user"],"management":["user"]},"extendedFields": {"Department": "HR", "Level": "14"},"surname":"lastName10312","timezone":"Europe/London","username":"paul.mcanallen@capita.co.uk"}]