POST api/Driver/GeoCoordinates

Request Information

URI Parameters

None.

Body Parameters

GeoValues
NameDescriptionTypeAdditional information
Location

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Location": "sample string 1",
  "Latitude": 2.1,
  "Longitude": 3.1
}

text/html

Sample:
{"Location":"sample string 1","Latitude":2.1,"Longitude":3.1}

application/xml, text/xml

Sample:
<GeoValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WITTravels.Models">
  <Latitude>2.1</Latitude>
  <Location>sample string 1</Location>
  <Longitude>3.1</Longitude>
</GeoValues>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GeoValues
NameDescriptionTypeAdditional information
Location

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Location": "sample string 1",
  "Latitude": 2.1,
  "Longitude": 3.1
}

text/html

Sample:
{"Location":"sample string 1","Latitude":2.1,"Longitude":3.1}

application/xml, text/xml

Sample:
<GeoValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WITTravels.Models">
  <Latitude>2.1</Latitude>
  <Location>sample string 1</Location>
  <Longitude>3.1</Longitude>
</GeoValues>