POST api/Driver/UpdateLocation

Request Information

URI Parameters

None.

Body Parameters

DriverLocation
NameDescriptionTypeAdditional information
DriverID

integer

None.

Lang

integer

None.

RequestID

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "DriverID": 1,
  "Lang": 1,
  "RequestID": 2,
  "Latitude": 1.0,
  "Longitude": 1.0
}

application/xml, text/xml

Sample:
<DriverLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <DriverID>1</DriverID>
  <Lang>1</Lang>
  <Latitude>1</Latitude>
  <Longitude>1</Longitude>
  <RequestID>2</RequestID>
</DriverLocation>

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.