Get all users who have access to a feature
Name | Type | Required | Optional | Searchable | Note |
---|---|---|---|---|---|
siteid | numeric | REQUIRED, Passed via URI | |||
accessmoduleid | numeric | REQUIRED, Passed via URI |
http://devsandbox.targetsolutions.com/v1/sites/{siteid}/access/modules/{accessmoduleid}/users
GET /sites/{siteid}/access/modules/{accessmoduleid}/users HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: QI2FR3nJLCxNert/vQ/FGQ==
Cache-Control: no-cache
{ "users":[ { "links":{ "credentials":"http://devsandbox.targetsolutions.com/v1/users/59206/credentials", "resourcelink":"http://devsandbox.targetsolutions.com/v1/users/59206", "access/modules":"http://devsandbox.targetsolutions.com/v1/users/59206/access/modules", "groups":"http://devsandbox.targetsolutions.com/v1/users/59206/groups", "access/groups":"http://devsandbox.targetsolutions.com/v1/users/59206/access/groups" }, "firstname":"boboboobo", "usertype":"Supervisor", "siteid":12, "employeeid":"boboboobo", "email":[ ], "username":"boboboobo", "status":"Expired", "lastname":"boboboobo", "userid":59206 } ] }
{ "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" }