Skip to main content

PreferenceRuleCriteria

The PreferenceRuleCriteria type represents the criteria of a PreferenceRule.

type PreferenceRuleCriteria {
clientTokens: [String!]
suppliers: [String!]
noSuppliers: [String!]
bookingDateFrom: DateTime!
bookingDateTo: DateTime!
startDateFrom: DateTime!
startDateTo: DateTime!
hotelCodes: [String!]
noHotelCodes: [String!]
countryCodes: [String!]
noCountryCodes: [String!]
}

Fields

PreferenceRuleCriteria.clientTokens ● [String!] list scalar

List of the client tokens you want the rule to be applied to. "clientToken" is a dynamic parameter that you can include in your query request if you wish to enforce particular rules from the preference.

PreferenceRuleCriteria.suppliers ● [String!] list scalar

List of the specific suppliers you want the rule to be applied to

PreferenceRuleCriteria.noSuppliers ● [String!] list scalar

List of the specific suppliers you don't want the rule to be applied to

PreferenceRuleCriteria.bookingDateFrom ● DateTime! non-null scalar

Booking date from when the rule will be applied.

PreferenceRuleCriteria.bookingDateTo ● DateTime! non-null scalar

Booking date to when the rule will be applied.

PreferenceRuleCriteria.startDateFrom ● DateTime! non-null scalar

Start date from when the rule will be applied.

PreferenceRuleCriteria.startDateTo ● DateTime! non-null scalar

Start date to when the rule will be applied.

PreferenceRuleCriteria.hotelCodes ● [String!] list scalar

List of the specific hotel codes you want the rule to be applied to

PreferenceRuleCriteria.noHotelCodes ● [String!] list scalar

List of the specific hotel codes you don't want the rule to be applied to

PreferenceRuleCriteria.countryCodes ● [String!] list scalar

List of the specific countryCodes you want the rule to be applied to

PreferenceRuleCriteria.noCountryCodes ● [String!] list scalar

List of the specific countryCodes you don't want the rule to be applied to

Member Of

PreferenceRuleData object