Description

Get all users who have access over a profile group

Parameters

Name Type Required Optional Searchable Note
siteid numeric REQUIRED, Passed via URI
groupid numeric REQUIRED, Passed via URI

Examples

Example Request

http://devsandbox.targetsolutions.com/v1/sites/{siteid}/access/groups/{groupid}/users

Example Header

GET /sites/{siteid}/access/groups/{groupid}/users HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: ISYVxfbnYJe0xLY2GjNp3g==
Cache-Control: no-cache

Possible Results Sets

Results Set

{
  "groups":[
    {
      "links":{
        "credentials":"http://devsandbox.targetsolutions.com/v1/users/369453/credentials",
        "resourcelink":"http://devsandbox.targetsolutions.com/v1/users/369453",
        "groups":"http://devsandbox.targetsolutions.com/v1/users/369453/groups"
      },
      "firstname":"Josh",
      "usertype":"Admin",
      "siteid":12,
      "employeeid":"null",
      "email":[
        
      ],
      "username":"js",
      "status":"Expired",
      "lastname":"Santos",
      "userid":369453
    }
  ]
}

No Results Set

{
  "httpcode":200,
  "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/901",
  "developermessage":"The request returned zero results.",
  "statuscode":901,
  "status":"ok"
}

Access Denied Set

{
  "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"
}