Skip to content

Retrieve property-level facilities

Request

Retrieve facility instance IDs along with the facility details for all the facility instances added to the property.

Path
propertyIdintegerrequired
Query
debugInfostring

When set to true, attaches facility metadata (facility names, OTA codes, allowed detail types) to each item in the response. Significantly increases payload size. Do not use in production environments.

Default:"false"
curl -i -X GET \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-api-specification/facilities-api/properties/{propertyId}?debugInfo=false'

Responses

OK

Bodyapplication/json
dataArray of objects(PropertyFacilityResponse)
warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{ "data": [], "warnings": [], "errors": [], "meta": { "ruid": "46fc2375-ed22-430f-8ec4-06d5eca1efbe" } }