GET eco/sites/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SiteGET| Name | Description | Type | Additional 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": "2025-12-04T16:19:07.8634973+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:
text/xml
Sample: