GET eco/sites/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

SiteGET
NameDescriptionTypeAdditional information
City

CityGET

None.

Contacts

Collection of ContactGET

None.

Coordinates

Coordinates

None.

Description

string

None.

FeaturedImage

string

None.

Id

integer

None.

Media

Collection of MediaGET

None.

Name

string

None.

OpeningTimes

OpeningTimes

None.

Org

Organisation

None.

PaymentTypes

Collection of PaymentTypeGET

None.

Pricing

string

None.

Response Formats

application/json, text/json

Sample:
{
  "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:32.7897484+00:00",
    "modifiedBy": {
      "id": 1,
      "username": "sample string 2"
    }
  },
  "contacts": [
    {
      "contactNo": "sample string 1",
      "id": 2,
      "email": "sample string 3",
      "name": "sample string 4"
    },
    {
      "contactNo": "sample string 1",
      "id": 2,
      "email": "sample string 3",
      "name": "sample string 4"
    }
  ],
  "coordinates": null,
  "description": "sample string 1",
  "featuredImage": "sample string 2",
  "id": 3,
  "media": null,
  "name": "sample string 4",
  "openingTimes": {
    "open": "00:00:00.1234567",
    "close": "00:00:00.1234567"
  },
  "org": {
    "id": 1,
    "name": "sample string 2",
    "logo": "sample string 3"
  },
  "paymentTypes": [
    {
      "id": 1,
      "name": "sample string 2",
      "url": "sample string 3"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "url": "sample string 3"
    }
  ],
  "pricing": "sample string 5"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.