POST api/poi/search/box
Search for POI's inside a bounding box
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.External.Api.Location.Query.PoiGeoBoxQueryDataContractName | Description | Type | Additional information |
---|---|---|---|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
TopLeft | Dezrez.Core.DataContracts.External.Api.Location.Query.LatLonDataContract |
None. |
|
BottomRight | Dezrez.Core.DataContracts.External.Api.Location.Query.LatLonDataContract |
None. |
|
DistancePoint | Dezrez.Core.DataContracts.External.Api.Location.Query.LatLonDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "PageSize": 1, "PageNumber": 2, "TopLeft": { "Latitude": 1.1, "Longitude": 2.1 }, "BottomRight": { "Latitude": 1.1, "Longitude": 2.1 }, "DistancePoint": { "Latitude": 1.1, "Longitude": 2.1 } }
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 } ] }