GET eco/sites?distanceInKm={distanceInKm}&latitude={latitude}&longitude={longitude}&cityId={cityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 SiteQueryGET
NameDescriptionTypeAdditional 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-11-20T21:08:31.6645088+00: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-11-20T21:08:31.6645088+00: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:

Sample not available.

text/xml

Sample:

Sample not available.