POST api/Location/FindCityCenterLatLongFromCityName?AddressWithCityStateCountry={AddressWithCityStateCountry}&VehicleLatitude={VehicleLatitude}&Vehiclelongitude={Vehiclelongitude}&VehicleLocality={VehicleLocality}&VehicleCity={VehicleCity}&VehicleDistrict={VehicleDistrict}&VehiclecountryRegion={VehiclecountryRegion}&VehiclePostalCode={VehiclePostalCode}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
AddressWithCityStateCountry
No documentation available.

Define this parameter in the request URI.

VehicleLatitude
No documentation available.

Define this parameter in the request URI.

Vehiclelongitude
No documentation available.

Define this parameter in the request URI.

VehicleLocality
No documentation available.

Define this parameter in the request URI.

VehicleCity
No documentation available.

Define this parameter in the request URI.

VehicleDistrict
No documentation available.

Define this parameter in the request URI.

VehiclecountryRegion
No documentation available.

Define this parameter in the request URI.

VehiclePostalCode
No documentation available.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "type": "sample string 4",
    "coordinates": [
      1.1,
      2.1,
      3.1
    ],
    "calculationMethod": "sample string 5",
    "usageTypes": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "boundingBox": [
      1.1,
      2.1,
      3.1
    ]
  },
  {
    "type": "sample string 4",
    "coordinates": [
      1.1,
      2.1,
      3.1
    ],
    "calculationMethod": "sample string 5",
    "usageTypes": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "boundingBox": [
      1.1,
      2.1,
      3.1
    ]
  },
  {
    "type": "sample string 4",
    "coordinates": [
      1.1,
      2.1,
      3.1
    ],
    "calculationMethod": "sample string 5",
    "usageTypes": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "boundingBox": [
      1.1,
      2.1,
      3.1
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMapFinalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIToUploadBlob.Controllers.BingMap">
  <MapFinalResponse>
    <boundingBox xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>1.1</d3p1:double>
      <d3p1:double>2.1</d3p1:double>
      <d3p1:double>3.1</d3p1:double>
    </boundingBox>
    <calculationMethod>sample string 5</calculationMethod>
    <coordinates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>1.1</d3p1:double>
      <d3p1:double>2.1</d3p1:double>
      <d3p1:double>3.1</d3p1:double>
    </coordinates>
    <type>sample string 4</type>
    <usageTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </usageTypes>
    <AddressString>sample string 1</AddressString>
    <Latitude>2.1</Latitude>
    <Longitude>3.1</Longitude>
  </MapFinalResponse>
  <MapFinalResponse>
    <boundingBox xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>1.1</d3p1:double>
      <d3p1:double>2.1</d3p1:double>
      <d3p1:double>3.1</d3p1:double>
    </boundingBox>
    <calculationMethod>sample string 5</calculationMethod>
    <coordinates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>1.1</d3p1:double>
      <d3p1:double>2.1</d3p1:double>
      <d3p1:double>3.1</d3p1:double>
    </coordinates>
    <type>sample string 4</type>
    <usageTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </usageTypes>
    <AddressString>sample string 1</AddressString>
    <Latitude>2.1</Latitude>
    <Longitude>3.1</Longitude>
  </MapFinalResponse>
  <MapFinalResponse>
    <boundingBox xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>1.1</d3p1:double>
      <d3p1:double>2.1</d3p1:double>
      <d3p1:double>3.1</d3p1:double>
    </boundingBox>
    <calculationMethod>sample string 5</calculationMethod>
    <coordinates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:double>1.1</d3p1:double>
      <d3p1:double>2.1</d3p1:double>
      <d3p1:double>3.1</d3p1:double>
    </coordinates>
    <type>sample string 4</type>
    <usageTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </usageTypes>
    <AddressString>sample string 1</AddressString>
    <Latitude>2.1</Latitude>
    <Longitude>3.1</Longitude>
  </MapFinalResponse>
</ArrayOfMapFinalResponse>