GET api/v3/Geo/GetLocationForWhatThreeWords?w3w={w3w}

Gets coordinates (Latitude and Longitude) for a what3words address

Request Information

URI Parameters

NameDescriptionTypeAdditional information
w3w

Full 3 part what 3 words string

string

Required

Body Parameters

None.

Response Information

Resource Description

WhatThreeWordsResult
NameDescriptionTypeAdditional information
Longitude

decimal number

None.

Latitude

decimal number

None.

Address

string

None.

WhatThreeWords

string

None.

Response Formats

application/json

Sample:
{
  "Longitude": 1.1,
  "Latitude": 1.1,
  "Address": "sample string 1",
  "WhatThreeWords": "sample string 2"
}

application/xml, text/xml

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