Get Disconnection Summaries
This endpoint allows you to retrieve detailed information about service disconnections for one or multiple properties connected through Booking.com.
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.
Sample Request 1
Get Disconnection detail for specific property
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.
Response
Sample Success Response 1
Error
Sample Error Response 1
Sample Error Response 2
Sample Request 2
Get Disconnection detail for All property
Attributes
start_time string (Required)
Defines the beginning of the time range for fetching disconnection data.
end_time string (Optional)
Filters results to include properties with the specified disconnection type.
disconnection_type string (Optional)
Filters results to include properties with the specified disconnection type.
page_size integer (Optional)
Specifies the maximum number of records to return in one page. Useful for paginated responses.
cursor string (Optional)
Cursor token for pagination. Used to fetch the next/previous set of results.
order_by string (Optional)
Defines the sorting order of the results.
Get Disconnection detail for All property
Response
Status string
Indicates whether the request was successful or failed.
Possible values: "Success" or "Fail".
Data object
Holds the main content of the response, including disconnected property details and pagination information.
Data.deactive_connection_data array
A list containing details of each disconnected property that matched the request.
Data.deactive_connection_data[].property_id integer
The unique identifier for the property on the connected channel, such as Booking.com.
Data.deactive_connection_data[].connection_types object
A list of services that were disconnected for the property. Each service is paired with the timestamp when it was disconnected.
Data.deactive_connection_data[].fully_disconnected boolean
Shows whether all services for the property were disconnected.
Possible values: true or false.
Data.deactive_connection_data[].last_disconnected_at string
The date and time when the most recent disconnection occurred.
Data.other_data object
Provides additional details such as pagination counters for the result set.
Data.other_data.Next_Count integer
The number of records that are available on the next page of results.
Data.other_data.Previous_Count integer
The number of records that are available on the previous page of results.
Message string
A human-readable message describing the result of the API request.
Ruid string
A unique identifier for the request, used for logging, troubleshooting, or support tracking.
Sample Success Response 1
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?