Reservations
Process group
[async
] This operation allows Mews to push a group of reservations or bookings to the Channel Manager. The operation supports creations, modifications, and partial or complete cancellations. Confirmation is done asynchronously.
Request
[ChannelManagerApiAddress]/processGroup
clientToken
string
required (always)
Client token of the channel manager.
connectionToken
string
required (always)
Token of a concrete connection.
messageId
string
required
Unique identification of the message. Used for asynchronous confirmations
responseUrl
string
required (always)
Url which should be used for asynchronous confirmation.
channelId
string
optional
Unique identification of the booking in the channel (i.e. OTA). Sent always once provided by channel manager.
channelManagerId
string
optional
Unique identification of the booking in the channel manager. Sent always once provided by channel manager.
availabilityBlockCode
string
optional
Unique identification of the availability block in the channel manager.
availabilityBlockConfirmationNumber
string
optional
Unique identification of the availability block in the Mews.
currencyCode
string
required (exc. Cancellation)
totalAmount
required (exc. Cancellation)
Total amount of the whole booking.
customer
required (exc. Cancellation)
Represents the main booker. Does not necessarily mean that the person arrives to the property.
sources
optional
Represents the sources for the booking.
company
optional
Represents the company associated with the booking.
travelAgency
optional
Represents the travel agency associated with the booking.
reservations
optional
Each reservation within the booking. If the value is null or an empty collection, this implies that the whole group will be cancelled.
comments
string
collection
optional
Represents any comments related to the booking.
Confirm booking
This method is used when Mews confirms a booking sent via Process group. It is used to send confirmation of success as well as confirmation of failure.
Request
[ChannelManagerApiAddress]/confirmGroup
Confirmation of success:
Confirmation of failure:
clientToken
string
required
Client token of the channel manager.
connectionToken
string
required
Connection token of a property connection.
relatedMessageId
string
required
Id of message which requests relates to.
channelManagerId
string
required
Channel Manager booking reference.
error
optional
In case of processing failure, this provides a description of the error.
reservations
optional
Confirmation details for each individual reservation in the group.
Reservation Confirmation
code
string
required
Unique reference code for the individual reservation.
confirmationNumber
string
required
Mews confirmation number for the individual reservation.
Response
Simple response is expected to determine whether the update was accepted or not.
Last updated