Rules
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns all rules applied with the reservations. Note this operation uses and supports .
[PlatformAddress]/api/connector/v1/rules/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
ServiceIds
array of string
required, max 1000 items
UpdatedUtc
optional, max length 3 months
Extent
required
Extent of data to be returned.
Limitation
required
Limitation on the quantity of data returned.
RuleActions
bool
optional
Whether the response should contain rule actions.
Rates
bool
optional
Whether the response should contain rates.
RateGroups
bool
optional
Whether the response should contain rate groups.
ResourceCategories
bool
optional
Whether the response should contain rate resource categories.
BusinessSegments
bool
optional
Whether the response should contain business segments.
Rules
required
Rules used with reservation creations and modifications.
RuleActions
required
Rule actions applied in rules.
Rates
required
Rates used in conditions.
RateGroups
required
Rate groups used in conditions.
ResourceCategories
required
Resource categories used in conditions.
BusinessSegments
required
Business segments used in conditions.
Cursor
string
optional
Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.
Id
string
required
Unique identifier of the rule.
ServiceId
string
required
Conditions
required
Conditions of the rule.
CreatedUtc
string
required
Creation date and time of the rule in UTC timezone in ISO 8601 format.
UpdatedUtc
string
required
Last update date and time of the rule in UTC timezone in ISO 8601 format.
RateId
required
RateGroupId
required
BusinessSegmentId
required
ResourceCategoryId
required
ResourceCategoryType
required
Origin
required
TravelAgencyId
required
MinimumTimeUnitCount
string
required
Condition based on minimum amount of time units.
MaximumTimeUnitCount
string
required
Condition based on maximum amount of time units.
ConditionType
required
Type of condition.
Value
string
required
Equals
NotEquals
Id
string
required
Unique identifier of the rule action.
RuleId
string
required
Unique identifier of the rule.
Data
optional
Additional information about action.
Discriminator
required
Determines type of value.
Value
object
required
Product
- Data specific to a product.
ProductId
string
required
Unique identifier of product.
ActionType
required
Action of rule.
Add
- Adds specified item.
Delete
- Deletes specified item.
Unique identifiers of the .
Interval in which was updated.
array of
array of
array of
array of
array of
array of
Unique identifier of the the rule is assigned to.
Condition based on .
Condition based on .
Condition based on .
Condition based on .
Condition based on .
Condition based on .
Condition based on .
string
Value of the condition depending on the property. E.g. in case of origin condition or unique identifier of a rate in case of rate condition.
string
Structure of object depends on .
string