GET api/v3/Geo/GetCoordinatesForAddress?address={address}

Gets coordinates (Latitude and Longitude) for an address

Request Information

URI Parameters

NameDescriptionTypeAdditional information
address

URL Encoded address

string

Required

Body Parameters

None.

Response Information

Resource Description

CoordinatesResult
NameDescriptionTypeAdditional information
Longitude

decimal number

None.

Latitude

decimal number

None.

Response Formats

application/json

Sample:
{
  "Longitude": 1.1,
  "Latitude": 1.1
}

application/xml, text/xml

Sample:
<CoordinatesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Geo">
  <Latitude>1.1</Latitude>
  <Longitude>1.1</Longitude>
</CoordinatesResult>