GET api/device/{imei}
View device information
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| imei |
The IMEI number of the device to return. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
The details of the device the IMEI belongs to
Collection of Device| Name | Description | Type | Additional information |
|---|---|---|---|
| IMEI |
Unique IMEI of Device |
string |
String length: inclusive between 0 and 100 |
| Asset |
Name of Asset Device Assigned to |
string |
String length: inclusive between 0 and 100 |
| OnInterval |
Frequency of which device will ping when ignition is on (seconds). |
integer |
None. |
| OffInterval |
Frequency of which device will ping when ignition is off (seconds). |
integer |
None. |
| BuzzerDuration |
Duration of dallas key buzzer in seconds (0=off) |
integer |
None. |
| Input1 |
Description of sensor fitted in Input 1 |
string |
String length: inclusive between 0 and 100 |
| Input2 |
Description of sensor fitted in Input 2 |
string |
String length: inclusive between 0 and 100 |
| Input3 |
Description of sensor fitted in Input 3 |
string |
String length: inclusive between 0 and 100 |
| Input4 |
Description of sensor fitted in Input 4 |
string |
String length: inclusive between 0 and 100 |
| Output1 |
Status of Output 1 |
boolean |
None. |
| HeadingChangePing |
Degrees of heading change required to generate additional ping (0 = Disabled) |
integer |
None. |
| DeviceStatus |
Currently selected device status |
string |
String length: inclusive between 0 and 100 |
Response Formats
application/json, text/json
[
{
"IMEI": "sample string 1",
"Asset": "sample string 2",
"OnInterval": 3,
"OffInterval": 4,
"BuzzerDuration": 5,
"Input1": "sample string 6",
"Input2": "sample string 7",
"Input3": "sample string 8",
"Input4": "sample string 9",
"Output1": true,
"HeadingChangePing": 1,
"DeviceStatus": "sample string 11"
},
{
"IMEI": "sample string 1",
"Asset": "sample string 2",
"OnInterval": 3,
"OffInterval": 4,
"BuzzerDuration": 5,
"Input1": "sample string 6",
"Input2": "sample string 7",
"Input3": "sample string 8",
"Input4": "sample string 9",
"Output1": true,
"HeadingChangePing": 1,
"DeviceStatus": "sample string 11"
}
]
application/xml, text/xml
<ArrayOfDevice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Device>
<IMEI>sample string 1</IMEI>
<Asset>sample string 2</Asset>
<OnInterval>3</OnInterval>
<OffInterval>4</OffInterval>
<BuzzerDuration>5</BuzzerDuration>
<Input1>sample string 6</Input1>
<Input2>sample string 7</Input2>
<Input3>sample string 8</Input3>
<Input4>sample string 9</Input4>
<Output1>true</Output1>
<HeadingChangePing>1</HeadingChangePing>
<DeviceStatus>sample string 11</DeviceStatus>
</Device>
<Device>
<IMEI>sample string 1</IMEI>
<Asset>sample string 2</Asset>
<OnInterval>3</OnInterval>
<OffInterval>4</OffInterval>
<BuzzerDuration>5</BuzzerDuration>
<Input1>sample string 6</Input1>
<Input2>sample string 7</Input2>
<Input3>sample string 8</Input3>
<Input4>sample string 9</Input4>
<Output1>true</Output1>
<HeadingChangePing>1</HeadingChangePing>
<DeviceStatus>sample string 11</DeviceStatus>
</Device>
</ArrayOfDevice>