Skip to content

Retrieve room bathroom configuration

Request

Retrieve room bathroom configuration. Bathroom attached to rooms.

Path
propertyIdinteger, (int32)required
roomIdinteger, (int64)required
curl -i -X GET \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/facilities-api/facilities-openspec-remote-sync/properties/{propertyId}/rooms/{roomId}/bathrooms'

Responses

OK

Body*/*
dataobject(BathroomDetails)
warningsArray of objects(ApiError)
errorsArray of objects(ApiError)
metaobject(ResponseMeta)
Response
{
  "data": {
    "property_bathroom_details": {
      "bathrooms": [
        {
          "id": 0,
          "bathroom_type": "PRIVATE",
          "bathroom_location": "ENSUITE",
          "hostel_bathroom_details": {
            "gender": "FEMALE",
            "num_guests_with_access_type": "NUMBER_LESS_THAN_5",
            "bathroom_facilities": [
              {}
            ]
          }
        }
      ]
    },
    "hotel_bathroom_details": {
      "private_bathroom_state": "MISSING",
      "shared_bathroom_state": "MISSING",
      "private_bathroom_details": {
        "type": "DEFAULT",
        "location_type": "DEFAULT",
        "location_other": "string"
      },
      "number_of_bathrooms": 0
    }
  },
  "warnings": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "errors": [
    {
      "message": "string",
      "code": "string",
      "details": {}
    }
  ],
  "meta": {
    "ruid": "string"
  }
}