Availability adjustments
Get all availability adjustments
Returns all availability adjustments. Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/availabilityAdjustments/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.
AvailabilityAdjustmentIds
array of string
optional, max 1000 items
UpdatedUtc
optional, max length 3 months
Interval in which the availability adjustments were updated.
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.
Response
AvailabilityAdjustments
required
Availability adjustments.
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.
Availability adjustment
Id
string
required
AvailabilityBlockId
string
optional
ResourceCategoryId
string
required
FirstTimeUnitStartUtc
string
required
LastTimeUnitStartUtc
string
required
UnitCount
integer
required
Adjustment value applied on the interval.
ReleaseOverrideUtc
string
optional
Exact moment the availability adjustment is released; overrides the release strategy of the associated availability block.
UpdatedUtc
string
required
Last update date and time of the adjustment in UTC timezone in ISO 8601 format.
IsActive
boolean
required
Whether the availability adjustment is still active.
PaxCounts
optional, max 5 items
Collection of predicted occupancy of availability adjustments. Relates to how many adjustments are assigned to each count of guests.
StartUtc
string
optional
Start of the interval in UTC timezone in ISO 8601 format. Deprecated!
EndUtc
string
optional
End of the interval in UTC timezone in ISO 8601 format. Deprecated!
ActivityState
required
Shows whether the availability adjustment is active or deleted. Deprecated! Use IsActive
instead.
Last updated
Was this helpful?