Skip to main content

BookSettings

Represents the settings for a hotel booking request.

Properties

NameTypeDescription
SupplierStringIdentifies the supplier associated with the hotel operation. This is a unique code generated by Travelgate within its system to represent the supplier.
PlatformStringRepresents the platform on which the hotel operation is performed.Platforms are collections of suppliers, and the platform code is generated by Travelgate to define the operational context.
ClientStringRepresents the client performing the hotel operation.This is a unique client code assigned by Travelgate to identify the client within its system.
AccessAccessContains access information required for the operation, including API credentials, endpoints, and other connection details specific to the supplier's integration.
Access/CodeIntegerThe unique code identifying the access configuration.
Access/UserStringThe username used for authentication with the supplier.
Access/PasswordStringThe password used for authentication with the supplier.
Access/ApiKeyStringThe API key used for authentication or authorization.
Access/UrlsUrlsThe URLs associated with the access configuration.
Access/Urls/BookStringThe URL used for booking operations.
Access/Urls/SearchStringThe URL used for search operations.
Access/Urls/QuoteStringThe URL used for quote operations.
Access/Urls/GenericStringA generic URL for additional operations.
Access/ParametersAccessParametersAdditional parameters related to the connection.
BusinessRulesBusinessRulesSpecifies the business rules to be applied during the operation. These rules define operational constraints and behavior, such as quota limits or prioritization criteria.
BusinessRules/OptionsQuotaIntegerThe maximum number of options that can be returned for a search operation.
BusinessRules/BusinessRuleTypeBusinessRulesTypeThe business rule type that determines how search results are prioritized or filtered.
TimeoutStringDefines the timeout period for the operation as a string value.This indicates the maximum amount of time to wait for a supplier's response before timing out.The value must be provided in timestamp format (e.g., "00:05:00" for 5 minutes).
TimeoutAsTimeSpanStringConverts the timeout value from the string representation (Timeout) into a TimeSpan for use in time-based operations.
IncludeProviderTransactionsBooleanIndicates whether detailed traces of provider transactions should be included in the operation's response.If enabled, the ProviderAudit field in responses will contain the transaction logs (e.g., requests and responses exchanged with the supplier).
CommitRequiredBooleanIndicates whether a commit is required for the booking.