You are here:
Booking ETL File Schema
If you send data from your hotel booking system to Personalization, configure your file according to the Booking ETL file schema.
File Name Format
booking-YYYY-MM-DD_HH-MM-SS.csv
Required Identity Fields
You must include one identity field in your Booking ETL file. Depending on whether you use the multiple identities system, the required identity field is different.
| Field Name | Minimum Requirements | Sample Values | Maximum Length | Data Type |
|---|---|---|---|---|
|
Required.
|
|
120 |
String |
Other Required Fields
There are additional fields that you must include in any Booking ETL file you send. Match the field names and meet the requirements.
| Field Name | Minimum Requirements | Sample Values | Maximum Length | Data Type |
|---|---|---|---|---|
bookingId
|
Required. The |
860340254 |
255 |
String |
bookingDate
|
Required. The |
2020-10-15 2020-01-09T11:24:59Z |
1023 |
Date |
productId
|
Required. The |
prod001, prod1101 |
255 |
String |
price
|
Required. The |
150, 63.25, 10 |
1023 |
Decimal |
quantity
|
Required. The |
1, 50, 100 |
1023 |
Integer |
attribute:property
|
Required. The property name that is associated with the booking. The property name must match the property catalog object that’s stored with the catalog item being booked in the transaction. |
Downtown Main Hotel |
255 |
String |
attribute:bookedCheckInDate
|
Required. Format the scheduled check-in date in ISO 8601 format. Multiple line items for the same booking must have the same check-in date. |
2020-10-15 2020-01-09T11:24:59Z |
1023 |
Date |
attribute: bookedCheckOutDate
|
Required. Format the scheduled check-out date in ISO 8601 format. Multiple line items for the same booking must have the same check-out date. |
2020-10-15 2020-01-09T11:24:59Z |
1023 |
Date |
attribute: adults
|
Required. The number of adults on the booking. |
1, 2 |
1023 |
Integer |
System Fields
Additional system fields aren’t required in the file, but if you include them, you must match the field names and meet the requirements.
| Field Name | Minimum Requirements | Sample Values | Maximum Length | Data Type |
|---|---|---|---|---|
attribute:checkInTime
|
|
2020-10-15 2020-01-09T11:24:59Z |
1023 |
Date |
attribute:checkOutTime
|
|
2020-10-15 2020-01-09T11:24:59Z |
1023 |
Date |
attribute:children
|
The number of children on the booking. If you don’t send a value, the system assigns a value of 0. |
2, 3 |
1023 |
Integer |
attribute:bookingStatus
|
The current state of the booking, which your administrator must configure for the Hotel Gear. The value in the ETL file and in the Hotel Gear configuration screen aren’t case-sensitive. For more information, see Activate the Hotel Gear. |
Reserved, Canceled, In-House, No Show |
255 |
String |
attribute:currency
|
The currency of the transaction. The currency must be consistent across all records in a transaction. If you don’t send a currency, the system assigns the currency defined in Catalog Setup for that dataset. Currency must be in ISO 4217 format and include three uppercase letters. |
USD, AUD, EUR |
3 |
String |

