Reservations
Process group
[async
] This operation allows the Mews to push a group of reservations (bookings) to channel manager. This option allows creations, modifications, and partial or complete cancellations. Confirmation is done asynchronous.
Request
[ChannelManagerApiAddress]/processGroup
Property | Type | Contract | Description |
---|---|---|---|
|
| required (always) | Client token of the channel manager. |
|
| required (always) | Token of a concrete connection. |
|
| required | Unique identification of the message. Used for asynchronous confirmations |
|
| required (always) | Url which should be used for asynchronous confirmation. |
|
| optional | Unique identification of the booking in the channel (i.e. OTA). Sent always once provided by channel manager. |
|
| optional | Unique identification of the booking in the channel manager. Sent always once provided by channel manager. |
|
| optional | Unique identification of the availability block in the channel manager. |
|
| optional | Unique identification of the availability block in the Mews. |
|
| required (exc. Cancellation) | 3 letter code of currency of all prices within the booking. |
|
| required (exc. Cancellation) | Total amount of the whole booking. |
|
| required (exc. Cancellation) | Payment Type code - determines whether the booking is prepaid or not. |
|
| required (exc. Cancellation) | Represents the main booker. Does not necessarily mean that the person arrives to the property. |
|
| optional | Represents the sources for the booking. |
|
| optional | Represents the company associated with the booking. |
|
| optional | Represents the travel agency associated with the booking. |
|
| optional | Each reservation within the booking. If the value is null or an empty collection, this implies that the whole group will be cancelled. |
|
| 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:
Property | Type | Contract | Description |
---|---|---|---|
|
| required | Client token of the channel manager. |
|
| required | Connection token of a property connection. |
|
| required | Id of message which requests relates to. |
|
| required | Channel Manager booking reference. |
| optional | In case of processing failure, this provides a description of the error. | |
|
| optional | Confirmation details for each individual reservation in the group. |
Reservation Confirmation
Property | Type | Contract | Description |
---|---|---|---|
|
| required | Unique reference code for the individual reservation. |
|
| required | Mews confirmation number for the individual reservation. |
Response
Simple response is expected to determine whether the update was accepted or not.
Last updated