Channel Password Setup
The Flow of the Channel Password Setup -
Step 1 - Add Expedia as a channel for which the Setup is to be done.
Step 2 - Add the valid data/values for multiple fields related to the Channel password setup process.
Step 3 - Submit all the data. (If the channel password setup is successfully done, the system will acknowledge with a message - "Success". And in case of failure, system will acknowledge with an error message.)
Endpoint
POST
Attributes
hotelid alphanumeric (Required)
Specifies the required node hotelid contains the IT provider's hotel id for which the provider wishes to add mapping information.
action enum (Required)
Indicates the call is meant to OTA setup for property.
channelid numeric (Required)
Specifies the Channel Code for OTA in Su. (for example, Booking.com, Expedia, Airbnb).
status string (Required)
Defines the status of the channel connection in the system.
channelhotelid alphanumeric (Required)
Specifies the unique hotel ID used in the external distribution channel or PMS (Property Management System).
pricingmodel string (Optional)
Defines the pricing strategy used for the hotel.
currency string (Required)
Specifies the default currency code used for pricing.
convertrates boolean (Optional)
Indicates whether the API should automatically convert prices into the configured currency.
excludefees boolean (Optional)
Indicates whether additional taxes or fees should be excluded from the displayed room price.
markdowntax number (Optional)
Specifies the percentage of tax markdown applied on the final room price.
defaultmultiplier number (Optional)
Defines the default multiplier value applied in rateplan mapping.
defaultsurcharge number (Optional)
Specifies the default surcharge value applied in rateplan mapping
connection_name string (Optional)
Provides a unique name for the hotel connection to identify it easily in dashboards and reports.
Sample Request
Response
Success Response - 200 Body Elements
channelmapping arrray of objects
Channel mapping response.
type string
Managable or non-managable.
rateplan string
The rate plan name.
channelroomname string
Indicates channel room name.
channelroomid string
Indicates channel room id.
channelratename string
Indicates channel rate name.
channelrateid alphanumeric
Indicates channel rate id.
mappingstring string
Indicates channel room id and rate id.
Status string
Indicates the result of the API call.
Errors Response - 400 Body Elements
Status string
Indicates the result of the API call, which will be always "Failed" in case of an error response.
Errors 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.
Last updated
Was this helpful?