Reservations
Get all reservations (ver 2023-06-06)
Returns all reservations within scope of the Access Token, filtered according to the specified parameters. This operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/getAll/2023-06-06
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.
ReservationIds
array of string
optional, max 1000 items
ServiceIds
array of string
optional, max 1000 items
ReservationGroupIds
array of string
optional, max 1000 items
AccountIds
array of string
optional, max 1000 items
Numbers
array of string
optional, max 1000 items
A list of reservation numbers. Each number uniquely identifies a reservation within the system
AssignedResourceIds
array of string
optional, max 1000 items
CreatedUtc
optional, max length 3 months
UpdatedUtc
optional, max length 3 months
Interval in which the Reservations
were updated.
CollidingUtc
optional, max length 3 months
Interval in which the reservations are active. This is defined for a Reservation
as the period between the reservation's scheduled start time ScheduledStartUtc
and its scheduled end time EndUtc
. Reservation is selected if any part of its interval intersects with the interval specified in `CollidingUtc
ScheduledStartUtc
optional, max length 3 months
Interval filtering Reservations by their scheduled start time.
ScheduledEndUtc
optional, max length 3 months
Interval filtering Reservations by their scheduled end time.
States
optional
A list of service order states to filter by.
Limitation
required
Limitation on the quantity of data returned and optional Cursor for the starting point of data.
Response
Reservations
required
The reservations of the enterprise.
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.
Reservation (ver 2023-06-06)
Id
string
required
Unique identifier of the reservation.
ServiceId
string
required
Unique identifier of the Service
that reservation is made against.
AccountId
string
required
Unique identifier of the Customer or Company who owns the reservation, i.e. the main guest linked to the reservation.
AccountType
required
CreatorProfileId
string
required
Unique identifier of the user who created the reservation.
UpdaterProfileId
string
required
Unique identifier of the user who updated the reservation.
BookerId
string
optional
Unique identifier of the booker who made the reservation on behalf of the reservation owner, in the special case where the booker is also a registered customer in Mews.
Number
string
required
Confirmation number of the reservation in Mews.
State
required
State of the reservation.
Origin
required
Origin of the reservation.
CommanderOrigin
optional
Further detail about origin in case of Origin Commander
.
OriginDetails
string
optional
Details about the reservation Origin
.
CreatedUtc
string
required
Creation date and time of the reservation in UTC timezone.
UpdatedUtc
string
required
Last update date and time of the reservation in UTC timezone.
CancelledUtc
string
optional
Cancellation date and time in UTC timezone.
VoucherId
string
optional
Unique identifier of the Voucher
that has been used to create reservation.
BusinessSegmentId
string
optional
Identifier of the reservation BusinessSegment
.
Options
required
Options of the reservation.
RateId
string
required
Identifier of the reservation Rate
.
CreditCardId
string
optional
Unique identifier of the Credit card.
GroupId
string
required
Unique identifier of the Reservation group.
RequestedResourceCategoryId
string
required
Unique identifier of the Resource category.
AssignedResourceId
string
optional
Identifier of the assigned Resource.
AvailabilityBlockId
string
optional
Unique identifier of the Availability block the reservation is assigned to.
PartnerCompanyId
string
optional
Identifier of the Company
on behalf of which the reservation was made.
TravelAgencyId
string
optional
Identifier of the Travel Agency (Company
) that mediated the reservation.
AssignedResourceLocked
boolean
required
Whether the reservation is locked to the assigned Resource and cannot be moved.
ChannelNumber
string
optional
Number of the reservation within the Channel (i.e. OTA, GDS, CRS, etc) in case the reservation group originates there (e.g. Booking.com confirmation number).
ChannelManagerNumber
string
optional
Unique number of the reservation within the reservation group.
CancellationReason
optional
Cancellation reason of the reservation.
ReleasedUtc
string
optional
Date when the optional reservation is released in UTC timezone.
ScheduledStartUtc
string
required
Scheduled start time of reservation in UTC timezone.
ActualStartUtc
string
optional
Actual customer check-in time of reservation in UTC timezone.
ScheduledEndUtc
string
required
Scheduled end time of reservation in UTC timezone in ISO 8601 format.
ActualEndUtc
string
optional
Actual end time of reservation in UTC timezone in ISO 8601 format.
Purpose
optional
Purpose of the reservation.
QrCodeData
string
optional
QR code data of the reservation.
PersonCounts
required
Number of people per age category the reservation was booked for.
StartUtc
string
required
Reservation start or check-in time (if it's earlier than scheduled start) in UTC timezone in ISO 8601 format. Deprecated! Use ScheduledStartUtc
and ActualStartUtc
instead.
EndUtc
string
required
Scheduled end time of reservation in UTC timezone in ISO 8601 format Deprecated! Use ScheduledEndUtc
and ActualEndUtc
instead.
Service order state
Inquired
- Confirmed neither by the customer nor enterprise.Confirmed
- Confirmed by both parties, before check-in.Started
- Checked in.Processed
- Checked out.Canceled
- Canceled.Optional
- Confirmed by enterprise but not by the guest (the enterprise is holding resource for the guest).Requested
- Confirmed by the customer but not by the enterprise (waitlist).
Service order origin
Distributor
- From the Mews Booking Engine or Booking Engine API.ChannelManager
- From a channel manager.Commander
- From Mews Operations.Import
- From an import process.Connector
- From the Mews Connector API.Navigator
- From Mews Guest Services.
Commander origin
InPerson
Channel
Phone
Email
Website
Message
CallCenter
Service Order Options
OwnerCheckedIn
boolean
required
Owner of the reservation checked in.
AllCompanionsCheckedIn
boolean
required
All companions of the reservation checked in.
AnyCompanionCheckedIn
boolean
required
Any of the companions of the reservation checked in.
ConnectorCheckIn
boolean
required
Check in was done via Connector API.
Reservation cancellation reason
Other
ConfirmationMissed
BookedElsewhere
ForceMajeure
GuestComplaint
NoShow
PriceTooHigh
ServiceNotAvailable
InputError
InvalidPayment
TravelAgency
RequestedByGuest
Update
BookingAbandoned
RequestedByBooker
Reservation purpose
Leisure
Business
Student
Age category parameters
AgeCategoryId
string
required
Count
integer
required
Number of people of a given age category. Only positive value is accepted.
Get all reservations (ver 2017-04-12)
Deprecated!This operation is deprecated. Use reservations/getAll/2023-06-06.
Request
[PlatformAddress]/api/connector/v1/reservations/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
GroupIds
array of string
optional, max 1000 items
ReservationIds
array of string
optional, max 1000 items
CustomerIds
array of string
optional, max 1000 items
AssignedResourceIds
array of string
optional, max 1000 items
RateIds
array of string
optional, max 1000 items
BusinessSegmentIds
array of string
optional, max 1000 items
ChannelNumbers
array of string
optional, max 1000 items
Set of numbers or references used by the Channel (i.e. OTA, GDS, CRS, etc.) in case the reservation group originates there, e.g. Booking.com confirmation numbers.
Numbers
array of string
optional, max 1000 items
StartUtc
string
optional
Start of the interval in UTC timezone in ISO 8601 format. Required when used in conjunction with the TimeFilter or States search parameter.
EndUtc
string
optional
End of the interval in UTC timezone in ISO 8601 format. Required when used in conjunction with the TimeFilter or States search parameter.
TimeFilter
required
Time filter of the interval. If not specified, reservations Colliding with the interval are returned.
Currency
string
optional
States
optional
States the reservations should be in. If not specified, reservations in Confirmed, Started or Processed states or reservations specified by ReservationIds regardless of state are returned.
Extent
required
Extent of data to be returned. E.g. it is possible to specify that together with the reservations, customers, groups and rates should be also returned.
Limitation
required
Limitation on the quantity of data returned.
ServiceId
string
optional
Deprecated!
Reservation time filter
Colliding
- Reservations whose intervals collide with the specified interval.Created
- Reservations created within the specified interval.Updated
- Reservations updated within the specified interval.Start
- Reservations starting (arriving) within the specified interval.End
- Reservations ending (departing) within the specified interval.Overlapping
- Reservations whose intervals contain the specified interval.Canceled
- Reservations canceled within the specified interval.
Reservation extent
Extent of data to be returned. E.g. it is possible to specify that together with the reservations, customers, groups and rates should be also returned.
Reservations
boolean
optional
Whether the response should contain reservations.
ReservationGroups
boolean
optional
Whether the response should contain groups of the reservations.
Customers
boolean
optional
Whether the response should contain customers of the reservations.
CustomerAdresses
boolean
optional
Whether the response should contain addresses of the customers.
CustomerIdentityDocuments
boolean
optional
Whether the response should contain identity documents of the customers.
Services
boolean
optional
Whether the response should contain services reserved by the reservations.
Products
boolean
optional
Whether the response should contain products orderable with the reservations.
BusinessSegments
boolean
optional
Whether the response should contain business segmentation.
Resources
boolean
optional
Whether the response should contain resources.
ResourceCategories
boolean
optional
Whether the response should contain resource categories.
ResourceCategoryAssignments
boolean
optional
Whether the response should contain assignments of the resources to categories.
Rates
boolean
optional
Whether the response should contain rates and rate groups.
Items
boolean
optional
Whether the response should contain accounting items.
OrderItems
boolean
optional
Whether the response should contain reservation items.
Notes
boolean
optional
Whether the response should contain notes.
QrCodeData
boolean
optional
Whether the response should contain QR code data.
Companies
boolean
optional
Whether the response should contain companies.
AccountingStates
optional
States the items should be in. If not specified, items in Open
or Closed
states are returned.
Response
Reservations
optional
The reservations that collide with the specified interval.
ReservationGroups
optional
Reservation groups that the reservations are members of.
Customers
optional
Customers that are members of the reservations.
Services
optional
Services that have been reserved.
Products
optional
Products orderable with reservations.
Resources
optional
Assigned resources of the reservations.
ResourceCategories
optional
Resource categories of the resources.
ResourceCategoryAssignments
optional
Assignments of the resources to categories.
BusinessSegments
optional
Business segments of the reservations.
Rates
optional
Rates of the reservations.
RateGroups
optional
Rate groups of the reservation rates.
Items
optional
Accounting items that are part of the reservations.
OrderItems
optional
Revenue items of the reservations.
Notes
optional
Notes of the reservations.
QrCodeData
optional
QR code data of the reservations.
Companies
optional
Companies related to the reservations.
ResourceAccessTokens
optional
Resource access tokens for the reservations.
Cursor
string
optional
Reservation (ver 2017-04-12)
Id
string
required
Unique identifier of the reservation.
ServiceId
string
required
Unique identifier of the Service that is reserved.
GroupId
string
required
Unique identifier of the Reservation group.
Number
string
required
Confirmation number of the reservation in Mews.
ChannelNumber
string
optional
Number of the reservation within the Channel (i.e. OTA, GDS, CRS, etc) in case the reservation group originates there (e.g. Booking.com confirmation number).
ChannelManagerNumber
string
optional
Unique number of the reservation within the reservation group.
ChannelManagerGroupNumber
string
optional
Number of the reservation group within a Channel manager that transferred the reservation from Channel to Mews.
ChannelManager
string
optional
Name of the Channel manager (e.g. AvailPro, SiteMinder, TravelClick, etc).
State
required
Origin
required
OriginDetails
string
optional
Details about the reservation origin.
Purpose
required
Purpose of the reservation.
CreatedUtc
string
required
Creation date and time of the reservation in UTC timezone in ISO 8601 format.
UpdatedUtc
string
required
Last update date and time of the reservation in UTC timezone in ISO 8601 format.
CancelledUtc
string
optional
Cancellation date and time in UTC timezone in ISO 8601 format.
StartUtc
string
required
Start of the reservation in UTC timezone in ISO 8601 format. This is either the scheduled reservation start time, or the actual customer check-in time if this is earlier than the scheduled start time.
EndUtc
string
required
End of the reservation (departure) in UTC timezone in ISO 8601 format.
ReleasedUtc
string
optional
Date when the optional reservation is released in UTC timezone in ISO 8601 format.
RequestedCategoryId
string
required
Identifier of the requested Resource category.
AssignedResourceId
string
optional
Identifier of the assigned Resource.
AssignedResourceLocked
boolean
required
Whether the reservation is locked to the assigned Resource and cannot be moved.
BusinessSegmentId
string
optional
Identifier of the reservation Business segment.
CompanyId
string
optional
Identifier of the Company on behalf of which the reservation was made.
TravelAgencyId
string
optional
Identifier of the Company that mediated the reservation.
AvailabilityBlockId
string
optional
Unique identifier of the Availability block the reservation is assigned to.
RateId
string
required
Identifier of the reservation Rate.
VoucherId
string
optional
Unique identifier of the Voucher that has been used to create reservation.
CreditCardId
string
optional
Unique identifier of the Credit card.
CancellationReason
required
Cancellation reason of the reservation.
PersonCounts
required
Number of people per age category the reservation was booked for.
OwnerId
string
required
Unique identifier of the Customer or Company who owns the reservation.
BookerId
string
optional
Unique identifier of the Customer on whose behalf the reservation was made.
Options
required
Options of the reservation.
AssignedSpaceId
string
optional
Identifier of the assigned Space. Deprecated! Use AssignedResourceId
instead.
AssignedSpaceLocked
boolean
required
Whether the reservation is locked to the assigned Space and cannot be moved. Deprecated! Use AssignedResourceLocked
instead.
AdultCount
integer
required
Count of adults the reservation was booked for. Deprecated! Use PersonCounts
instead.
ChildCount
integer
required
Count of children the reservation was booked for. Deprecated! Use PersonCounts
instead.
CustomerId
string
required
Unique identifier of the Customer who owns the reservation. Deprecated! Use OwnerId
instead.
CompanionIds
array of string
required
Unique identifiers of the Customers that will use the resource. Deprecated! Use companionships/getAll
instead.
ChannelManagerId
string
optional
Channel Manager number. Deprecated! Use ChannelManagerNumber
instead.
Service order state (ver 2017-04-12)
Enquired
Confirmed
Started
Processed
Canceled
Optional
Requested
Reservation origin (ver 2017-04-12)
Distributor
- From the Mews Booking Engine or Booking Engine API.ChannelManager
- From a channel manager.Import
- From an import process.Connector
- From the Mews Connector API.Navigator
- From Mews Guest Services.CommanderInPerson
- From Mews Operations, in person.CommanderChannel
- From Mews Operations, via channel.CommanderPhone
- From Mews Operations, via telephone.CommanderEmail
- From Mews Operations, via email.CommanderWebsite
- From Mews Operations, via website.CommanderMessage
- From Mews Operations, via message person.CommanderCallCenter
- From Mews Operations, via call center.
Reservation purpose
Leisure
Business
Student
CancellationReason
Other
ConfirmationMissed
BookedElsewhere
ForceMajeure
GuestComplaint
NoShow
PriceTooHigh
ServiceNotAvailable
InputError
InvalidPayment
TravelAgency
RequestedByGuest
Update
BookingAbandoned
RequestedByBooker
Reservation options
OwnerCheckedIn
boolean
required
Owner of the reservation checked in.
AllCompanionsCheckedIn
boolean
required
All companions of the reservation checked in.
AnyCompanionCheckedIn
boolean
required
Any companion of the reservation checked in.
Reservation groups (ver 2017-04-12)
Id
string
required
Unique identifier of the reservation group.
Name
string
optional
Name of the reservation group.
Document type
IdentityCard
Passport
Visa
DriversLicense
Customer classification
None
PaymasterAccount
Blacklist
Media
LoyaltyProgram
PreviousComplaint
Returning
Staff
FriendOrFamily
TopManagement
Important
VeryImportant
Problematic
Cashlist
DisabledPerson
Military
Airline
HealthCompliant
InRoom
WaitingForRoom
Student
Customer option
None
SendMarketingEmails
Invoiceable
BillAddressObjection
SendMarketingPostalMail
SendPartnerMarketingEmails
SendPartnerMarketingPostalMail
WithdrawCardConsent
Reservation QR code data
ReservationId
string
required
Unique identifier of the reservation.
Data
string
optional
Reservation data for QR code generation.
Get all reservation items
Deprecated!This operation is deprecated. Use orderItems/getAll.
Request
[PlatformAddress]/api/connector/v1/reservations/getAllItems
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 1000 items
Unique identifiers of the reservation.
Currency
string
optional
AccountingStates
array of string
optional
States the items should be in. If not specified, items in Open or Closed states are returned.
Response
Reservations
required
The reservations with their items.
Reservation items
ReservationId
string
required
Unique identifier of the reservation.
Items
required
Accounting items associated with the reservation.
OrderItems
required
Order items associated with the reservation.
Add reservations
Adds the specified reservations as a single group. If GroupId
is specified, adds the reservations to an already existing group. Note that all reservations linked to an availability block must belong to the same reservation group.
Request
[PlatformAddress]/api/connector/v1/reservations/add
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.
EnterpriseId
string
optional
ServiceId
string
required
Unique identifier of the Service
to be reserved.
GroupId
string
optional
Unique identifier of the ReservationGroup
where the reservations are added. If not specified, a new group is created.
GroupName
string
optional
Name of the ReservationGroup
where the reservations are added to. If GroupId
is specified, this field is ignored. If not specified, the group name is automatically created.
Reservations
required, max 1000 items
Parameters of the new reservations.
CheckRateApplicability
boolean
optional
Indicates whether the system will check and prevent a booking being made using a restricted rate, e.g. a private rate. The default is true
, i.e. the system will normally check for this unless the property is set to false
.
CheckOverbooking
boolean
optional
Indicates whether the system will check and prevent a booking being made in the case of an overbooking, i.e. where there is an insufficient number of resources available to meet the request. The default is true
, i.e. the system will normally check for this unless the property is set to false
.
SendConfirmationEmail
boolean
optional
Whether the confirmation email is sent. Default value is true
.
Response
Reservations
required
The added reservations.
Added reservation
Identifier
string
optional
Identifier of the reservation within the transaction.
Reservation
required
The added reservation.
Add reservation product
Adds a new product order of the specified product to the reservation.
Request
[PlatformAddress]/api/connector/v1/reservations/addProduct
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.
ReservationId
string
required
Unique identifier of the reservation.
ProductId
string
required
Count
integer
required
The amount of the products to be added. Note that if the product is charged e.g. per night, count 1 means a single product every night. Count 2 means two products every night.
UnitAmount
optional
Price of the product that overrides the price defined in Mews.
StartUtc
string
optional
Product start in UTC timezone in ISO 8601 format. For products with charging Once and PerPerson must be set to same value as EndUtc.
EndUtc
string
optional
Product end in UTC timezone in ISO 8601 format. For products with charging Once and PerPerson must be set to same value as StartUtc.
Response
ItemIds
array of string
optional
Add reservation companion
Adds a customer as a companion to the reservation. Succeeds only if there is space for the new companion (count of current companions is less than AdultCount + ChildCount
). Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/addCompanion
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the Reservation
.
CustomerId
string
required
Unique identifier of the Customer
.
Response
CompanionshipId
string
required
Identifier of the created Companionship
entity.
Update reservations
Updates information about the specified reservations. Note that if any of the fields are sent as null
, it won't clear the field in Mews. If the Value
within the object is sent as null
, the field will be cleared in Mews. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/update
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the reservation.
ChannelNumber
optional
Number of the reservation within the Channel (i.e. OTA, GDS, CRS, etc) in case the reservation group originates there (e.g. Booking.com confirmation number) (or null
if the channel number should not be updated).
StartUtc
optional
Reservation start in UTC timezone in ISO 8601 format. (or null
if the start time should not be updated).
EndUtc
optional
Reservation end in UTC timezone in ISO 8601 format. (or null
if the end time should not be updated).
ReleasedUtc
optional
Date when the optional reservation is released in UTC timezone in ISO 8601 format. (or null
if the release time should not be updated).
PersonCounts
optional
Number of people per age category the reservation is for. If supplied, the person counts will be replaced. (or null
if the person counts should not be updated).
AssignedResourceId
optional
Identifier of the assigned Resource
.
RequestedCategoryId
optional
Identifier of the requested ResourceCategory
(or null
if resource category should not be updated).
TravelAgencyId
optional
Identifier of the Company
that mediated the reservation (or null
if travel agency should not be updated).
CompanyId
optional
Identifier of the Company
on behalf of which the reservation was made (or null
if company should not be updated).
BusinessSegmentId
optional
Identifier of the reservation BusinessSegment
(or null
if the business segment should not be updated).
Purpose
optional
Purpose
of the reservation (or null
if the purpose should not be updated).
RateId
optional
Identifier of the reservation Rate
(or null
if the rate should not be updated).
CreditCardId
optional
Identifier of CreditCard
belonging to Customer
who owns the reservation. (or null
if the credit card should not be updated).
TimeUnitPrices
optional
Prices for time units of the reservation. E.g. prices for the first or second night. (or null
if the unit amounts should not be updated).
BookerId
optional
Identifier of the Customer
on whose behalf the reservation was made. (or null
if the booker should not be updated).
AssignedResourceLocked
optional
Whether the reservation should be locked to the assigned Resource
. Unlocking and assigning reservation to new Resource
can be done in one call.
AvailabilityBlockId
optional
Unique identifier of the AvailabilityBlock
the reservation is assigned to.
Options
optional
Options of the reservations.
ReservationUpdates
required, max 1000 items
Array of properties to be updated in each reservation specified.
Reprice
boolean
optional
Whether the price should be updated to latest value for date/rate/category combination set in Mews. If not specified, the reservation price is updated.
ApplyCancellationFee
boolean
optional
Whether the cancellation fees should be applied according to rate cancellation policies. If not specified, the cancellation fees are applied.
Reason
string
optional
Reason for updating the reservation. Required when updating the price of the reservation.
CheckOverbooking
boolean
optional
Indicates whether the system will check and prevent a booking being made in the case of an overbooking, i.e. where there is an insufficient number of resources available to meet the request. Deprecated! The value will be ignored.
CheckRateApplicability
boolean
optional
Indicates whether the system will check and prevent a booking being made using a restricted rate, e.g. a private rate. The default is true, i.e. the system will normally check for this unless the property is set to false. Deprecated! The value will be ignored.
Person counts update value
Value
optional
Time unit amount update value
Value
optional
Reservations options parameters update values
OwnerCheckedIn
optional
True if the owner of the reservation is checked in. (or null
if the value should not be updated).
Reservation updates
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the reservation.
ChannelNumber
optional
Number of the reservation within the Channel (i.e. OTA, GDS, CRS, etc) in case the reservation group originates there (e.g. Booking.com confirmation number) (or null
if the channel number should not be updated).
StartUtc
optional
Reservation start in UTC timezone in ISO 8601 format. (or null
if the start time should not be updated).
EndUtc
optional
Reservation end in UTC timezone in ISO 8601 format. (or null
if the end time should not be updated).
ReleasedUtc
optional
Date when the optional reservation is released in UTC timezone in ISO 8601 format. (or null
if the release time should not be updated).
PersonCounts
optional
Number of people per age category the reservation is for. If supplied, the person counts will be replaced. (or null
if the person counts should not be updated).
AssignedResourceId
optional
Identifier of the assigned Resource
.
RequestedCategoryId
optional
Identifier of the requested ResourceCategory
(or null
if resource category should not be updated).
TravelAgencyId
optional
Identifier of the Company
that mediated the reservation (or null
if travel agency should not be updated).
CompanyId
optional
Identifier of the Company
on behalf of which the reservation was made (or null
if company should not be updated).
BusinessSegmentId
optional
Identifier of the reservation BusinessSegment
(or null
if the business segment should not be updated).
Purpose
optional
Purpose
of the reservation (or null
if the purpose should not be updated).
RateId
optional
Identifier of the reservation Rate
(or null
if the rate should not be updated).
CreditCardId
optional
Identifier of CreditCard
belonging to Customer
who owns the reservation. (or null
if the credit card should not be updated).
TimeUnitPrices
optional
Prices for time units of the reservation. E.g. prices for the first or second night. (or null
if the unit amounts should not be updated).
BookerId
optional
Identifier of the Customer
on whose behalf the reservation was made. (or null
if the booker should not be updated).
AssignedResourceLocked
optional
Whether the reservation should be locked to the assigned Resource
. Unlocking and assigning reservation to new Resource
can be done in one call.
AvailabilityBlockId
optional
Unique identifier of the AvailabilityBlock
the reservation is assigned to.
Options
optional
Options of the reservations.
Response
Reservations
optional
The reservations that collide with the specified interval.
ReservationGroups
optional
Reservation groups that the reservations are members of.
Customers
optional
Customers that are members of the reservations.
Services
optional
Services that have been reserved.
Products
optional
Products orderable with reservations.
Resources
optional
Assigned resources of the reservations.
ResourceCategories
optional
Resource categories of the resources.
ResourceCategoryAssignments
optional
Assignments of the resources to categories.
BusinessSegments
optional
Business segments of the reservations.
Rates
optional
Rates of the reservations.
RateGroups
optional
Rate groups of the reservation rates.
Items
optional
Accounting items that are part of the reservations.
OrderItems
optional
Revenue items of the reservations.
Notes
optional
Notes of the reservations.
QrCodeData
optional
QR code data of the reservations.
Companies
optional
Companies related to the reservations.
ResourceAccessTokens
optional
Resource access tokens for the reservations.
Cursor
string
optional
Update reservation interval
Updates reservation interval (start, end or both). Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/updateInterval
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the reservation to be updated.
StartUtc
string
optional
New reservation start in UTC timezone in ISO 8601 format.
EndUtc
string
optional
New reservation end in UTC timezone in ISO 8601 format.
ChargeCancellationFee
boolean
required
Whether cancellation fee should be charged for potentially canceled nights.
Response
Update reservation customer
Updates customer of a reservation. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/updateCustomer
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the reservation to be updated.
CustomerId
string
required
Response
Start reservation
Marks a reservation as Started
(= checked in). Succeeds only if all starting conditions are met (the reservation has the Confirmed
state, does not have start set to future, has an inspected room assigned etc). Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/start
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the reservation to start.
Response
Process reservation
Marks a reservation as Processed
(= checked out). Succeeds only if all processing conditions are met (the reservation has the Started
state, balance of all reservation members is zero etc). Note this operation supports Portfolio Access Tokens.
Conditions
Reservation has already been checked in.
Reservation isn't alredy in
Processed
state.Reservation can't be checked out sooner than last day of planned stay.
The companion profiles of reservation are complete (details can be found in error message).
If
AllowOpenBalance
set tofalse
, all bills have to be closable (items on bills are either paid by current customer, or set to be paid by other customer). WithCloseBills
option set totrue
they can be automatically closed, when set tofalse
they must be closed manually.If
AllowOpenBalance
set totrue
,Notes
must be filled in.
Request
[PlatformAddress]/api/connector/v1/reservations/process
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the reservation to process.
CloseBills
boolean
optional
Whether closable bills of the reservation members should be automatically closed.
AllowOpenBalance
boolean
optional
Whether non-zero consumed balance of all reservation members is allowed.
Notes
string
optional
Required if AllowOpenBalance set to true. Used to provide reason for closing with unbalanced bill.
Response
Price reservations
Returns prices of reservations with the specified parameters. Note that the operation doesn't check the maximum capacity of requested resource category. Requesting person counts above the capacity will return prices for the maximum available capacity.
This operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/price
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.
ServiceId
string
required
Unique identifier of the Service
to be priced.
Reservations
required
Parameters of the reservations to price. Note that CustomerId
is not required when pricing reservations.
Reservation parameters
Identifier
string
optional
Identifier of the reservation within the transaction.
ChannelNumber
string
optional
State
required
State of the newly created reservation (either Optional
, Enquired
or Confirmed
). If not specified, Confirmed
is used.
StartUtc
string
required
Reservation start in UTC timezone in ISO 8601 format.
EndUtc
string
required
Reservation end in UTC timezone in ISO 8601 format.
ReleasedUtc
string
optional
Release date and time of an unconfirmed reservation in UTC timezone in ISO 8601 format.
PersonCounts
required
Number of people per age category the reservation was booked for. At least one category with valid count must be provided.
CustomerId
string
required
Unique identifier of the Customer
who owns the reservation.
BookerId
string
optional
Unique identifier of the Customer
on whose behalf the reservation was made.
RequestedCategoryId
string
required
Identifier of the requested ResourceCategory
.
RateId
string
required
Identifier of the reservation Rate
.
VoucherCode
string
optional
Voucher code value providing access to specified private Rate
applied to this reservation.
CreditCardId
string
optional
Identifier of CreditCard
belonging either to the Customer
who owns the reservation or to the Booker
.
TravelAgencyId
string
optional
Identifier of the Company
that mediated the reservation.
CompanyId
string
optional
Identifier of the Company
on behalf of which the reservation was made.
BusinessSegmentId
string
optional
Identifier of the reservation BusinessSegment
.
Notes
string
optional
Additional notes.
TimeUnitAmount
optional
Amount of each night of the reservation.
TimeUnitPrices
optional
Prices for time units of the reservation. E.g. prices for the first or second night.
ProductOrders
optional
Parameters of the products ordered together with the reservation.
AvailabilityBlockId
string
optional
Unique identifier of the AvailabilityBlock
the reservation is assigned to.
AdultCount
integer
required
Deprecated! Use PersonCounts
instead.
ChildCount
integer
required
Deprecated! Use PersonCounts
instead.
Service order state
Inquired
- Confirmed neither by the customer nor enterprise.Confirmed
- Confirmed by both parties, before check-in.Started
- Checked in.Processed
- Checked out.Canceled
- Canceled.Optional
- Confirmed by enterprise but not by the guest (the enterprise is holding resource for the guest).Requested
- Confirmed by the customer but not by the enterprise (waitlist).
Time unit amount parameters
Index
integer
required
Index of the unit. Indexing starts with 0
. E.g. the first night of the reservation has index 0
.
Amount
optional
Amount of the unit.
Response
ReservationPrices
required
The reservation prices.
Reservation price
Identifier
string
optional
Identifier of the reservation within the transaction.
TotalAmount
required
Total price of the reservation.
Total
optional
Total price of the reservation. Deprecated! Use TotalAmount
instead.
Delete reservation companion
Removes customer companionship from the reservation. Note that the customer profile stays untouched, only the relation between the customer and reservation is deleted. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/deleteCompanion
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.
EnterpriseId
string
optional
ReservationId
string
required
Unique identifier of the Reservation
.
CustomerId
string
required
Unique identifier of the Customer
.
Response
Confirm reservation
Marks all specified reservations as Confirmed
. Succeeds only if all confirmation conditions are met (the reservations have the Optional
state). Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/confirm
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.
EnterpriseId
string
optional
ReservationIds
array of string
required
Unique identifier of the reservations to confirm.
SendConfirmationEmail
boolean
optional
Wheter the confirmation email is sent. Default value is true.
Response
ReservationIds
array of string
required
Identifiers of the affected Reservation
entities.
Cancel reservation
Cancels all reservation with specified identifiers. Succeeds only if the reservations are cancellable. Note this operation supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/reservations/cancel
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.
EnterpriseId
string
optional
ReservationIds
array of string
required, max 1000 items
Unique identifiers of the reservation to cancel.
PostCancellationFee
boolean
optional
Whether the cancellation fees should be charged according to rate conditions. The default is false
.
SendEmail
boolean
optional
Whether the cancellation email should be sent. The default is true
.
Notes
string
required
Additional notes describing the reason for the cancellation.
ReservationId
string
required
Deprecated!
Response
ReservationIds
array of string
required
Identifiers of the affected Reservation
entities.
Last updated