Skip to content

Manage property facilities

Use the GET and the PUT endpoints to:

  • Retrieve property-level facilities details
  • Add, modify or delete property-level facilities details
    • Add single-instance facilities
    • Add multi-instance facilities

Retrieve property-level facilities

Request

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

Path
propertyIdinteger, (int32)required
Query
debugInfostring
Default:"false"
curl -i -X GET \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync/properties/{propertyId}?debugInfo=false'

Responses

OK

Body*/*
dataArray of objects(PropertyFacility)
warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{
  "data": [
    {
      "facility_id": 0,
      "instances": [
        {
          "restaurant_details": {
            "name": "string",
            "guests_only": true,
            "accept_reservations": true,
            "outdoor_seating": true,
            "meal_types_list": "UNKNOWN_MEAL_TYPE",
            "ambiances_list": "UNKNOWN_AMBIANCE",
            "open_for_meals_list": "UNKNOWN_OPEN_FOR_MEALS",
            "cuisines_list": "UNKNOWN_CUISINE",
            "is_buffet": true,
            "is_alacarte": true
          },
          "parking_details": {
            "name": "string",
            "parking_type": "UNKNOWN_PARKING_TYPE",
            "parking_location": "ON_SITE",
            "parking_access": "ONLY_GUESTS",
            "parking_reservation": "NEEDED",
            "max_height_m": 0,
            "has_valet_service": "NOT_SPECIFIED",
            "has_onsite_staff": "NOT_SPECIFIED",
            "has_gated_parking": "NOT_SPECIFIED",
            "has_security_cameras": "NOT_SPECIFIED",
            "has_ev_charging_station": "NOT_SPECIFIED",
            "has_accessible_parking_spots": "NOT_SPECIFIED"
          },
          "payment_details": {
            "charge_mode": "UNKNOWN_CHARGE_MODE",
            "charge_details": {
              "price": 0.1,
              "frequency": "UNKNOWN_FREQUENCY"
            }
          },
          "swimming_pool_details": {
            "name": "string",
            "swimming_pool_type": "UNKNOWN_POOL_TYPE",
            "availability_type": "UNKNOWN_AVAILABILITY",
            "allowed_age_type": "UNKNOWN_AGE_TYPE",
            "has_loungers": true,
            "has_water_slide": true,
            "has_pool_bar": true,
            "has_pool_cover": true,
            "has_free_towels": true,
            "has_pool_toys": true,
            "has_sun_umbrellas": true,
            "has_fence_around_pool": true,
            "has_snake_trap": true,
            "is_shared": true,
            "is_rooftop": true,
            "is_shallow_end": true,
            "is_infinity": true,
            "is_heated": true,
            "is_salt_water": true,
            "is_pool_with_view": true,
            "is_plunge_pool": true
          },
          "internet_details": {
            "area": "UNKNOWN_COVERAGE",
            "type": "NONE",
            "wifi_info": {
              "network_name": "string",
              "speed_download": 0.1,
              "speed_upload": 0.1
            }
          },
          "kids_pool_details": {
            "swimming_pool_dimensions": {
              "length": 0.1,
              "width": 0.1,
              "depth_min": 0.1,
              "depth_max": 0.1,
              "unit": "METER"
            },
            "has_shallow_end": false
          },
          "on_site_details": {
            "onsite_type": "DEFAULT"
          },
          "age_limit_details": {
            "age_limit": "AGE_1"
          },
          "schedule_details": {
            "schedule": [
              {}
            ]
          },
          "temporarily_closed_details": {
            "closed": [
              {}
            ]
          },
          "surcharge_details": {
            "surcharge_type": "DEFAULT"
          },
          "meal_details": {
            "breakfast_types": [
              "CONTINENTAL"
            ],
            "breakfast_food_item_types": [
              "BREAD"
            ],
            "price": 0.1
          }
        }
      ],
      "state": "MISSING",
      "property_facility_meta": {
        "facility_id": 0,
        "ota_hotel_amenity_type": 0,
        "booking_extended_legacy_code": 0,
        "facility_name": "string",
        "allowed_details_list": [
          {
            "age_limit": "AGE_1"
          }
        ],
        "required_details_list": [
          {
            "name": "string",
            "parking_type": "UNKNOWN_PARKING_TYPE",
            "parking_location": "ON_SITE",
            "parking_access": "ONLY_GUESTS",
            "parking_reservation": "NEEDED",
            "max_height_m": 0,
            "has_valet_service": "NOT_SPECIFIED",
            "has_onsite_staff": "NOT_SPECIFIED",
            "has_gated_parking": "NOT_SPECIFIED",
            "has_security_cameras": "NOT_SPECIFIED",
            "has_ev_charging_station": "NOT_SPECIFIED",
            "has_accessible_parking_spots": "NOT_SPECIFIED"
          }
        ]
      },
      "facilityMetaType": {
        "facility_id": 0,
        "ota_hotel_amenity_type": 0,
        "booking_extended_legacy_code": 0,
        "facility_name": "string",
        "allowed_details_list": [
          {
            "age_limit": "AGE_1"
          }
        ],
        "required_details_list": [
          {
            "name": "string",
            "parking_type": "UNKNOWN_PARKING_TYPE",
            "parking_location": "ON_SITE",
            "parking_access": "ONLY_GUESTS",
            "parking_reservation": "NEEDED",
            "max_height_m": 0,
            "has_valet_service": "NOT_SPECIFIED",
            "has_onsite_staff": "NOT_SPECIFIED",
            "has_gated_parking": "NOT_SPECIFIED",
            "has_security_cameras": "NOT_SPECIFIED",
            "has_ev_charging_station": "NOT_SPECIFIED",
            "has_accessible_parking_spots": "NOT_SPECIFIED"
          }
        ]
      }
    }
  ],
  "warnings": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "errors": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "meta": {
    "ruid": "string"
  }
}