POST api/info/GetDriverLocation

Request Information

URI Parameters

None.

Body Parameters

DriverLocationMdoel
NameDescriptionTypeAdditional information
DriverId

string

None.

Lat

string

None.

Lon

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DriverId": "sample string 1",
  "Lat": "sample string 2",
  "Lon": "sample string 3"
}

application/xml, text/xml

Sample:
<DriverLocationMdoel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <DriverId>sample string 1</DriverId>
  <Lat>sample string 2</Lat>
  <Lon>sample string 3</Lon>
</DriverLocationMdoel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DriverLocationMdoel'.

Response Information

Resource Description

DriverLocationMdoel
NameDescriptionTypeAdditional information
DriverId

string

None.

Lat

string

None.

Lon

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DriverId": "sample string 1",
  "Lat": "sample string 2",
  "Lon": "sample string 3"
}

application/xml, text/xml

Sample:
<DriverLocationMdoel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <DriverId>sample string 1</DriverId>
  <Lat>sample string 2</Lat>
  <Lon>sample string 3</Lon>
</DriverLocationMdoel>