Match Geolocations within a Geoposition
This method allows you to match the geolocations within the vicinity of a Geoposition.
Base URI: https://<server address>/geolocation/v1/GeoTest/Check/Within/GeoPosition
Request
URI: /geolocation/v1/GeoTest/Check/Within/GeoPosition
HTTP: GET
Roles Required: Geolocation_Viewer, Geolocation_Editor, Geolocation_Super_Editor
For more information on Roles and Permissions, see Role Template and Scopes
Request Parameters
|
Name |
Required |
Data Type |
Description |
|---|---|---|---|
|
Latitude |
Yes |
double |
Latitude in degrees, ranges from -ve 90 to +ive 90. For example, 13.1217 |
|
Longitude |
Yes |
double |
Longitude in degrees, ranges from -ve 180 to +ive 180. For example, 77.5804 |
|
GeoLocationId |
Yes |
string |
ID of the geolocation. For example, WARD_2, POI_WARD_2 |
|
Distance |
Optional |
double |
Distance in meters. For example, 10. The default value is 0. |
/geolocation/v1/GeoTest/Check/Within/GeoPosition
Response
Format: JSON
Sample Response:
|
Code |
Description |
|---|---|
|
200 |
Matched the geolocations within the vicinity of a geoposition successfully |
|
400 |
Invalid request. Wrong format or structure of the provided request body |
|
403 |
Access denied. You did not have the required permissions to access the resource. |
|
404 |
Geolocation ID not found |