GET api/WaitTimeGetAppSensor?sensor_num={sensor_num}
Gets necessary data for specified sensor
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sensor_num |
Sensor number for desired data |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
clsAppSensor| Name | Description | Type | Additional information |
|---|---|---|---|
| SensorNo |
Unique Number for Sensor |
integer |
None. |
| SensorDesc |
Description for this sensor |
string |
None. |
| SensorSection |
Section number for this sensor |
string |
None. |
| SensorLevel |
Stadium Level for this sensor |
string |
None. |
| SensorIconURL |
URL for concession branding icon for this sensor |
string |
None. |
| SensorType |
Type of Sensor: Food = 0, Women = 1, Men = 2, Family = 3 |
string |
None. |
| SensorPercentage |
Percentage of "busy" relative to sensors of similar type: Value from 0 to 100 |
integer |
None. |
| SensorEnabled |
Boolean if true then data will be included, if not then data will be ignored |
boolean |
None. |
| SensorAreaGroup |
Stadium Wide Area SensorAreaGroup Name |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SensorNo": 1,
"SensorDesc": "sample string 2",
"SensorSection": "sample string 3",
"SensorLevel": "sample string 4",
"SensorIconURL": "sample string 5",
"SensorType": "sample string 6",
"SensorPercentage": 8,
"SensorEnabled": true,
"SensorAreaGroup": "sample string 24"
}
application/xml, text/xml
Sample:
<clsAppSensor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WaitTimeWebAPI"> <SensorAreaGroup>sample string 24</SensorAreaGroup> <SensorDesc>sample string 2</SensorDesc> <SensorEnabled>true</SensorEnabled> <SensorIconURL>sample string 5</SensorIconURL> <SensorLevel>sample string 4</SensorLevel> <SensorNo>1</SensorNo> <SensorPercentage>8</SensorPercentage> <SensorSection>sample string 3</SensorSection> <SensorType>sample string 6</SensorType> </clsAppSensor>