POST api/Search/{regionCode}?lat={lat}&lng={lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lat | decimal number |
Required |
|
lng | decimal number |
Required |
|
regionCode | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of OsmPlaceName | Description | Type | Additional information |
---|---|---|---|
OsmId | integer |
None. |
|
OsmName | string |
None. |
|
OsmType | string |
None. |
|
Lat | decimal number |
None. |
|
Lng | decimal number |
None. |
|
Geom | Object |
None. |
|
Score | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "OsmId": 1, "OsmName": "sample string 2", "OsmType": "sample string 3", "Lat": 4.1, "Lng": 5.1, "Geom": {}, "Score": 7.1 }, { "OsmId": 1, "OsmName": "sample string 2", "OsmType": "sample string 3", "Lat": 4.1, "Lng": 5.1, "Geom": {}, "Score": 7.1 } ]
text/html
Sample:
[{"OsmId":1,"OsmName":"sample string 2","OsmType":"sample string 3","Lat":4.1,"Lng":5.1,"Geom":{},"Score":7.1},{"OsmId":1,"OsmName":"sample string 2","OsmType":"sample string 3","Lat":4.1,"Lng":5.1,"Geom":{},"Score":7.1}]
application/xml, text/xml
Sample:
<ArrayOfOsmPlace xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BGW.Search.Core"> <OsmPlace> <Geom /> <Lat>4.1</Lat> <Lng>5.1</Lng> <OsmId>1</OsmId> <OsmName>sample string 2</OsmName> <OsmType>sample string 3</OsmType> <Score>7.1</Score> </OsmPlace> <OsmPlace> <Geom /> <Lat>4.1</Lat> <Lng>5.1</Lng> <OsmId>1</OsmId> <OsmName>sample string 2</OsmName> <OsmType>sample string 3</OsmType> <Score>7.1</Score> </OsmPlace> </ArrayOfOsmPlace>