POST Api/Utility/GeocodeByAddress

Określa współrzędne geograficzna na podstawie adresu

Request Information

URI Parameters

None.

Body Parameters

szczegóły dotyczące adresu

AddressFrom
NameDescriptionTypeAdditional information
Country

Nazwa kraju

string

Required

City

Nazwa miejscowości

string

Required

Address

Szczegóły adresu - ulica, numer domu itp.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "country": "sample string 1",
  "city": "sample string 2",
  "address": "sample string 3"
}

multipart/form-data

Sample:
{"country":"sample string 1","city":"sample string 2","address":"sample string 3"}

application/xml, text/xml

Sample:
<AddressFrom xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Country>sample string 1</Country>
  <City>sample string 2</City>
  <Address>sample string 3</Address>
</AddressFrom>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

współrzędne geograficzne

GeoPositionDto
NameDescriptionTypeAdditional information
Latitude

Szerokość geograficzna

decimal number

None.

Longitude

Długość geograficzna

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "latitude": 1.1,
  "longitude": 2.1
}

multipart/form-data

Sample:
{"latitude":1.1,"longitude":2.1}

application/xml, text/xml

Sample:
<GeoPositionDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Latitude>1.1</Latitude>
  <Longitude>2.1</Longitude>
</GeoPositionDto>