GET eco/sites?distanceInKm={distanceInKm}&latitude={latitude}&longitude={longitude}&cityId={cityId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
distanceInKm | decimal number |
Required |
|
latitude | decimal number |
None. |
|
longitude | decimal number |
None. |
|
cityId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of SiteQueryGETName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
Id | integer |
None. |
|
City | CityGET |
None. |
|
Name | string |
None. |
|
MapUrl | string |
None. |
|
DistanceFromLocation | decimal number |
None. |
|
Image | string |
None. |
|
Org | SiteOrg |
None. |
Response Formats
application/json, text/json
Sample:
[ { "description": "sample string 1", "id": 2, "city": { "id": 1, "name": "sample string 2", "description": "sample string 3", "latitude": 4.1, "longitude": 5.1, "status": { "id": 1, "name": "sample string 2" }, "modified": "2024-09-08T06:49:23.015736+02:00", "modifiedBy": { "id": 1, "username": "sample string 2" } }, "name": "sample string 3", "mapUrl": "sample string 4", "distanceFromLocation": 1.1, "image": "sample string 5", "org": null }, { "description": "sample string 1", "id": 2, "city": { "id": 1, "name": "sample string 2", "description": "sample string 3", "latitude": 4.1, "longitude": 5.1, "status": { "id": 1, "name": "sample string 2" }, "modified": "2024-09-08T06:49:23.015736+02:00", "modifiedBy": { "id": 1, "username": "sample string 2" } }, "name": "sample string 3", "mapUrl": "sample string 4", "distanceFromLocation": 1.1, "image": "sample string 5", "org": null } ]
application/xml
Sample:
text/xml
Sample: