StarterTemplate ASP.NET Host

<back to all web services

RequestUserSecurityGroup

User security groups service

The following routes are available for this service:
GET/service/api/v1/depts/{DeptId}/users/{Id}/securitygroupsReturns list of user security groups
Parameters:
NameParameterData TypeRequiredDescription
DeptIdpathintYesThe ID of the department that includes the user profile
IdpathintYesThe ID of the user profile with security groups you need to get
OffsetqueryintNoThe number of security groups to skip before counting the returned security groups
LimitqueryintNoThe maximum number of groups to return

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/RequestUserSecurityGroup HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: application/json
Content-Length: length

{"dept_id":0,"id":0,"offset":0,"limit":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"results":[{"project_id":0,"name":"String"}]}