POST api/v1/sigfox/service/geoloc
Set a more accurate location for the device from a Sigfox Service -> GEOLOC callback
Request Information
URI Parameters
None.
Body Parameters
GeolocDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Device | string |
None. |
|
| Time | integer |
None. |
|
| Duplicate | boolean |
None. |
|
| Snr | decimal number |
None. |
|
| Station | string |
None. |
|
| AvgSnr | decimal number |
None. |
|
| Lat | decimal number |
None. |
|
| Lng | decimal number |
None. |
|
| Radius | decimal number |
None. |
|
| SeqNumber | integer |
None. |
Request Formats
application/json, text/json, application/senml+json
Sample:
{
"Device": "sample string 1",
"Time": 2,
"Duplicate": true,
"Snr": 4.1,
"Station": "sample string 5",
"AvgSnr": 6.1,
"Lat": 1.1,
"Lng": 1.1,
"Radius": 1.1,
"SeqNumber": 7
}
application/xml, text/xml
Sample:
<GeolocDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Sigfox"> <AvgSnr>6.1</AvgSnr> <Device>sample string 1</Device> <Duplicate>true</Duplicate> <Lat>1.1</Lat> <Lng>1.1</Lng> <Radius>1.1</Radius> <SeqNumber>7</SeqNumber> <Snr>4.1</Snr> <Station>sample string 5</Station> <Time>2</Time> </GeolocDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/senml+json
Sample:
Sample not available.