Cancellation policies
Last updated
Was this helpful?
Last updated
Was this helpful?
Restricted!This operation is currently in beta-test and as such it is subject to change. Returns all cancellation policies, filtered by services, rate groups and other filters. Note this operation uses and supports .
[PlatformAddress]/api/connector/v1/cancellationPolicies/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.
EnterpriseIds
array of string
optional, max 1000 items
Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.
ServiceIds
array of string
required, max 100 items
CancellationPolicyIds
array of string
optional, max 1000 items
RateGroupIds
array of string
optional, max 1000 items
UpdatedUtc
optional, max length 3 months
Interval in which the Cancellation Policy was updated. Required if no other filter is provided.
ActivityStates
optional
Whether to return only active, only deleted, or both types of record. If not specified, only active records will be returned.
Limitation
required
Limitation on the quantity of data returned and optional Cursor for the starting point of data.
CancellationPolicies
required, max 1000 items
The filtered cancellation policies.
Cursor
string
optional
Id
string
required
Unique identifier of the cancellation policy.
RateGroupId
string
required
Unique identifier of the rate group the cancellation policy belongs to.
CreatedUtc
string
required
Date and time of the cancellation policy creation in UTC timezone in ISO 8601 format.
UpdatedUtc
string
required
Date and time of the cancellation policy update in UTC timezone in ISO 8601 format.
Applicability
required
Applicability mode of the cancellation policy.
FeeExtent
required
Extent for the cancellation fee, i.e. what should be in scope for the automatic payment.
ApplicabilityOffset
string
required
Offset for order start (assuming Applicability is set to Start) from which the fee is applied.
FeeMaximumTimeUnits
integer
optional
Maximum number of time units the cancellation fee is applicable to.
AbsoluteFee
required
Absolute value of the fee.
RelativeFee
number
required
Relative value of the fee, as a percentage of the reservation price.
IsActive
boolean
required
Whether the cancellation policy is still active.
Creation
Start
StartDate
TimeUnits
Products
Restricted!This operation is currently in beta-test and as such it is subject to change.
[PlatformAddress]/api/connector/v1/cancellationPolicies/getByReservations
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.
ReservationIds
array of string
required, max 100 items
Unique identifiers of the Reservation
.
CancellationPolicies
required, max 1300 items
List of cancellation policies data grouped by reservation.
ReservationId
string
required
Unique identifier of the reservation.
Policies
required
Collection of cancellation policy data.
Applicability
required
Applicability mode of the cancellation policy.
FeeExtents
required
Extent for the cancellation fee, i.e. what should be in scope for the automatic payment.
ApplicabilityOffset
string
required
Offset for order start (assuming Applicability is set to Start) from which the fee is applied in ISO 8601 duration format.
FeeMaximumTimeUnits
integer
optional
Maximum number of time units the cancellation fee is applicable to.
AbsoluteFee
required
Absolute value of the fee.
RelativeFee
number
required
Relative value of the fee, as a percentage of the reservation price.
Creation
Start
StartDate
Nothing
TimeUnits
Products
Everything
Restricted!This operation is currently in beta-test and as such it is subject to change.
[PlatformAddress]/api/connector/v1/cancellationPolicies/getByRates
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.
RateIds
array of string
required, max 100 items
Unique identifiers of the Rate
.
ReservationStartUtc
string
required
Start of the reservation interval in UTC timezone in ISO 8601 format.
ReservationEndUtc
string
required
End of the reservation interval in UTC timezone in ISO 8601 format.
CancellationPolicies
required, max 1300 items
List of cancellation policies data grouped by rate.
RateId
string
required
Unique identifier of the Rate
.
Policies
required
Collection of cancellation policy data.
Unique identifiers of the .
Unique identifiers of the . Required if no other filter is provided.
Unique identifiers of the . Required if no other filter is provided.
array of
array of
Unique identifier of the last and hence oldest cancellation policy returned. This can be used in in a subsequent request to fetch the next batch of older cancellation policies.
array of
Gets cancellation policies for enterprise grouped by reservation for granular cancellation policies flow. This operation supports .
array of
array of
array of
Gets cancellation policies for enterprise grouped by rate for granular cancellation policies flow. This operation supports .
array of
array of