GET api/v2/AccessLevelGroups?AccessLevelGroupId={AccessLevelGroupId}
Returns a single AccessLevelGroupViewModel that the API token has rights to view based on a parameterized PK.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessLevelGroupId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AccessLevelGroupViewModelV2| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessLevelGroupId |
Represents the PK of the AccessLevelGroup |
integer |
None. |
| Name |
Represents the name of the AccessLevelGroup |
string |
None. |
| FacilityId |
Represents the Id of the Facility this AccessLevelGroup is associated with |
globally unique identifier |
None. |
| FacilityName |
Represents the Name of the Facility this AccessLevelGroup is associated with |
string |
None. |
| OccupantId |
Represents the Id of the Occupancy this AccessLevelGroup is associated with |
globally unique identifier |
None. |
| OccupantName |
Represents the Name of the Occupant this AccessLevelGroup is associated with |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessLevelGroupId": 1,
"Name": "sample string 2",
"FacilityId": "e44c8df7-5ce0-4d8e-90ae-6f37bd36a39a",
"FacilityName": "sample string 3",
"OccupantId": "0457564f-63f3-43fd-ba6f-57041c2ed0ca",
"OccupantName": "sample string 4"
}
application/xml, text/xml
Sample:
<AccessLevelGroupViewModelV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <AccessLevelGroupId>1</AccessLevelGroupId> <FacilityId>e44c8df7-5ce0-4d8e-90ae-6f37bd36a39a</FacilityId> <FacilityName>sample string 3</FacilityName> <Name>sample string 2</Name> <OccupantId>0457564f-63f3-43fd-ba6f-57041c2ed0ca</OccupantId> <OccupantName>sample string 4</OccupantName> </AccessLevelGroupViewModelV2>