POST api/poi/search/radius
Search for POI's in a radius from a point
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.External.Api.Location.Query.PoiGeoRadiusQueryDataContractName | Description | Type | Additional information |
---|---|---|---|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Radius | decimal number |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "Latitude": 1.1, "Longitude": 2.1, "Radius": 3.1, "PageSize": 4, "PageNumber": 5 }
Response Information
Resource Description
PagedCollectionDataContractOfDezrez.Core.DataContracts.External.Api.Location.Query.PoiGeoDataContractName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
CurrentCount | integer |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
Collection | Collection of Dezrez.Core.DataContracts.External.Api.Location.Query.PoiGeoDataContract |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalCount": 1, "CurrentCount": 2, "PageSize": 1, "PageNumber": 1, "Collection": [ { "Distance": 1.1, "CenterPoint": { "Latitude": 1.1, "Longitude": 2.1, "Altitude": 3.1, "Order": 4, "Id": 5 }, "Name": "sample string 2", "PrimaryType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Types": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "Id": 3 }, { "Distance": 1.1, "CenterPoint": { "Latitude": 1.1, "Longitude": 2.1, "Altitude": 3.1, "Order": 4, "Id": 5 }, "Name": "sample string 2", "PrimaryType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Types": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "Id": 3 } ] }