GET api/Facility/GetLevels?Mode={Mode}&Level1={Level1}&Level2={Level2}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | integer |
Required |
|
| Level1 | integer |
Required |
|
| Level2 | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Level| Name | Description | Type | Additional information |
|---|---|---|---|
| LevelId | integer |
None. |
|
| LevelName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LevelId": 1,
"LevelName": "sample string 2"
},
{
"LevelId": 1,
"LevelName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfFacilityModel.Level xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
<FacilityModel.Level>
<LevelId>1</LevelId>
<LevelName>sample string 2</LevelName>
</FacilityModel.Level>
<FacilityModel.Level>
<LevelId>1</LevelId>
<LevelName>sample string 2</LevelName>
</FacilityModel.Level>
</ArrayOfFacilityModel.Level>