Get Connection Status
This endpoint allows partners to check the current connection status of a hotel property in the system.
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
Response
Attributes
Status string
Indicates the result of the API call (for example, "Success", "Fail").
Data object
Contains information about the property's connection status.
property_id integer
Unique identifier for the property in the system.
status string
Current connection status of the property.
connected_at string
Timestamp representing when the connection was established.
Message string
Descriptive message providing context for the connection status response.
Ruid string
Unique request identifier used for tracking and logging purposes.
Sample Success Response
Error
Sample Error Response 1
Sample Error Response 2
Sample Error Response 3
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?