Breadcrumb
- Reservation Services
- Create Reservation
- Use Cases
- Notifications
Notifications
The Notification node is used to communicate email preferences and reservation comments.
Parameter | Description | Type | Required |
---|---|---|---|
Notification | Contains information about emails and comments. | Object | No |
@SendBookerEmail | If true, indicates a notification email must be sent to a booker associated with the reservation. | Boolean | No |
@SendGuestEmail | If true, indicates a notification email must be sent to the guest associated with the reservation. Default value is true. | Boolean | No |
@FromEmailAddress | Email address used to send any notifications. | String | No |
@AdditionalEmailAddresses | Additional Recipient email address used to send any notifications. | [String] | No |
@LanguageCode | Language code with an optional culture code to use in the email. | String | No |
EmailTemplate/@Code | Code of email template. | String | No |
EmailTemplate/@Level | Level of email template. Values: Hotel, Chain | String | No |
@PublicComment | Public comment can be used to add miscellaneous information. The comment is visible in SynXis Booking Engine, SynXis Voice agent, SynXis CR, guest emails, and included in the reservation message to the PMS. | String | No |
DeliveryComments@Comment | Delivery Comment that is visible in SynXis Voice agent and guest emails. | [String] | No |
"Notification": {
"AdditionalEmailAddresses": [
"email2@email.com"
],
"SendBookerEmail": false,
"SendGuestEmail": true,
"FromEmailAddress": "myhotel@email.com",
"LanguageCode": "en-US",
"EmailTemplate": {
"Code": "NoPoints",
"Level": "Hotel"
},
"DeliveryComments": [
{
"Comment": "This is a reservation Comment"
}
],
"PublicComment": "Email comments for the guest."
}
Sample Request
{
"Notification": {
"AdditionalEmailAddresses": [
"email2@email.com"
],
"SendBookerEmail": false,
"SendGuestEmail": true,
"FromEmailAddress": "myhotel@email.com",
"LanguageCode": "en-US",
"EmailTemplate": {
"Code": "NoPoints",
"Level": "Hotel"
},
"DeliveryComments": [
{
"Comment": "This is a reservation Comment"
}
],
"PublicComment": "Email comments for the guest."
},
"Chain": {
"Id": 14161022
},
"Channels": {
"PrimaryChannel": {
"Code": "WEB"
},
"SecondaryChannel": {
"Code": "SYNXISWS_BE"
}
},
"Hotel": {
"Id": 100319
},
"Guests": [
{
"PersonName": {
"GivenName": "John",
"Surname": "Public"
},
"Payments": [
{
"PaymentCard": {
"CardCode": "VI",
"CardHolder": "John Public",
"CardNumber": "444444444444444",
"CardSecurityCode": "123",
"ExpireDate": "1225"
},
"Type": "CreditCard"
}
],
"ContactNumbers": [
{
"Number": "555-123-2717"
}
],
"EmailAddress": [
{
"Value": "john.public@email.com"
}
]
}
],
"RoomStay": {
"StartDate": "2023-06-07",
"EndDate": "2023-06-08",
"GuestCount": [
{
"AgeQualifyingCode": "Adult",
"NumGuests": 1
}
],
"NumRooms": 1,
"Products": [
{
"Product": {
"RateCode": "BAR",
"RoomCode": "LUXQ"
}
}
]
},
"status": "Confirmed"
}