Skip to content

Manage room facilities

Use the GET and the PUT endpoints to:

  • Retrieve room facilities set for a property.
  • Add, modify or delete room facilities.

Retrieve room facilities set for a property.

Request

Retrieve the facility details for all the facility instances added to the rooms

Path
propertyIdinteger, (int32)required
roomIdinteger, (int64)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}/rooms/{roomId}?debugInfo=false'

Responses

OK

Body*/*
dataArray of objects(RoomFacility)
warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{
  "data": [
    {
      "room_facility_id": 0,
      "state": "MISSING",
      "room_facility_instances": [
        {
          "linen_details": {
            "has_crib_linen": false,
            "has_fitted_sheet": false,
            "has_top_sheet": false,
            "has_blanket": false,
            "has_extra_blankets": false,
            "has_pillow": false,
            "has_mattress_protector": false
          },
          "crib_details": {
            "is_foldable": false,
            "is_standalone": false
          }
        }
      ],
      "room_facility_meta": {
        "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
          }
        ]
      },
      "facilityMetaType": {
        "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
          }
        ]
      }
    }
  ],
  "warnings": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "errors": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "meta": {
    "ruid": "string"
  }
}