GET api/Geocoder?address={address}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
address

string

Required

Body Parameters

None.

Response Information

Resource Description

GeocodeDto
NameDescriptionTypeAdditional information
status

string

None.

error

string

None.

address

string

None.

lat

decimal number

None.

lng

decimal number

None.

fromCache

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "error": "sample string 2",
  "address": "sample string 3",
  "lat": 1.1,
  "lng": 1.1,
  "fromCache": true
}

text/javascript

Sample:
{"status":"sample string 1","error":"sample string 2","address":"sample string 3","lat":1.1,"lng":1.1,"fromCache":true}

application/xml, text/xml

Sample:
<GeocodeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ccx.Xrm.ZipCodes.Models">
  <address>sample string 3</address>
  <error>sample string 2</error>
  <fromCache>true</fromCache>
  <lat>1.1</lat>
  <lng>1.1</lng>
  <status>sample string 1</status>
</GeocodeDto>