StarterTemplate ASP.NET Host

<back to all web services

RequestSecurityGroupByName

Security groups service

The following routes are available for this service:
GET/service/api/v1/depts/{DeptId}/securitygroups/{Name}Returns list of priveleges for specified security group
Parameters:
NameParameterData TypeRequiredDescription
DeptIdpathintYesThe ID of the department that includes the security group
NamepathintYesThe name of the security group you need to get

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

HTTP + JSV

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

POST /jsv/reply/RequestSecurityGroupByName HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

{
	dept_id: 0,
	name: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	results: 
	[
		{
			entity_code: String,
			can_read: False,
			can_add: False,
			can_update: False,
			can_delete: False
		}
	]
}