Get Connection Request
This API endpoint allows clients to retrieve connection request details for a specific hotel property.
Endpoint
POST
Header
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key required for authorization.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotel_id string (Required)
Specifies the hotel ID for the property.
channel_hotel_id string (Required)
Specifies the channel-specific hotel ID for the property.
Sample Request 1
Retrieve Connection Request Details For Specific Property
Response
Attributes
Status string
Indicates the result of the API call.
Data object
Contains the main response data, such as property connection details.
Data.connection_request_data[] array
List of connection request records for properties.
connection_request_data.legal_entity object
Details of the legal entity managing the property.
legal_entity.id integer
Unique identifier of the legal entity.
legal_entity.company_name string
Name of the company or legal entity associated with the property.
connection_request_data.connection_types[] array of strings
Types of integrations requested for the connection.
connection_request_data.requested_at string
Timestamp when the connection request was submitted.
connection_request_data.property object
Information about the property.
property.country_code string
Code representing the property's country.
property.zip_code string
Postal code of the property's location.
property.id integer
Unique identifier of the property in the system.
property.name string
Name of the hotel or property.
property.city string
City where the property is located.
property.address string
Street address of the property.
connection_request_data.pricing object
Contains pricing model details.
pricing.currency_code string
Currency used by the property.
pricing.model string
Pricing model configured for the property.
Message string
Descriptive message summarizing the API operation's outcome.
Ruid string
Unique request identifier for tracking, debugging, and logging.
Sample Success Response
Success Response 2
Error
Sample Error Response 1
Sample Error Response 2
Sample Error Response 3
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.
Sample Request 2
Retrieve Connection Request Details For Any Property
Attributes
start_time string (Required)
Defines the beginning of the time range for fetching connection data.
end_time string (Optional)
Filters results to include properties with the specified connection type.
connection_type string (Optional)
Filters results to include properties with the specified connection type.
missing_connection_type string (Optional)
Filters results to include only properties missing the specified connection type.
page_size integer (Optional)
Specifies the maximum number of records to return in one page. Useful for paginated responses.
order_by string (Optional)
Defines the sorting order of the results.
Retrieve Connection Request Details For Any Property
Response
Attributes
Status string
Indicates the outcome of the API request. Expected value: Success.
Data object
Contains the primary payload of the response. May include an array of connection request records or be empty if no data is found.
Data.connection_request_data array
An array containing individual connection request records. If no data exists, this will be an empty array.
Each object within connection_request_data contains:
legal_entity.id integer
Unique identifier of the legal entity associated with the property.
legal_entity.company_name string
Official name of the company or legal entity managing the property.
connection_types array of string
List of requested or supported connection types.
requested_at string
Timestamp indicating when the connection request was made.
property.country_code string
Country code of the property's location.
property.zip_code string
Postal or ZIP code of the property's address.
property.id integer
Unique identifier of the property in the system.
property.name string
Name of the property or hotel.
property.city string
City where the property is located.
property.address string
Full street address of the property.
pricing.currency_code string
Currency used by the property.
pricing.model string
Pricing strategy or model adopted by the property.
Message string
Human-readable description of the response outcome.
Ruid string
Unique identifier used for request tracing, logging, and debugging.
Sample Success Response
Success Response 2
Error
Sample Error Response 1
When error was thrown from booking.com
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.
Last updated
Was this helpful?