Lodging AI Cross-Sell Virtual Sandbox
Predict recommended hotels for PNRs containing purchased air tickets.
The Lodging AI Cross-Sell API allows developers to integrate intelligent hotel recommendations into their travel workflows. It processes PNR data to suggest relevant lodging options, helping to increase conversion rates for air-to-hotel cross-selling scenarios.
Use cases:
Use this sandbox to validate hotel recommendation job submission, monitor job status, and retrieve cross-sell results. Developers can test how the API handles various PNR data shapes, verify the accuracy of response payloads, and simulate asynchronous job processing flows without hitting live production systems.
Lodging AI Cross Sell(4 operations)
{
"checkInDateRange": {
"endDate": "2027-10-14",
"startDate": "2027-03-25"
},
"cityCode": "TXL",
"pnrCreateDateRange": {
"endDate": "2027-01-31",
"startDate": "2027-04-27"
},
"pseudoCityCodeDkNumbers": [
{
"dkNumbers": [
"123456",
"1234567"
],
"pseudoCityCode": "1AAA"
},
{
"dkNumbers": [
"1234567890"
],
"pseudoCityCode": "2BBB"
},
{
"pseudoCityCode": "3BBB"
}
]
}{
"errors": [
{
"category": "NOT_FOUND",
"description": "Client did not provide required data.",
"type": "INVALID_DATE_FORMAT"
},
{
"category": "BAD_REQUEST",
"description": "The check-in date must be before the check-out date.",
"type": "INVALID_DATE_FORMAT"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Client did not provide required data.",
"type": "INVALID_DATE_FORMAT"
},
{
"category": "NOT_FOUND",
"description": "Invalid client ID or DK number provided.",
"type": "RATE_LIMIT_EXCEEDED"
}
]
}{
"cabinCode": "F",
"checkInDate": "2027-05-22",
"checkOutDate": "2027-10-01",
"cityCode": "KNZ",
"clientId": "SAB",
"dkNumber": "9171131",
"flightAdvanceBookingDays": 3,
"isRoundtrip": false,
"lengthOfStay": 5,
"numberOfTravelers": 3,
"pnrLocator": "IqbTEX",
"rateCodes": [
"AAA",
"ABS",
"CDF"
],
"tripEndAirportCode": "DVI",
"tripStartAirportCode": "GTW",
"tripStartDayOfWeek": "Mon"
}{
"errors": [
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Invalid client ID or DK number provided.",
"type": "UNAUTHORIZED_CLIENT"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Client did not provide required data.",
"type": "RATE_LIMIT_EXCEEDED"
},
{
"category": "UNAUTHORIZED",
"description": "The check-in date must be before the check-out date.",
"type": "INVALID_DATE_FORMAT"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Invalid client ID or DK number provided.",
"type": "UNAUTHORIZED_CLIENT"
}
]
}{
"jobId": "EGhhaYnV4WipQXf"
}{
"jobId": "wAFcX_BAfKtGcqX",
"jobStatus": "Completed But Failed",
"showHotelsWithNoRate": null
}{
"jobId": "gMyHYpCI9f1wETJ",
"returnHotelsWithNoRate": null
}{
"errors": [
{
"category": "INTERNAL_SERVER_ERROR",
"description": "The check-in date must be before the check-out date.",
"type": "INVALID_DATE_FORMAT"
}
]
}