getGroupMembers
- Home
- Users & Groups
- SvcGroups
- getGroupMembers
getGroupMembers
Gets the members of a group.
Parameters
Name | Description |
groupID required | ID of the group. |
status optional | Group membership status type for a user. |
page optional | Page of results to return. |
perPage optional | Number of items to return per page. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcGroups?action=getGroupMembers&groupID=1000811&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
{ "service":"svcGroups", "action":"getGroupMembers", "code":1, "message":"Group Members Successfully Retrieved", "item":[ { "user_id":"229829209", "display_name":"Jane", "location":null, "age":49, "domain":"onesitedemo.com", "subdir":"229829209", "home_url":"http://www.onesitedemo.com/229829209", "node_home_urls":{ "188234":"http://www.onesitedemo.com/229829209" }, "name":"Jane", "gender":"1", "first_name":"Jane", "last_name":"Doe", "username":"newuser2", "master_node_id":"188234", "avatar":"http://services.onesite.com/resources/images/unisex_v4b.gif?ver=13.06.21", "photo":"http://services.onesite.com/resources/images/unisex_v4.gif?ver=13.06.21", "site_id":"234614753", "membership_status":"moderator" } ], "page":1, "per_page":10, "total":"1" } |
Service Information
Service | svcGroups |
Method | getGroupMembers |
Type | REST |
Response Types | JSON, XML |