GetAccessLevelById
Overview
Returns a single AccessLevelViewModel that the API token has rights to view based on a parameterized PK.
Request Information
Method
GET - api/AccessLevel/GetAccessLevelById/{AccessLevelId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AccessLevelId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AccessLevelViewModel
Name | Description | Type | Additional information |
---|---|---|---|
AccessLevelId |
Represents the PK of the AccessLevel |
integer |
None. |
Name |
Represents the name of the AccessLevel |
string |
None. |
Response Formats
JSON
{ "AccessLevelId": 1, "Name": "sample string 2" }
XML
<AccessLevelViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers"> <AccessLevelId>1</AccessLevelId> <Name>sample string 2</Name> </AccessLevelViewModel>