POST api/weme/telemetry
Save telemetry from a WEME device
Request Information
URI Parameters
None.
Body Parameters
The WEME request
TelemetryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| longitude | Collection of decimal number |
None. |
|
| latitude | Collection of decimal number |
None. |
|
| direction | Collection of integer |
None. |
|
| collect | string |
None. |
|
| mirrtalkID | string |
None. |
|
| timestamp | string |
None. |
|
| altitude | Collection of integer |
None. |
|
| accountID | string |
None. |
|
| GPSTime | Collection of integer |
None. |
|
| tokenCode | string |
None. |
|
| speed | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"longitude": [
1.1,
2.1
],
"latitude": [
1.1,
2.1
],
"direction": [
1,
2
],
"collect": "sample string 1",
"mirrtalkID": "sample string 2",
"timestamp": "sample string 3",
"altitude": [
1,
2
],
"accountID": "sample string 4",
"GPSTime": [
1,
2
],
"tokenCode": "sample string 5",
"speed": [
1,
2
]
}
application/xml, text/xml
Sample:
<TelemetryRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<longitude>
<double>1.1</double>
<double>2.1</double>
</longitude>
<latitude>
<double>1.1</double>
<double>2.1</double>
</latitude>
<direction>
<int>1</int>
<int>2</int>
</direction>
<collect>sample string 1</collect>
<mirrtalkID>sample string 2</mirrtalkID>
<timestamp>sample string 3</timestamp>
<altitude>
<int>1</int>
<int>2</int>
</altitude>
<accountID>sample string 4</accountID>
<GPSTime>
<int>1</int>
<int>2</int>
</GPSTime>
<tokenCode>sample string 5</tokenCode>
<speed>
<int>1</int>
<int>2</int>
</speed>
</TelemetryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.