List of groups the user is assigned supvisor
Name | Type | Required | Optional | Searchable | Note |
---|---|---|---|---|---|
userid | numeric | REQUIRED, Passed via URI | |||
groupname | string | via search string |
http://devsandbox.targetsolutions.com/v1/users/{userid}/access/groups
http://devsandbox.targetsolutions.com/v1/users/{userid}/access/groups?q={"groupname":"random groupname"}
GET /users/{userid}/access/groups HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: popwDDguA2kRzthfAoS5OQ==
Cache-Control: no-cache
{ "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" }