POST api/agentlocation/update

Request Information

URI Parameters

None.

Body Parameters

LocationUpdateRequest
NameDescriptionTypeAdditional information
Lat

decimal number

None.

Lng

decimal number

None.

SpeedKmh

decimal number

None.

BatteryPct

byte

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Lat": 1.0,
  "Lng": 2.0,
  "SpeedKmh": 1.0,
  "BatteryPct": 64,
  "Status": "sample string 3"
}

application/xml, text/xml

Sample:
<LocationUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Controllers">
  <BatteryPct>64</BatteryPct>
  <Lat>1</Lat>
  <Lng>2</Lng>
  <SpeedKmh>1</SpeedKmh>
  <Status>sample string 3</Status>
</LocationUpdateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.