The Park Data endpoint allows external partners to retrieve detailed information about parks, including park conditions, available facilities, and virtual tour links. This data can be used to enhance the user experience by displaying up-to-date park information on your platforms.
Endpoint
URL: /bungalow/api/v1/booking/parkData
Method: GET
Response Model
ParkDataResult
| Field |
Type |
Description |
parkCondition |
string (optional) |
A brief description of the park’s condition. |
parkFacilities |
Array of ParkFacilityResult (optional) |
A list of facilities available at the park. |
virtualTourLink |
string (optional) |
A link to the park’s virtual tour. |
ParkFacilityResult
| Field |
Type |
Description |
facilityId |
integer |
The unique identifier of the facility. |
facilityName |
string |
The name of the facility. |
keyword |
string |
A keyword describing the facility’s purpose. |
Example Response
{
"parkCondition": "Well-maintained and family-friendly",
"parkFacilities": [
{
"facilityId": 1,
"facilityName": "Swimming Pool",
"keyword": "recreation"
},
{
"facilityId": 2,
"facilityName": "Tennis Court",
"keyword": "sports"
}
],
"virtualTourLink": "https://example.com/virtual-tour"
}
Notes
- The
parkFacilities array is optional and may be empty if no facilities are available for the specified park.
- The
virtualTourLink is optional and may not be present if the park does not have a virtual tour.