Retrieve Supported Facilities
Last updated
Was this helpful?
Last updated
Was this helpful?
This endpoint allows you to retrieve a list of supported facilities for a property and room. The response provides details about the facilities available at the property, including what instances are required or optional for each facility.
GET
Indicates the result of the API call.
Data
array
An array containing data related to the successful image creation. This typically includes identifiers for the created images.
Message
string
Provides a brief message about the outcome. Here, it states "Successfully fetch details," confirming that the requested information was retrieved.
property
array
This array contains details about the facilities available at the property level (e.g., parking, restaurant, bar, etc.).
Each facility object contains the following fields:
facility_id
string
A unique identifier for the facility.
facility_name
string
The name of the facility.
instances
object
Contains required and optional details for the facility.
required
array
A list of attributes that must be provided for this facility.
optional
array
A list of optional attributes that can be provided but are not mandatory.
Example:
multiple_instances
boolean
Indicates whether multiple instances of this facility can be available (for example, multiple restaurants or multiple parking spaces).
room
array
This array contains details about the facilities available within individual rooms.
Each room facility object contains the following fields:
facility_id
string
A unique identifier for the room facility.
facility_name
string
The name of the facility available in the room (for example, coffee/tea maker, minibar).
accepted_value
string
The type of value expected for this room facility (usually a boolean indicating if the facility is available or not).
Sample Error Response
Error Response Body Elements
Status
string
Indicates the result of the API call, which will be always "Fail"
in case of an error response.
Error
array
Array that contains details about any errors that occurred during the API call. Each object in the Errors
array contains the following properties:
Code
string
Specific error code that helps identify the type of error.
ShortText
string
A short description of the error.
Message
string
A message providing more information about the error.
Ruid
string
A unique identifier for tracking the request.