Get all users in a profile group
Name | Type | Required | Optional | Searchable | Note |
---|---|---|---|---|---|
siteid | numeric | REQUIRED, Passed via URI | |||
categoryid | numeric | REQUIRED, Passed via URI | |||
groupid | numeric | REQUIRED, Passed via URI | |||
firstname | string | via search string | |||
groupname | string | via search string | |||
lastname | string | via search string |
http://devsandbox.targetsolutions.com/v1/sites/{siteid}/categories/profile/{categoryid}/groups/{groupid}/users
http://devsandbox.targetsolutions.com/v1/sites/{siteid}/categories/profile/{categoryid}/groups/{groupid}/users?q={"firstname":"random firstname","groupname":"random groupname","lastname":"random lastname"}
GET /sites/{siteid}/categories/profile/{categoryid}/groups/{groupid}/users HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: NlyTMi6egURL6QjIrBzzBA==
Cache-Control: no-cache
{ "Users":[ { "links":{ "resourcelink":"http://devsandbox.targetsolutions.com/v1/users/123" }, "firstname":"Mark", "employeeid":"992-33-2525", "username":"asdffdaasdffdaasdffdsa", "lastname":"Carleson", "userid":123 } ], "pagination":{ "next":"http://devsandbox.targetsolutions.com/v1/sites/categories/profile/5468/groups/307414/users?startrow=2&limit=1" } }
{ "httpcode":200, "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/901", "developermessage":"The request returned zero results.", "statuscode":901, "status":"ok" }
{ "httpcode":401, "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/800", "developermessage":"A request was made to a resource that you do not have ownership of.", "statuscode":800, "status":"access denied" }