Skip to content

Meta data endpoint

Retrieve the latest facility definitions.

  • Get the list of all supported facilities
    • To get the details of a property-level facility: Look for a matching name under the facility_name in the response. To add this facility, you must specify the facility_id. Property-level facilities are listed under the property_facility_metas in the meta endpoint response.
    • To get the details of the room-level facility: Look for a matching name under the room_facility_name in the response. To add the facility, you must specify the room_facility_id. Room-level facilities are listed under the room_facility_metas in the meta endpoint response.
  • Details of the facilities such as ID, OTA code and any optional parameters.
Operations

Retrieving facilities metadata

Request

Explore available facilities, facility IDs and applicable details.

curl -i -X GET \
  https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync/meta

Responses

OK

Body*/*
dataobject(FacilityMeta)

Contains meta data about property & room facilities

warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{
  "data": {
    "property_facility_metas": [
      {
        "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"
          }
        ]
      }
    ],
    "room_facility_metas": [
      {
        "room_facility_id": 0,
        "ota_room_amenity_type": 0,
        "booking_extended_legacy_code": 0,
        "room_facility_name": "string",
        "allowed_details_list": [
          {
            "is_foldable": false,
            "is_standalone": false
          }
        ]
      }
    ],
    "bathroom_configurations": [
      {
        "unit_type_id": 0,
        "unit_type_name": "string",
        "allowed_options": [
          {
            "bathroom_type": "PRIVATE",
            "bathroom_locations": [
              "ENSUITE"
            ]
          }
        ]
      }
    ]
  },
  "warnings": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "errors": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "meta": {
    "ruid": "string"
  }
}