Lodging Itinerary Retrieve API

Guidance and examples for accessing the Lodging Itinerary Retrieve API

The Lodging Itinerary Retrieve API allows you to retrieve the details of an Expedia booking (whether booking was done via Booking API or on the Expedia website).

Endpoint

MethodEndpointPrerequisites
GEThttps://apim.expedia.com/hotels/bookings/[TripNumber]An active TripNumber from the Lodging Booking API.

Required Headers

Key:Expedia API key
Authorization:Expedia API Authorization String
User-Id:username@domain.com

The email address associated with the booking.
Accept:application/vnd.exp-hotel.v3+json
Partner-Transaction-Id:[Partner TransactionID String]

Next Steps

  • View cancellation details via Lodging PreCancel API.
  • Cancel a booking via Lodging Cancel API.
  • Go to weblink for retrieve.

Example Requests

Retrieve Booking request

https://apim.expedia.com/hotels/bookings/12345

Retrieve Booking Response For One Room

{
     "TransactionId": "15422207-b0ab-4bf5-b4f1-7503ecdfded6",
     "ItineraryNumber": 7600639939186,
     "BookingDateTime": "2021-09-30T03:05:14-07:00",
     "PartnerAgentId": "123456",
     "PartnerConfirmationNumber": "hello123",
     "Links": {
         "WebConversation": {
              "Href": "https://wwwexpediacom.integration.sb.karmalab.net/americanexpress/connect.html?locale=en-US&key=0U6ohJoJ6cdkcC4xKouJ4a_bDj6MyGTxcLAzMbWmrprzP8TfXKJY1rA5-OBdhdStzNH8LJB_H3s7_yqTO6LygfGMBIcuOygxIXs47iAxinlSXofAtX7JeFHvHkzgkheSkdmmuXGIXYoNd8fTpzXFmCHqe5tZE8ukYWBDq1xUmFtmRBbWGw_WHkjM2b9IdtqHRPfouCJMpg%3D%3D"
         },
         "ApiCancel": {
             "Accept": "application/vnd.exp-hotel.v3+json",
             "Method": "PUT",
             "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/7600639939186"
         },
         "ApiPreCancel": {
             "Accept": "application/vnd.exp-hotel.v3+json",
             "Method": "GET",
             "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/7600639939186/canceldetails"
         },
         "WebItinRetrieve": {
             "Href": "https://wwwexpediacom.integration.sb.karmalab.net/trips/7600639939186"
         }
     },
     "Status": "BOOKED",
     "LastUpdateDateTime": "2021-09-30T05:05:14+00:00",
     "HotelConfirmation": "9030035605415",
     "NumberOfRooms": 1,
     "LengthOfStay": 2,
     "HotelDetails": {
         "Id": "34864457",
         "Name": "Agriturismo La Collina dei Treni",
         "PropertyType": {
             "Id": 29,
             "Name": "Country House"
         },
         "LocalCurrencyCode": "EUR",
         "Location": {
             "Address": {
                 "Address1": "Via Collebudino, 23",
                 "City": "Valtopina",
                 "Province": "Perugia",
                 "Country": "ITA",
                 "PostalCode": "06030"
             },
             "GeoLocation": {
                 "Latitude": "43.045956",
                 "Longitude": "12.763083"
             }
         },
         "PhoneInfos": [{
                 "CountryCode": "39",
                 "AreaCode": "0339",
                 "Number": "7891220"
             }
         ],
         "Description": {
             "LocationTeaser": "Situated in a rural location, this country house is within 9 mi (15 km) of Park of Mount Subasio, Museo Archeologico Nocera Umbra, and Foligno Palazzo Comunale. Cathedral of San Feliciano (Duomo) and Palazzo Trinci are also within 9 mi (15 km). Valtopina Station is 22 minutes by foot. ",
             "HotelTeaser": "Along with a restaurant, this smoke-free country house has an outdoor pool and free self parking. WiFi in public areas is free. ",
             "RoomTeaser": "All 5 rooms boast fireplaces and offer free WiFi and kitchens. Guests will also find TVs, refrigerators, and stovetops. Housekeeping is available on request. "
         },
         "ThumbnailUrl": "https://images.trvl-media.com/hotels/35000000/34870000/34864500/34864457/26593598_t.jpg",
         "StarRating": "0.0",
         "Policies": {
             "CheckInStartTime": "4:30 PM",
             "CheckInEndTime": "10:00 PM",
             "CheckOutTime": "10:00 AM",
             "PetPolicies": [
                 "Pets stay free",
                 "Restrictions apply",
                 "For more information contact the property at the number on the booking confirmation"
             ],
             "ChildrenAndExtraBedsPolicies": [
                 "Children are welcome."
             ]
         },
         "CleanlinessAndSafety": {
             "CLEANLINESS": [
                 "Follows regional sanitization guidelines of O2 Safe (UNPLV) (France)",
                 "Follows standard sanitization guidelines of We Care Clean (Best Western)",
                 "Follows industry sanitization guidelines of European Holiday Home Association (EHHA - Europe)"
             ],
             "SOCIAL_DISTANCING": [
                 "Protective shields in place at main contact areas",
                 "Guest rooms kept vacant for 72 hours between stays",
                 "Social distancing measures in place"
             ],
             "SAFETY": [
                 "Personal protective equipment worn by staff",
                 "Temperature checks available for guests",
                 "Masks available",
                 "Hand sanitizer provided",
                 "Individually-wrapped food options available for lunch, dinner, and through room service"
             ],
             "DISCLAIMER": [
                 "This information is provided by our partners."
             ]
         },
         "OptionalExtras": [
             " The following fees and deposits are charged by the property at time of service, check-in, or check-out.",
             " - Fee for continental breakfast: EUR 5 for adults and EUR 3 for children (approximately)
             - Housekeeping fee: EUR 10 per day", "The above list may not be comprehensive. Fees and deposits may not include tax and are subject to change."
         ],
         "Media": [{
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "b",
                 "Url": "https://images.trvl-media.com/hotels/35000000/34870000/34864500/34864457/26593598_b.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "s",
                 "Url": "https://images.trvl-media.com/hotels/35000000/34870000/34864500/34864457/26593598_s.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "t",
                 "Url": "https://images.trvl-media.com/hotels/35000000/34870000/34864500/34864457/26593598_t.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "y",
                 "Url": "https://images.trvl-media.com/hotels/35000000/34870000/34864500/34864457/26593598_y.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "z",
                 "Url": "https://images.trvl-media.com/hotels/35000000/34870000/34864500/34864457/26593598_z.jpg"
             }
         ],
         "HotelAmenities": [{
                 "Id": "19",
                 "Name": "Restaurant"
             }, {
                 "Id": "52",
                 "Name": "Total number of rooms - 5"
             }, {
                 "Id": "3861",
                 "Name": "Free self parking"
             }, {
                 "Id": "2390",
                 "Name": "Free WiFi"
             }, {
                 "Id": "24",
                 "Name": "Outdoor pool"
             }, {
                 "Id": "361",
                 "Name": "Breakfast available (surcharge)"
             }, {
                 "Id": "2137",
                 "Name": "Smoke-free property"
             }
         ],
         "Rooms": [{
                 "Traveler": {
                     "Name": {
                         "FirstName": "team",
                         "MiddleName": "booking",
                         "LastName": "expedia"
                     },
                     "Phone": {
                         "CountryCode": "1",
                         "AreaCode": "206",
                         "Number": "9876543"
                     },
                     "Email": "ewsbooking@gmail.com"
                 },
                 "Status": "BOOKED",
                 "RoomPreferences": [{
                         "Type": "SmokingPreference",
                         "Value": "NonSmoking"
                     }, {
                         "Type": "Bed",
                         "Value": "37321"
                     }
                 ],
                 "SpecialRequests": "check-in 2 hours late,Crib Required",
                 "Occupants": [{
                         "Adults": 1
                     }
                 ],
                 "StayDates": [{
                         "CheckInDate": "2021-12-23",
                         "CheckOutDate": "2021-12-25"
                     }
                 ],
                 "Description": "Chalet, Fireplace",
                 "RatePlanType": "standalone",
                 "RatePlans": [{
                         "RoomTypeId": "213908222",
                         "RatePlanId": "246084852",
                         "RateRuleId": "318244248",
                         "StayDates": {
                             "CheckInDate": "2021-12-23",
                             "CheckOutDate": "2021-12-25"
                         },
                         "Price": {
                             "BaseRate": {
                                 "Value": "162.30",
                                 "Currency": "USD"
                             },
                             "TaxesAndFees": {
                                 "Value": "16.24",
                                 "Currency": "USD"
                             },
                             "TotalPrice": {
                                 "Value": "178.54",
                                 "Currency": "USD"
                             },
                             "AvgNightlyRate": {
                                 "Value": "81.15",
                                 "Currency": "USD"
                             },
                             "RoomRates": [{
                                     "RoomIndex": 1,
                                     "NightlyRates": [{
                                             "StayDate": "2021-12-23",
                                             "BaseRate": {
                                                 "Value": "81.15",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "8.12",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "89.27",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-12-24",
                                             "BaseRate": {
                                                 "Value": "81.15",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "8.12",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "89.27",
                                                 "Currency": "USD"
                                             }
                                         }
                                     ]
                                 }
                             ]
                         },
                         "Promotions": [{
                                 "Description": "Private sale: save 5%",
                                 "Amount": {
                                     "Value": "9.38",
                                     "Currency": "USD"
                                 }
                             }
                         ],
                         "PaymentMethod": "Online",
                         "Status": "BOOKED",
                         "CancellationPolicy": {
                             "Refundable": true,
                             "FreeCancellation": false,
                             "CancellationPenaltyRules": [{
                                     "PenaltyPercentOfStay": "30",
                                     "PenaltyStartDateTime": "2021-09-30T03:05:00-07:00",
                                     "PenaltyEndDateTime": "2021-11-23T23:59:00+01:00"
                                 }, {
                                     "PenaltyPercentOfStay": "100",
                                     "PenaltyStartDateTime": "2021-11-23T23:59:00+01:00",
                                     "PenaltyEndDateTime": "2021-12-23T23:59:00+01:00"
                                 }
                             ],
                             "CancelPolicyDescription": "Cancellations or changes made before 23:59 (property local time) on November 23, 2021 are subject to a property fee equal to 30% of the total amount paid for the reservation.Cancellations or changes made after 23:59 (property local time) on November 23, 2021 or no-shows are subject to a property fee equal to 100% of the total amount paid for the reservation."
                         },
                         "ConfirmationNumber": "9e9257e9-f3e7-4359-9de1-55f768d4bc21",
                         "Links": {
                             "ApiCancel": {
                                 "Accept": "application/vnd.exp-hotel.v3+json",
                                 "Method": "PUT",
                                 "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/7600639939186?roomConfirmations=9e9257e9-f3e7-4359-9de1-55f768d4bc21"
                             }
                         }
                     }
                 ],
                 "Price": {
                     "BaseRate": {
                         "Value": "162.30",
                         "Currency": "USD"
                     },
                     "TaxesAndFees": {
                         "Value": "16.24",
                         "Currency": "USD"
                     },
                     "TotalPrice": {
                         "Value": "178.54",
                         "Currency": "USD"
                     },
                     "AvgNightlyRate": {
                         "Value": "81.15",
                         "Currency": "USD"
                     }
                 },
                 "Promotions": [{
                         "Description": "Private sale: save 5%",
                         "Amount": {
                             "Value": "9.38",
                             "Currency": "USD"
                         }
                     }
                 ],
                 "Links": {
                     "ApiCancel": {
                         "Accept": "application/vnd.exp-hotel.v3+json",
                         "Method": "PUT",
                         "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/7600639939186?roomConfirmations=9e9257e9-f3e7-4359-9de1-55f768d4bc21"
                     }
                 },
                 "SmokingOption": "NonSmoking",
                 "Amenities": [{
                         "Id": "4092",
                         "Name": "Square meters - 25"
                     }, {
                         "Id": "4093",
                         "Name": "Square feet -269"
                     }, {
                         "Id": "4642",
                         "Name": "No rollaway/extra beds"
                     }, {
                         "Id": "4948",
                         "Name": "Free cribs/infant beds"
                     }, {
                         "Id": "4953",
                         "Name": "Number of bedrooms - 0"
                     }, {
                         "Id": "1073744318",
                         "Name": "Ping - 8"
                     }
                 ]
             }
         ]
     },
     "TotalPrice": {
         "Value": "178.54",
         "Currency": "USD"
     }
 }

Retrieve Booking Response For Two Rooms

{
     "TransactionId": "31a31ab4-3692-4a65-815d-9110d2bacf44",
     "HotelConfirmation": "8100216008274",
     "ItineraryNumber": 7160973351,
     "Status": "BOOKED",
     "NumberOfRooms": 2,
     "LengthOfStay": 6,
     "PartnerConfirmationNumber": "hello123",
     "PartnerAgentId": "123456",
     "BookingDateTime": "2021-07-27T06:53:00+00:00",
     "LastUpdateDateTime": "2021-07-27T07:05:14+00:00",
     "HotelDetails": {
         "Id": "9844402",
         "Name": "Hyatt House Seattle/Downtown",
         "LocalCurrencyCode": "USD",
         "Location": {
             "Address": {
                 "Address1": "201 Fifth Avenue North",
                 "City": "Seattle",
                 "Province": "WA",
                 "Country": "USA",
                 "PostalCode": "98109"
             },
             "GeoLocation": {
                 "Latitude": "47.620185",
                 "Longitude": "-122.347637"
             }
         },
         "ThumbnailUrl": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg",
         "Media": [{
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "b",
                 "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_b.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "s",
                 "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_s.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "t",
                 "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "y",
                 "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_y.jpg"
             }, {
                 "Type": "1",
                 "Title": "Featured Image",
                 "Size": "z",
                 "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_z.jpg"
             }
         ],
         "StarRating": "3.0",
         "HotelAmenities": [{
                 "Id": "52",
                 "Name": "Total number of rooms - 172"
             }, {
                 "Id": "54",
                 "Name": "Number of floors - 8"
             }, {
                 "Id": "3",
                 "Name": "Bar/lounge"
             }, {
                 "Id": "321",
                 "Name": "Barbecue grill(s)"
             }, {
                 "Id": "2047",
                 "Name": "Free newspapers in lobby"
             }, {
                 "Id": "2001",
                 "Name": "Free breakfast"
             }, {
                 "Id": "2070",
                 "Name": "Dry cleaning/laundry service"
             }, {
                 "Id": "2177",
                 "Name": "Express check-in"
             }, {
                 "Id": "2067",
                 "Name": "Express check-out"
             }, {
                 "Id": "4468",
                 "Name": "24-hour fitness facilities"
             }, {
                 "Id": "2386",
                 "Name": "Grocery/convenience store"
             }, {
                 "Id": "2390",
                 "Name": "Free WiFi"
             }, {
                 "Id": "2392",
                 "Name": "Free wired high-speed Internet"
             }, {
                 "Id": "3865",
                 "Name": "Computer station"
             }, {
                 "Id": "369",
                 "Name": "Laundry facilities"
             }, {
                 "Id": "2043",
                 "Name": "Multilingual staff"
             }, {
                 "Id": "3761",
                 "Name": "Parking (limited spaces)"
             }, {
                 "Id": "3912",
                 "Name": "Rooftop terrace"
             }, {
                 "Id": "4003",
                 "Name": "Luggage storage"
             }, {
                 "Id": "19",
                 "Name": "Restaurant"
             }, {
                 "Id": "2016",
                 "Name": "Safe-deposit box at front desk"
             }, {
                 "Id": "3500",
                 "Name": "Snack bar/deli"
             }, {
                 "Id": "2528",
                 "Name": "Free area shuttle"
             }, {
                 "Id": "2538",
                 "Name": "24-hour business center"
             }, {
                 "Id": "2593",
                 "Name": "Number of meeting rooms - 2"
             }, {
                 "Id": "2594",
                 "Name": "Free reception"
             }, {
                 "Id": "4111",
                 "Name": "Free grocery shopping service"
             }, {
                 "Id": "3862",
                 "Name": "Self parking (surcharge)"
             }, {
                 "Id": "2137",
                 "Name": "Smoke-free property"
             }
         ],
         "Rooms": [{
                 "Traveler": {
                     "Name": {
                         "FirstName": "阿百川",
                         "MiddleName": "Edward",
                         "LastName": "Doe"
                     },
                     "Phone": {
                         "CountryCode": "1",
                         "AreaCode": "206",
                         "Number": "9876543"
                     },
                     "Email": "1037151328@qq.com"
                 },
                 "Status": "BOOKED",
                 "RoomPreferences": [{
                         "Type": "SmokingPreference",
                         "Value": "NonSmoking"
                     }, {
                         "Type": "Bed",
                         "Value": "88"
                     }
                 ],
                 "SpecialRequests": "check-in 30 hours late",
                 "Occupants": [{
                         "Adults": 3,
                         "ChildAges": [
                             1,
                             2
                         ]
                     }
                 ],
                 "stayDates": [{
                         "CheckInDate": "2021-07-19",
                         "CheckOutDate": "2021-07-25"
                     }
                 ],
                 "Description": "Studio Two Queen Beds",
                 "RatePlans": [{
                         "RoomTypeId": "200912711",
                         "ConfirmationNumber": "a31eb53b-4277-4b28-9251-1734b715f6ea",
                         "RatePlanId": "204616305",
                         "RateRuleId": "208546868",
                         "StayDates": {
                             "CheckInDate": "2021-07-19",
                             "CheckOutDate": "2021-07-25"
                         },
                         "Price": {
                             "BaseRate": {
                                 "Value": "1698.30",
                                 "Currency": "USD"
                             },
                             "TaxesAndFees": {
                                 "Value": "276.96",
                                 "Currency": "USD"
                             },
                             "TotalPrice": {
                                 "Value": "1975.26",
                                 "Currency": "USD"
                             },
                             "AvgNightlyRate": {
                                 "Value": "283.05",
                                 "Currency": "USD"
                             },
                             "RoomRates": [{
                                     "RoomIndex": 1,
                                     "NightlyRates": [{
                                             "StayDate": "2021-07-19",
                                             "BaseRate": {
                                                 "Value": "283.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "46.16",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "329.21",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-20",
                                             "BaseRate": {
                                                 "Value": "283.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "46.16",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "329.21",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-21",
                                             "BaseRate": {
                                                 "Value": "283.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "46.16",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "329.21",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-22",
                                             "BaseRate": {
                                                 "Value": "283.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "46.16",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "329.21",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-23",
                                             "BaseRate": {
                                                 "Value": "283.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "46.16",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "329.21",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-24",
                                             "BaseRate": {
                                                 "Value": "283.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "46.16",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "329.21",
                                                 "Currency": "USD"
                                             }
                                         }
                                     ]
                                 }
                             ]
                         },
                         "PaymentMethod": "Online",
                         "CancellationPolicy": {
                             "Refundable": false,
                             "FreeCancellation": false,
                             "CancellationPenaltyRule": [{
                                     "PenaltyPercentOfStay": 100,
                                     "PenaltyStartDateTime": "2021-07-27T06:53:00+00:00",
                                     "penaltyEndDateTime": "2021-07-26T02:00:00+00:00"
                                 }
                             ],
                             "NonRefundableDateRanges": [{
                                     "StartDate": "2021-07-19",
                                     "EndDate": "2021-07-24"
                                 }
                             ]
                         },
                         "Amenities": [{
                                 "Id": "2192",
                                 "Name": "Free Wireless Internet"
                             }, {
                                 "Id": "2205",
                                 "Name": "Breakfast Buffet"
                             }
                         ]
                     }
                 ],
                 "Price": {
                     "BaseRate": {
                         "Value": "1698.30",
                         "Currency": "USD"
                     },
                     "TaxesAndFees": {
                         "Value": "276.96",
                         "Currency": "USD"
                     },
                     "TotalPrice": {
                         "Value": "1975.26",
                         "Currency": "USD"
                     },
                     "AvgNightlyRate": {
                         "Value": "283.05",
                         "Currency": "USD"
                     }
                 },
                 "SmokingOption": "NonSmoking",
                 "Amenities": [{
                         "Id": "4092",
                         "Name": "Square meters -40"
                     }, {
                         "Id": "4093",
                         "Name": "Square feet -431"
                     }, {
                         "Id": "4104",
                         "Name": "Kitchen"
                     }, {
                         "Id": "4143",
                         "Name": "Cookware, dishware, and utensils"
                     }, {
                         "Id": "4642",
                         "Name": "No rollaway/extra beds"
                     }
                 ]
             }, {
                 "Traveler": {
                     "Name": {
                         "FirstName": "test",
                         "MiddleName": "Edward",
                         "LastName": "Doe"
                     },
                     "Phone": {
                         "CountryCode": "1",
                         "AreaCode": "206",
                         "Number": "9876543"
                     },
                     "Email": "1037151328@qq.com"
                 },
                 "Status": "BOOKED",
                 "RoomPreferences": [{
                         "Type": "SmokingPreference",
                         "Value": "NonSmoking"
                     }, {
                         "Type": "Bed",
                         "Value": "88"
                     }
                 ],
                 "SpecialRequests": "check-in 30 hours late",
                 "Occupants": [{
                         "Adults": 2
                     }
                 ],
                 "stayDates": [{
                         "CheckInDate": "2021-07-19",
                         "CheckOutDate": "2021-07-25"
                     }
                 ],
                 "Description": "Studio Two Queen Beds",
                 "RatePlanType": "standalone",
                 "RatePlans": [{
                         "RoomTypeId": "200912711",
                         "ConfirmationNumber": "fdfcb9ee-ada0-4147-950a-f6a58f8a46d6",
                         "RatePlanId": "204616305",
                         "RateRuleId": "208546868",
                         "StayDates": {
                             "CheckInDate": "2021-07-19",
                             "CheckOutDate": "2021-07-25"
                         },
                         "Price": {
                             "BaseRate": {
                                 "Value": "1338.30",
                                 "Currency": "USD"
                             },
                             "TaxesAndFees": {
                                 "Value": "220.74",
                                 "Currency": "USD"
                             },
                             "TotalPrice": {
                                 "Value": "1559.04",
                                 "Currency": "USD"
                             },
                             "AvgNightlyRate": {
                                 "Value": "223.05",
                                 "Currency": "USD"
                             },
                             "RoomRates": [{
                                     "RoomIndex": 2,
                                     "NightlyRates": [{
                                             "StayDate": "2021-07-19",
                                             "BaseRate": {
                                                 "Value": "223.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "36.79",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "259.84",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-20",
                                             "BaseRate": {
                                                 "Value": "223.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "36.79",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "259.84",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-21",
                                             "BaseRate": {
                                                 "Value": "223.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "36.79",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "259.84",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-22",
                                             "BaseRate": {
                                                 "Value": "223.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "36.79",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "259.84",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-23",
                                             "BaseRate": {
                                                 "Value": "223.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "36.79",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "259.84",
                                                 "Currency": "USD"
                                             }
                                         }, {
                                             "StayDate": "2021-07-24",
                                             "BaseRate": {
                                                 "Value": "223.05",
                                                 "Currency": "USD"
                                             },
                                             "TaxesAndFees": {
                                                 "Value": "36.79",
                                                 "Currency": "USD"
                                             },
                                             "TotalPrice": {
                                                 "Value": "259.84",
                                                 "Currency": "USD"
                                             }
                                         }
                                     ]
                                 }
                             ]
                         },
                         "PaymentMethod": "Online",
                         "CancellationPolicy": {
                             "Refundable": false,
                             "FreeCancellation": false,
                             "CancellationPenaltyRule": [{
                                     "PenaltyPercentOfStay": 100,
                                     "PenaltyStartDateTime": "2021-07-27T06:53:00+00:00",
                                     "penaltyEndDateTime": "2021-07-26T02:00:00+00:00"
                                 }
                             ],
                             "NonRefundableDateRanges": [{
                                     "StartDate": "2021-07-19",
                                     "EndDate": "2021-07-24"
                                 }
                             ]
                         },
                         "Amenities": [{
                                 "Id": "2192",
                                 "Name": "Free Wireless Internet"
                             }, {
                                 "Id": "2205",
                                 "Name": "Breakfast Buffet"
                             }
                         ]
                     }
                 ],
                 "Price": {
                     "BaseRate": {
                         "Value": "1338.30",
                         "Currency": "USD"
                     },
                     "TaxesAndFees": {
                         "Value": "220.74",
                         "Currency": "USD"
                     },
                     "TotalPrice": {
                         "Value": "1559.04",
                         "Currency": "USD"
                     },
                     "AvgNightlyRate": {
                         "Value": "223.05",
                         "Currency": "USD"
                     }
                 },
                 "SmokingOption": "NonSmoking",
                 "Amenities": [{
                         "Id": "4092",
                         "Name": "Square meters -40"
                     }, {
                         "Id": "4093",
                         "Name": "Square feet -431"
                     }, {
                         "Id": "4104",
                         "Name": "Kitchen"
                     }, {
                         "Id": "4143",
                         "Name": "Cookware, dishware, and utensils"
                     }, {
                         "Id": "4642",
                         "Name": "No rollaway/extra beds"
                     }
                 ]
             }
         ]
     },
     "TotalPrice": {
         "Value": "3534.30",
         "Currency": "USD"
     },
     "Links": {
         "ApiCancel": {
             "Accept": "application/vnd.exp-hotel.v3+json",
             "Method": "PUT",
             "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/7160973351"
         },
         "WebItinRetrieve": {
             "Href": "https://wwwexpediacom.int-milan.sb.karmalab.net/trips/7160973351?userToken=1tPV-3B--c0csvc-fsEVUajVTxRRI74QzgbB_9RXCvDjYqZ_cIZuguU4HHUhI5I008K8akdNf61pmAQls0hU8OEEEI5ebpSvw5wT"
         }
     },
     "PartnerMetaData": {
         "MetaDataKey": "MetaDataValue"
     }
 }

Retrieve Booking Response - With Coupon

{
    "TransactionId": "8d9e2878-9134-41b3-ae74-084b12963a64",
    "ItineraryNumber": 790008033721,
    "BookingDateTime": "2021-01-22T06:52:28+00:00",
    "PartnerAgentId": "123456",
    "PartnerConfirmationNumber": "hello123",
    "Links": {
        "ApiCancel": {
            "Accept": "application/vnd.exp-hotel.v3+json",
            "Method": "PUT",
            "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/790008033721"
        },
        "ApiPreCancel": {
            "Accept": "application/vnd.exp-hotel.v3+json",
            "Method": "GET",
            "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/790008033721/canceldetails"
        },
        "WebItinRetrieve": {
            "Href": "https://wwwexpediacouk.integration.sb.karmalab.net/trips/790008033721?userToken=EVPhNR-S-XpG8LhJj8rCH38Uhmph2CiXhaLhr9wv7OacY7czIZwcS-U4xkZSKs6xCUMM7qBe9TC1XlTmul2zuxAsGLPPl8fUYf9u"
        }
    },
    "Status": "BOOKED",
    "LastUpdateDateTime": "2021-01-22T07:05:14+00:00",
    "HotelConfirmation": "8082726664410",
    "NumberOfRooms": 1,
    "LengthOfStay": 3,
    "HotelDetails": {
        "Id": "200710",
        "Name": "Paris Las Vegas Resort & Casino",
        "LocalCurrencyCode": "USD",
        "Location": {
            "Address": {
                "Address1": "3655 Las Vegas Blvd S",
                "City": "Las Vegas",
                "Province": "NV",
                "Country": "USA",
                "PostalCode": "89109"
            },
            "GeoLocation": {
                "Latitude": "36.111525",
                "Longitude": "-115.17274"
            }
        },
        "Description": {
            "LocationTeaser": "Located in Paradise, this spa resort is within a 10-minute walk of Miracle Mile Shops and High Roller. Las Vegas Convention Center is 2.2 mi (3.6 km) away. ",
            "HotelTeaser": "Along with 13 restaurants, this resort has a full-service spa and a casino. WiFi in public areas is free. Additionally, an outdoor pool, a nightclub and a fitness centre are on-site. ",
            "RoomTeaser": "Properties feature 24-hour room service, wireless Internet access (surcharge) and refrigerators. Other amenities available to guests include separate bathtubs and showers, in-room massages and hairdryers. "
        },
        "ThumbnailUrl": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg",
        "Media": [{
                "Type": "1",
                "Title": "Featured Image",
                "Size": "b",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_b.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "s",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_s.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "t",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "y",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_y.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "z",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_z.jpg"
            }
        ],
        "StarRating": "4.0",
        "Policies": {
            "CheckInStartTime": "4 PM",
            "CheckInEndTime": "11:30 PM",
            "CheckOutTime": "11 AM",
            "PetPolicies": [
                "Pets not allowed (service animals welcome)"
            ],
            "ChildrenAndExtraBedsPolicies": [
                "Children are welcome.",
                "Rollaway/extra beds are available for USD 30 per night.",
                "Cribs (infant beds) are available."
            ]
        },
        "HotelAmenities": [{
                "Id": "2112",
                "Name": "Casino"
            }, {
                "Id": "2177",
                "Name": "Express check-in"
            }, {
                "Id": "3",
                "Name": "Bar/lounge"
            }, {
                "Id": "9",
                "Name": "Fitness facilities"
            }, {
                "Id": "2123",
                "Name": "Full-service spa"
            }, {
                "Id": "2063",
                "Name": "24-hour front desk"
            }, {
                "Id": "400",
                "Name": "Poolside bar"
            }, {
                "Id": "2065",
                "Name": "Business center"
            }, {
                "Id": "81",
                "Name": "Conference space"
            }, {
                "Id": "2129",
                "Name": "Spa treatment room(s)"
            }, {
                "Id": "2066",
                "Name": "Porter/bellhop"
            }, {
                "Id": "2067",
                "Name": "Express check-out"
            }, {
                "Id": "2004",
                "Name": "Coffee shop or café"
            }, {
                "Id": "2070",
                "Name": "Dry cleaning/laundry service"
            }, {
                "Id": "2390",
                "Name": "Free WiFi"
            }, {
                "Id": "3862",
                "Name": "Self parking (surcharge)"
            }, {
                "Id": "2134",
                "Name": "Steam room"
            }, {
                "Id": "2135",
                "Name": "Sauna"
            }, {
                "Id": "2072",
                "Name": "Limo or Town Car service available"
            }, {
                "Id": "3864",
                "Name": "Valet parking (surcharge)"
            }, {
                "Id": "24",
                "Name": "Outdoor pool"
            }, {
                "Id": "2010",
                "Name": "Nightclub"
            }, {
                "Id": "2016",
                "Name": "Safe-deposit box at front desk"
            }, {
                "Id": "2021",
                "Name": "Spa services on site"
            }, {
                "Id": "40",
                "Name": "Hair salon"
            }, {
                "Id": "41",
                "Name": "ATM/banking"
            }, {
                "Id": "361",
                "Name": "Breakfast available (surcharge)"
            }, {
                "Id": "2537",
                "Name": "Number of restaurants -13"
            }, {
                "Id": "44",
                "Name": "Gift shops or newsstand"
            }, {
                "Id": "45",
                "Name": "Shopping on site"
            }, {
                "Id": "371",
                "Name": "Spa tub"
            }, {
                "Id": "52",
                "Name": "Total number of rooms -2,916"
            }, {
                "Id": "54",
                "Name": "Number of floors -33"
            }, {
                "Id": "2167",
                "Name": "Wedding services"
            }, {
                "Id": "2043",
                "Name": "Multilingual staff"
            }
        ],
        "Accessibility": [
            "Accessible bathroom",
            "Roll-in shower",
            "In-room accessibility"
        ],
        "Rooms": [{
                "Traveler": {
                    "Name": {
                        "FirstName": "John",
                        "MiddleName": "Edward",
                        "LastName": "Doe"
                    },
                    "Phone": {
                        "CountryCode": "1",
                        "AreaCode": "206",
                        "Number": "9876543"
                    },
                    "Email": "john.doe@gmail.com"
                },
                "Status": "BOOKED",
                "RoomPreferences": [{
                        "Type": "SmokingPreference",
                        "Value": "Smoking"
                    }, {
                        "Type": "Bed",
                        "Value": "14"
                    }
                ],
                "SpecialRequests": "check-in 2 hours late,Crib Required",
                "Occupants": [{
                        "Adults": 2
                    }
                ],
                "StayDates": [{
                        "CheckInDate": "2021-03-02",
                        "CheckOutDate": "2021-03-05"
                    }
                ],
                "Description": "Red Room, 1 King Bed, Smoking, High Floor",
                "RatePlanType": "standalone",
                "RatePlans": [{
                        "RoomTypeId": "200893553",
                        "RatePlanId": "210402626",
                        "RateRuleId": "229792814",
                        "StayDates": {
                            "CheckInDate": "2021-03-02",
                            "CheckOutDate": "2021-03-05"
                        },
                        "Price": {
                            "BaseRate": {
                                "Value": "350.38",
                                "Currency": "GBP"
                            },
                            "TaxesAndFees": {
                                "Value": "48.61",
                                "Currency": "GBP"
                            },
                            "TotalPrice": {
                                "Value": "398.99",
                                "Currency": "GBP"
                            },
                            "AvgNightlyRate": {
                                "Value": "116.79",
                                "Currency": "GBP"
                            },
                            "HotelMandatoryFees": {
                                "Value": "119.05",
                                "Currency": "GBP"
                            },
                            "RoomRates": [{
                                    "RoomIndex": 1,
                                    "NightlyRates": [{
                                            "StayDate": "2021-03-02",
                                            "BaseRate": {
                                                "Value": "113.36",
                                                "Currency": "GBP"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "16.90",
                                                "Currency": "GBP"
                                            },
                                            "TotalPrice": {
                                                "Value": "130.26",
                                                "Currency": "GBP"
                                            }
                                        }, {
                                            "StayDate": "2021-03-03",
                                            "BaseRate": {
                                                "Value": "150.29",
                                                "Currency": "GBP"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "20.11",
                                                "Currency": "GBP"
                                            },
                                            "TotalPrice": {
                                                "Value": "170.40",
                                                "Currency": "GBP"
                                            }
                                        }, {
                                            "StayDate": "2021-03-04",
                                            "BaseRate": {
                                                "Value": "86.73",
                                                "Currency": "GBP"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "11.60",
                                                "Currency": "GBP"
                                            },
                                            "TotalPrice": {
                                                "Value": "98.33",
                                                "Currency": "GBP"
                                            }
                                        }
                                    ]
                                }
                            ]
                        },
                        "PaymentMethod": "Online",
                        "CancellationPolicy": {
                            "Refundable": true,
                            "FreeCancellation": true,
                            "FreeCancellationEndDateTime": "2021-02-27T19:59:00+00:00",
                            "CancellationPenaltyRules": [{
                                    "PenaltyNightCount": 1,
                                    "PenaltyStartDateTime": "2021-02-27T19:59:00+00:00",
                                    "PenaltyEndDateTime": "2021-03-02T19:59:00+00:00"
                                }, {
                                    "PenaltyPercentOfStay": "100",
                                    "PenaltyStartDateTime": "2021-03-02T19:59:00+00:00",
                                    "PenaltyEndDateTime": "2021-03-05T19:59:00+00:00"
                                }
                            ]
                        },
                        "Amenities": [{
                                "Id": "2193",
                                "Name": "Continental Breakfast for 2"
                            }
                        ],
                        "ConfirmationNumber": "f8521351-ad2b-4f41-a426-a04a40310d69",
                        "Links": {
                            "ApiCancel": {
                                "Accept": "application/vnd.exp-hotel.v3+json",
                                "Method": "PUT",
                                "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/790008033721?roomConfirmations=f8521351-ad2b-4f41-a426-a04a40310d69"
                            }
                        }
                    }
                ],
                "Price": {
                    "BaseRate": {
                        "Value": "350.38",
                        "Currency": "GBP"
                    },
                    "TaxesAndFees": {
                        "Value": "48.61",
                        "Currency": "GBP"
                    },
                    "TotalPrice": {
                        "Value": "398.99",
                        "Currency": "GBP"
                    },
                    "AvgNightlyRate": {
                        "Value": "116.79",
                        "Currency": "GBP"
                    },
                    "HotelMandatoryFees": {
                        "Value": "119.05",
                        "Currency": "GBP"
                    }
                },
                "Links": {
                    "ApiCancel": {
                        "Accept": "application/vnd.exp-hotel.v3+json",
                        "Method": "PUT",
                        "Href": "https://ews-booking-service.us-west-2.test.expedia.com/hotels/bookings/790008033721?roomConfirmations=f8521351-ad2b-4f41-a426-a04a40310d69"
                    }
                },
                "SmokingOption": "Smoking",
                "Amenities": [{
                        "Id": "6148",
                        "Name": "LED TV"
                    }, {
                        "Id": "4949",
                        "Name": "Cribs/infant beds (surcharge)"
                    }, {
                        "Id": "4134",
                        "Name": "City view"
                    }, {
                        "Id": "4092",
                        "Name": "Square meters -36"
                    }, {
                        "Id": "4093",
                        "Name": "Square feet -390"
                    }
                ]
            }
        ]
    },
    "TotalPrice": {
        "Value": "398.99",
        "Currency": "GBP"
    },
    "AppliedCoupon": {
        "Code": "EwsTestUKS13",
        "Discount": {
            "Value": "13.00",
            "Currency": "GBP"
        }
    },
    "PartnerMetaData": {
        "MetaDataKey": "MetaDataValue"
    }
}

Retrieve Booking Response For Three Rooms and One Room Cancelled

{
    "TransactionId": "a47554a3-8cf4-4b62-ae94-792ba622961e",
    "ItineraryNumber": 79017964335,
    "BookingDateTime": "2021-10-05T11:46:00-07:00",
    "PartnerConfirmationNumber": "hello123",
    "Links": {
        "ApiCancel": {
            "Accept": "application/vnd.exp-hotel.v3+json",
            "Method": "PUT",
            "Href": "https://apim.expedia.com/hotels/bookings/79017964335"
        },
        "ApiPreCancel": {
            "Accept": "application/vnd.exp-hotel.v3+json",
            "Method": "GET",
            "Href": "https://apim.expedia.com/hotels/bookings/79017964335/canceldetails"
        },
        "WebItinRetrieve": {
            "Href": "https://wwwexpediacom.int-milan.sb.karmalab.net/trips/79017964335?userToken="
        }
    },
    "Status": "BOOKED",
    "LastUpdateDateTime": "2021-10-05T12:05:14+00:00",
    "HotelConfirmation": "8059965677747",
    "NumberOfRooms": 3,
    "LengthOfStay": 3,
    "HotelDetails": {
        "Id": "50947",
        "Name": "Motif Seattle",
        "LocalCurrencyCode": "USD",
        "Location": {
            "Address": {
                "Address1": "1415 5th Ave",
                "City": "Seattle",
                "Province": "WA",
                "Country": "USA",
                "PostalCode": "98101"
            },
            "GeoLocation": {
                "Latitude": "47.60985",
                "Longitude": "-122.33475"
            }
        },
        "Description": {
            "LocationTeaser": "Located in Seattle Central Business District, this hotel is within a 5-minute walk of 5th Avenue Theater and Nordstrom. Pike Place Market and Washington State Convention Center are also within 10 minutes. ",
            "HotelTeaser": "Along with 2 restaurants, this smoke-free hotel has 2 bars/lounges and a fitness center. WiFi in public areas is free. Other amenities include a rooftop terrace, a 24-hour business center, and self parking. ",
            "RoomTeaser": "All 319 rooms offer comforts like pillowtop beds and premium bedding, plus iPod docks and flat-screen TVs with satellite channels. Guests will also find WiFi, room service, and coffee makers. "
        },
        "ThumbnailUrl": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg",
        "Media": [{
                "Type": "1",
                "Title": "Featured Image",
                "Size": "b",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_b.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "s",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_s.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "t",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "y",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_y.jpg"
            }, {
                "Type": "1",
                "Title": "Featured Image",
                "Size": "z",
                "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_z.jpg"
            }
        ],
        "StarRating": "4.0",
        "Policies": {
            "CheckInStartTime": "4 PM",
            "CheckInEndTime": "2 AM",
            "CheckOutTime": "noon",
            "PetPolicies": [
                "Pets allowed for an extra charge of USD 20 per accommodation, per stay",
                "2 per room"
            ],
            "ChildrenAndExtraBedsPolicies": [
                "Children are welcome.",
                "Rollaway/extra beds are available for USD 20 per night.",
                "Free cribs (infant beds)!"
            ]
        },
        "HotelAmenities": [{
                "Id": "2178",
                "Name": "Use of nearby fitness center (discount)"
            }, {
                "Id": "324",
                "Name": "Coffee/tea in common areas"
            }, {
                "Id": "8",
                "Name": "Elevator/lift"
            }, {
                "Id": "3912",
                "Name": "Rooftop terrace"
            }, {
                "Id": "9",
                "Name": "Fitness facilities"
            }, {
                "Id": "3913",
                "Name": "Number of bars/lounges - 2"
            }, {
                "Id": "2063",
                "Name": "24-hour front desk"
            }, {
                "Id": "81",
                "Name": "Conference space"
            }, {
                "Id": "2066",
                "Name": "Porter/bellhop"
            }, {
                "Id": "2131",
                "Name": "Meeting rooms12"
            }, {
                "Id": "2070",
                "Name": "Dry cleaning/laundry service"
            }, {
                "Id": "2390",
                "Name": "Free WiFi"
            }, {
                "Id": "3862",
                "Name": "Self parking (surcharge)"
            }, {
                "Id": "2072",
                "Name": "Limo or Town Car service available"
            }, {
                "Id": "2137",
                "Name": "Smoke-free property"
            }, {
                "Id": "2016",
                "Name": "Safe-deposit box at front desk"
            }, {
                "Id": "2592",
                "Name": "Conference space size (meters) - 1394"
            }, {
                "Id": "2593",
                "Name": "Number of meeting rooms - 14"
            }, {
                "Id": "4003",
                "Name": "Luggage storage"
            }, {
                "Id": "2537",
                "Name": "Number of restaurants - 2"
            }, {
                "Id": "361",
                "Name": "Breakfast available (surcharge)"
            }, {
                "Id": "2538",
                "Name": "24-hour business center"
            }, {
                "Id": "43",
                "Name": "Concierge services"
            }, {
                "Id": "2539",
                "Name": "Conference space size (feet) - 15000"
            }, {
                "Id": "52",
                "Name": "Total number of rooms - 319"
            }, {
                "Id": "54",
                "Name": "Number of floors - 20"
            }, {
                "Id": "2043",
                "Name": "Multilingual staff"
            }, {
                "Id": "317",
                "Name": "Fireplace in lobby"
            }, {
                "Id": "2047",
                "Name": "Free newspapers in lobby"
            }
        ],
        "Accessibility": [
            "Accessible bathroom",
            "Roll-in shower",
            "Accessible parking",
            "In-room accessibility"
        ],
        "Rooms": [{
                "Traveler": {
                    "Name": {
                        "FirstName": "John",
                        "MiddleName": "Edward",
                        "LastName": "Doe"
                    },
                    "Phone": {
                        "CountryCode": "1",
                        "AreaCode": "206",
                        "Number": "9876543"
                    },
                    "Email": "john.doe@gmail.com"
                },
                "Status": "BOOKED",
                "RoomPreferences": [{
                        "Type": "SmokingPreference",
                        "Value": "NonSmoking"
                    }, {
                        "Type": "Bed",
                        "Value": "15"
                    }
                ],
                "SpecialRequests": "check-in 2 hours late,Crib Required",
                "Occupants": [{
                        "Adults": 2
                    }
                ],
                "StayDates": [{
                        "CheckInDate": "2021-10-17",
                        "CheckOutDate": "2021-10-20"
                    }
                ],
                "Description": "Single Room, 1 Queen Bed",
                "RatePlans": [{
                        "RoomTypeId": "201892847",
                        "RatePlanId": "209571066",
                        "RateRuleId": "226351705",
                        "StayDates": {
                            "CheckInDate": "2021-10-17",
                            "CheckOutDate": "2021-10-20"
                        },
                        "Price": {
                            "BaseRate": {
                                "Value": "927.00",
                                "Currency": "USD"
                            },
                            "TaxesAndFees": {
                                "Value": "150.60",
                                "Currency": "USD"
                            },
                            "TotalPrice": {
                                "Value": "1077.60",
                                "Currency": "USD"
                            },
                            "AvgNightlyRate": {
                                "Value": "309.00",
                                "Currency": "USD"
                            },
                            "HotelMandatoryFees": {
                                "Value": "42.57",
                                "Currency": "USD"
                            },
                            "RoomRates": [{
                                    "RoomIndex": 1,
                                    "NightlyRates": [{
                                            "StayDate": "2021-10-17",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }, {
                                            "StayDate": "2021-10-18",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }, {
                                            "StayDate": "2021-10-19",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }
                                    ]
                                }
                            ]
                        },
                        "PaymentMethod": "Hotel",
                        "CancellationPolicy": {
                            "Refundable": true,
                            "FreeCancellation": true,
                            "FreeCancellationEndDateTime": "2021-10-15T19:00:00-07:00",
                            "CancellationPenaltyRules": [{
                                    "PenaltyNightCount": 1,
                                    "PenaltyStartDateTime": "2021-10-15T19:00:00-07:00",
                                    "PenaltyEndDateTime": "2021-10-17T19:00:00-07:00"
                                }, {
                                    "PenaltyPercentOfStay": "100",
                                    "PenaltyStartDateTime": "2021-10-17T19:00:00-07:00",
                                    "PenaltyEndDateTime": "2021-10-20T19:00:00-07:00"
                                }
                            ]
                        },
                        "ConfirmationNumber": "444d9fee-57f9-4e38-8a78-86275a06d778",
                        "Links": {
                            "ApiCancel": {
                                "Accept": "application/vnd.exp-hotel.v3+json",
                                "Method": "PUT",
                                "Href": "https://apim.expedia.com/hotels/bookings/79017964335?roomConfirmations=444d9fee-57f9-4e38-8a78-86275a06d778"
                            }
                        }
                    }
                ],
                "Price": {
                    "BaseRate": {
                        "Value": "927.00",
                        "Currency": "USD"
                    },
                    "TaxesAndFees": {
                        "Value": "150.60",
                        "Currency": "USD"
                    },
                    "TotalPrice": {
                        "Value": "1077.60",
                        "Currency": "USD"
                    },
                    "AvgNightlyRate": {
                        "Value": "309.00",
                        "Currency": "USD"
                    },
                    "HotelMandatoryFees": {
                        "Value": "42.57",
                        "Currency": "USD"
                    }
                },
                "Links": {
                    "ApiCancel": {
                        "Accept": "application/vnd.exp-hotel.v3+json",
                        "Method": "PUT",
                        "Href": "https://apim.expedia.com/hotels/bookings/79017964335?roomConfirmations=444d9fee-57f9-4e38-8a78-86275a06d778"
                    }
                },
                "SmokingOption": "NonSmoking"
            }, {
                "Traveler": {
                    "Name": {
                        "FirstName": "John",
                        "MiddleName": "Edward",
                        "LastName": "Little"
                    },
                    "Phone": {
                        "CountryCode": "1",
                        "AreaCode": "206",
                        "Number": "9876543"
                    },
                    "Email": "john.doe@gmail.com"
                },
                "Status": "BOOKED",
                "RoomPreferences": [{
                        "Type": "SmokingPreference",
                        "Value": "NonSmoking"
                    }, {
                        "Type": "Bed",
                        "Value": "15"
                    }
                ],
                "SpecialRequests": "check-in 2 hours late,Crib Required",
                "Occupants": [{
                        "Adults": 1
                    }
                ],
                "StayDates": [{
                        "CheckInDate": "2021-10-17",
                        "CheckOutDate": "2021-10-20"
                    }
                ],
                "Description": "Single Room, 1 Queen Bed",
                "RatePlans": [{
                        "RoomTypeId": "201892847",
                        "RatePlanId": "209571066",
                        "RateRuleId": "226351705",
                        "StayDates": {
                            "CheckInDate": "2021-10-17",
                            "CheckOutDate": "2021-10-20"
                        },
                        "Price": {
                            "BaseRate": {
                                "Value": "927.00",
                                "Currency": "USD"
                            },
                            "TaxesAndFees": {
                                "Value": "150.60",
                                "Currency": "USD"
                            },
                            "TotalPrice": {
                                "Value": "1077.60",
                                "Currency": "USD"
                            },
                            "AvgNightlyRate": {
                                "Value": "309.00",
                                "Currency": "USD"
                            },
                            "HotelMandatoryFees": {
                                "Value": "42.57",
                                "Currency": "USD"
                            },
                            "RoomRates": [{
                                    "RoomIndex": 2,
                                    "NightlyRates": [{
                                            "StayDate": "2021-10-17",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }, {
                                            "StayDate": "2021-10-18",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }, {
                                            "StayDate": "2021-10-19",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }
                                    ]
                                }
                            ]
                        },
                        "PaymentMethod": "Hotel",
                        "CancellationPolicy": {
                            "Refundable": true,
                            "FreeCancellation": true,
                            "FreeCancellationEndDateTime": "2021-10-15T19:00:00-07:00",
                            "CancellationPenaltyRules": [{
                                    "PenaltyNightCount": 1,
                                    "PenaltyStartDateTime": "2021-10-15T19:00:00-07:00",
                                    "PenaltyEndDateTime": "2021-10-17T19:00:00-07:00"
                                }, {
                                    "PenaltyPercentOfStay": "100",
                                    "PenaltyStartDateTime": "2021-10-17T19:00:00-07:00",
                                    "PenaltyEndDateTime": "2021-10-20T19:00:00-07:00"
                                }
                            ]
                        },
                        "ConfirmationNumber": "a8bc0b50-3ed8-4285-834c-a44a29dd4852",
                        "Links": {
                            "ApiCancel": {
                                "Accept": "application/vnd.exp-hotel.v3+json",
                                "Method": "PUT",
                                "Href": "https://apim.expedia.com/hotels/bookings/79017964335?roomConfirmations=a8bc0b50-3ed8-4285-834c-a44a29dd4852"
                            }
                        }
                    }
                ],
                "Price": {
                    "BaseRate": {
                        "Value": "927.00",
                        "Currency": "USD"
                    },
                    "TaxesAndFees": {
                        "Value": "150.60",
                        "Currency": "USD"
                    },
                    "TotalPrice": {
                        "Value": "1077.60",
                        "Currency": "USD"
                    },
                    "AvgNightlyRate": {
                        "Value": "309.00",
                        "Currency": "USD"
                    },
                    "HotelMandatoryFees": {
                        "Value": "42.57",
                        "Currency": "USD"
                    }
                },
                "Links": {
                    "ApiCancel": {
                        "Accept": "application/vnd.exp-hotel.v3+json",
                        "Method": "PUT",
                        "Href": "https://apim.expedia.com/hotels/bookings/79017964335?roomConfirmations=a8bc0b50-3ed8-4285-834c-a44a29dd4852"
                    }
                },
                "SmokingOption": "NonSmoking"
            }, {
                "Traveler": {
                    "Name": {
                        "FirstName": "John",
                        "MiddleName": "Edward",
                        "LastName": "Sr"
                    },
                    "Phone": {
                        "CountryCode": "1",
                        "AreaCode": "206",
                        "Number": "9876543"
                    },
                    "Email": "john.doe@gmail.com"
                },
                "Status": "CANCELED",
                "RoomPreferences": [{
                        "Type": "SmokingPreference",
                        "Value": "NonSmoking"
                    }, {
                        "Type": "Bed",
                        "Value": "15"
                    }
                ],
                "SpecialRequests": "check-in 2 hours late,Crib Required",
                "Occupants": [{
                        "Adults": 1
                    }
                ],
                "StayDates": [{
                        "CheckInDate": "2021-10-17",
                        "CheckOutDate": "2021-10-20"
                    }
                ],
                "Description": "Single Room, 1 Queen Bed",
                "RatePlanType": "standalone",
                "RatePlans": [{
                        "RoomTypeId": "201892847",
                        "RatePlanId": "209571066",
                        "RateRuleId": "226351705",
                        "StayDates": {
                            "CheckInDate": "2021-10-17",
                            "CheckOutDate": "2021-10-20"
                        },
                        "Price": {
                            "BaseRate": {
                                "Value": "927.00",
                                "Currency": "USD"
                            },
                            "TaxesAndFees": {
                                "Value": "150.60",
                                "Currency": "USD"
                            },
                            "TotalPrice": {
                                "Value": "1077.60",
                                "Currency": "USD"
                            },
                            "AvgNightlyRate": {
                                "Value": "309.00",
                                "Currency": "USD"
                            },
                            "HotelMandatoryFees": {
                                "Value": "42.57",
                                "Currency": "USD"
                            },
                            "RoomRates": [{
                                    "RoomIndex": 3,
                                    "NightlyRates": [{
                                            "StayDate": "2021-10-17",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }, {
                                            "StayDate": "2021-10-18",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }, {
                                            "StayDate": "2021-10-19",
                                            "BaseRate": {
                                                "Value": "309.00",
                                                "Currency": "USD"
                                            },
                                            "TaxesAndFees": {
                                                "Value": "50.20",
                                                "Currency": "USD"
                                            },
                                            "TotalPrice": {
                                                "Value": "359.20",
                                                "Currency": "USD"
                                            }
                                        }
                                    ]
                                }
                            ]
                        },
                        "PaymentMethod": "Hotel",
                        "Status": "CANCELED",
                        "CancellationDate": "2021-04-23T11:53:00+00:00",
                        "CancellationPolicy": {
                            "Refundable": true,
                            "FreeCancellation": true,
                            "FreeCancellationEndDateTime": "2021-10-15T19:00:00-07:00",
                            "CancellationPenaltyRules": [{
                                    "PenaltyNightCount": 1,
                                    "PenaltyStartDateTime": "2021-10-15T19:00:00-07:00",
                                    "PenaltyEndDateTime": "2021-10-17T19:00:00-07:00"
                                }, {
                                    "PenaltyPercentOfStay": "100",
                                    "PenaltyStartDateTime": "2021-10-17T19:00:00-07:00",
                                    "PenaltyEndDateTime": "2021-10-20T19:00:00-07:00"
                                }
                            ]
                        },
                        "ConfirmationNumber": "5b92c8ff-2c01-49a7-b464-86a91595b0b2",
                        "CancelConfirmationNumber": "1691204586",
                        "CancellationDetails": {
                            "Penalty": {
                                "Value": "0.00",
                                "Currency": "USD"
                            },
                            "Refund": {
                                "Value": "1077.60",
                                "Currency": "USD"
                            }
                        }
                    }
                ],
                "Price": {
                    "BaseRate": {
                        "Value": "927.00",
                        "Currency": "USD"
                    },
                    "TaxesAndFees": {
                        "Value": "150.60",
                        "Currency": "USD"
                    },
                    "TotalPrice": {
                        "Value": "1077.60",
                        "Currency": "USD"
                    },
                    "AvgNightlyRate": {
                        "Value": "309.00",
                        "Currency": "USD"
                    },
                    "HotelMandatoryFees": {
                        "Value": "42.57",
                        "Currency": "USD"
                    }
                },
                "SmokingOption": "NonSmoking",
                "CancellationDate": "2021-10-05T11:54:00-07:00"
            }
        ]
    },
    "TotalPrice": {
        "Value": "3232.80",
        "Currency": "USD"
    },
    "TotalRefund": {
        "Value": "1077.60",
        "Currency": "USD"
    },
    "PartnerMetaData": {
        "MetaDataKey": "MetaDataValue"
    }
}

Retrieve Booking Response For PayPal Booking - Pending Payment

{
    "TransactionId": "4d45b493-7377-4605-acdf-cf4f940dfa3f",
    "ItineraryNumber": 712345,
    "Status": "PENDING",
    "Links": {
        "ApiResume": {
            "Accept": "application/vnd.exp-hotel.v3+json",
            "Method": "PUT",
            "Href": "https://apim.expedia.com/hotels/bookings/712345/resume"
        },
        "PayPalCompletion": {
            "Href": "https://redirect.paypal.com/out/kaM1W6ZLFvJCuBhbcR1rZxkXB5b6QnfJo0wVp3EkFOIxaDy-Lp8ZyRQKpVqjvWIzfIIcn"
        }
    }
}

Retrieve Booking Response For PayPal Booking - Expired

{
            "Errors": [
                {
                    "Code": "PAYPAL_EXPIRED_TRIP",
                    "Description": "PayPal payment was not completed on time or trip has been reversed. Trip no longer exists."
                }
            ],
            "TransactionId": "480c0523-b67b-4baf-8213-b8a8ef9e8a02"
        }

Retrieve Booking Response with Price In Local Currency

{
          "TransactionId": "51d65951-76dd-4bca-a531-b7730ea529cb",
          "ItineraryNumber": 7360459140680,
          "BookingDateTime": "2021-06-20T06:45:00+00:00",
          "PartnerAgentId": "123456",
          "PartnerConfirmationNumber": "hello123",
          "Links": {
              "ApiCancel": {
                  "Accept": "application/vnd.exp-hotel.v3+json",
                  "Method": "PUT",
                  "Href": "https://apim.expedia.com/hotels/bookings/7360459140680"
              },
              "ApiPreCancel": {
                  "Accept": "application/vnd.exp-hotel.v3+json",
                  "Method": "GET",
                  "Href": "https://apim.expedia.com/hotels/bookings/7360459140680/canceldetails"
              },
              "WebItinRetrieve": {
                  "Href": "https://www.expedia.com/trips/7360459140680?userToken=oB5x_BRq6eeYBllAbr95ecPuieb1EVHSQdgVUWyzqJOoirPkSr5LxFExsQC6cVDWmfIXJpT97LIgqioEvSh0gqzk0lpgnNZRrAS0"
              }
          },
          "Status": "BOOKED",
          "LastUpdateDateTime": "2021-06-20T07:05:14+00:00",
          "HotelConfirmation": "8151117499659",
          "NumberOfRooms": 2,
          "LengthOfStay": 3,
          "HotelDetails": {
              "Id": "4161597",
              "Name": "I Residence Hotel Silom",
              "LocalCurrencyCode": "THB",
              "Location": {
                  "Address": {
                      "Address1": "93 Narathivas Rachanakarin Road",
                      "Address2": "Silom",
                      "City": "Bangkok",
                      "Country": "THA",
                      "PostalCode": "10500"
                  },
                  "GeoLocation": {
                      "Latitude": "13.724523",
                      "Longitude": "100.530801"
                  }
              },
              "PhoneInfos": [{
                      "CountryCode": "66",
                      "AreaCode": "22",
                      "Number": "679700"
                  }
              ],
              "Description": {
                  "LocationTeaser": "Located in Bang Rak, this hotel is within a 10-minute walk of BNH Hospital and Patpong Night Market. Lumpini Park and MBK Center are also within 2 mi (3 km). ",
                  "HotelTeaser": "Along with a restaurant, this hotel has an outdoor pool and a fitness center. Free WiFi in public areas and free self parking are also provided. Additionally, a bar/lounge, a poolside bar, and a coffee shop/café are onsite. ",
                  "RoomTeaser": "All 119 rooms provide conveniences like refrigerators and coffee makers, plus free WiFi and LCD TVs with cable channels. Other amenities available to guests include 24-hour room service, free bottled water, and in-room massages. "
              },
              "ThumbnailUrl": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg",
              "Media": [{
                      "Type": "1",
                      "Title": "Featured Image",
                      "Size": "b",
                      "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_b.jpg"
                  }, {
                      "Type": "1",
                      "Title": "Featured Image",
                      "Size": "s",
                      "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_s.jpg"
                  }, {
                      "Type": "1",
                      "Title": "Featured Image",
                      "Size": "t",
                      "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_t.jpg"
                  }, {
                      "Type": "1",
                      "Title": "Featured Image",
                      "Size": "y",
                      "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_y.jpg"
                  }, {
                      "Type": "1",
                      "Title": "Featured Image",
                      "Size": "z",
                      "Url": "https://images.trvl-media.com/hotels/5000000/4700000/4694100/4694093/3a0c141c_z.jpg"
                  }
              ],
              "StarRating": "4.0",
              "Policies": {
                  "CheckInStartTime": "2 PM",
                  "CheckInEndTime": "midnight",
                  "CheckOutTime": "noon",
                  "PetPolicies": [
                      "Pets not allowed"
                  ],
                  "ChildrenAndExtraBedsPolicies": [
                      "Children are welcome.",
                      "Rollaway/extra beds are available for THB 1000.0 per night.",
                      "Cribs (infant beds) are not available."
                  ]
              },
              "HotelAmenities": [{
                      "Id": "2177",
                      "Name": "Express check-in"
                  }, {
                      "Id": "3",
                      "Name": "Bar/lounge"
                  }, {
                      "Id": "8",
                      "Name": "Elevator/lift"
                  }, {
                      "Id": "3912",
                      "Name": "Rooftop terrace"
                  }, {
                      "Id": "9",
                      "Name": "Fitness facilities"
                  }, {
                      "Id": "2063",
                      "Name": "24-hour front desk"
                  }, {
                      "Id": "400",
                      "Name": "Poolside bar"
                  }, {
                      "Id": "2065",
                      "Name": "Business center"
                  }, {
                      "Id": "2067",
                      "Name": "Express check-out"
                  }, {
                      "Id": "2387",
                      "Name": "Tours/ticket assistance"
                  }, {
                      "Id": "2131",
                      "Name": "Meeting rooms5"
                  }, {
                      "Id": "19",
                      "Name": "Restaurant"
                  }, {
                      "Id": "2515",
                      "Name": "Year Built2008"
                  }, {
                      "Id": "2004",
                      "Name": "Coffee shop or café"
                  }, {
                      "Id": "3861",
                      "Name": "Free self parking"
                  }, {
                      "Id": "2070",
                      "Name": "Dry cleaning/laundry service"
                  }, {
                      "Id": "2390",
                      "Name": "Free WiFi"
                  }, {
                      "Id": "24",
                      "Name": "Outdoor pool"
                  }, {
                      "Id": "2016",
                      "Name": "Safe-deposit box at front desk"
                  }, {
                      "Id": "2592",
                      "Name": "Conference space size (meters) - 5"
                  }, {
                      "Id": "354",
                      "Name": "Ski storage"
                  }, {
                      "Id": "4003",
                      "Name": "Luggage storage"
                  }, {
                      "Id": "361",
                      "Name": "Breakfast available (surcharge)"
                  }, {
                      "Id": "2539",
                      "Name": "Conference space size (feet) - 50"
                  }, {
                      "Id": "3500",
                      "Name": "Snack bar/deli"
                  }, {
                      "Id": "2349",
                      "Name": "Designated smoking areas"
                  }, {
                      "Id": "2353",
                      "Name": "Airport transportation"
                  }, {
                      "Id": "369",
                      "Name": "Laundry facilities"
                  }, {
                      "Id": "52",
                      "Name": "Total number of rooms - 119"
                  }, {
                      "Id": "372",
                      "Name": "Television in common areas"
                  }, {
                      "Id": "54",
                      "Name": "Number of floors - 10"
                  }, {
                      "Id": "55",
                      "Name": "Number of buildings/towers - 3"
                  }, {
                      "Id": "2047",
                      "Name": "Free newspapers in lobby"
                  }
              ],
              "Accessibility": [
                  "In-room accessibility"
              ],
              "Rooms": [{
                      "Traveler": {
                          "Name": {
                              "FirstName": "Test1",
                              "MiddleName": "Edward",
                              "LastName": "Doe"
                          },
                          "Phone": {
                              "CountryCode": "1",
                              "AreaCode": "206",
                              "Number": "9876543"
                          },
                          "Email": "john.doe@gmail.com"
                      },
                      "Status": "CANCELED",
                      "RoomPreferences": [{
                              "Type": "SmokingPreference",
                              "Value": "SmokingOrNonSmoking"
                          }, {
                              "Type": "Bed",
                              "Value": "14"
                          }
                      ],
                      "SpecialRequests": "check-in 2 hours late,Crib Required",
                      "Occupants": [{
                              "Adults": 2
                          }
                      ],
                      "StayDates": [{
                              "CheckInDate": "2021-07-10",
                              "CheckOutDate": "2021-07-13"
                          }
                      ],
                      "Description": "Deluxe Room",
                      "RatePlans": [{
                              "RoomTypeId": "200071073",
                              "RatePlanId": "200426221",
                              "RateRuleId": "294136037",
                              "PriceInHotelLocalCurrency": {
                                  "TotalPrice": {
                                      "Value": "3815.52",
                                      "Currency": "THB"
                                  },
                                  "AvgNightlyRate": {
                                      "Value": "1271.84",
                                      "Currency": "THB"
                                  },
                                  "RoomRates": [{
                                          "RoomIndex": 1,
                                          "NightlyRates": [{
                                                  "StayDate": "2021-07-10",
                                                  "BaseRate": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  },
                                                  "TaxesAndFees": {
                                                      "Value": "0.00",
                                                      "Currency": "THB"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-11",
                                                  "BaseRate": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  },
                                                  "TaxesAndFees": {
                                                      "Value": "0.00",
                                                      "Currency": "THB"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-12",
                                                  "BaseRate": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  },
                                                  "TaxesAndFees": {
                                                      "Value": "0.00",
                                                      "Currency": "THB"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  }
                                              }
                                          ]
                                      }
                                  ]
                              },
                              "StayDates": {
                                  "CheckInDate": "2021-07-10",
                                  "CheckOutDate": "2021-07-13"
                              },
                              "Price": {
                                  "TotalPrice": {
                                      "Value": "88.49",
                                      "Currency": "GBP"
                                  },
                                  "AvgNightlyRate": {
                                      "Value": "29.50",
                                      "Currency": "GBP"
                                  },
                                  "RoomRates": [{
                                          "RoomIndex": 1,
                                          "NightlyRates": [{
                                                  "StayDate": "2021-07-10",
                                                  "BaseRate": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-11",
                                                  "BaseRate": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-12",
                                                  "BaseRate": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  }
                                              }
                                          ]
                                      }
                                  ]
                              },
                              "PaymentMethod": "Hotel",
                              "Status": "CANCELED",
                              "CancellationDate": "2021-06-20T07:45:00+00:00",
                              "CancellationDetailsInHotelLocalCurrency": {
                                  "Penalty": {
                                      "Value": "0.00",
                                      "Currency": "THB"
                                  },
                                  "Refund": {
                                      "Value": "3815.52",
                                      "Currency": "THB"
                                  }
                              },
                              "CancellationPolicy": {
                                  "Refundable": true,
                                  "FreeCancellation": true,
                                  "FreeCancellationEndDateTime": "2021-07-03T16:59:00+00:00",
                                  "CancellationPenaltyRules": [{
                                          "PenaltyNightCount": 1,
                                          "PenaltyStartDateTime": "2021-07-03T16:59:00+00:00",
                                          "PenaltyEndDateTime": "2021-07-10T16:59:00+00:00"
                                      }, {
                                          "PenaltyPercentOfStay": "100",
                                          "PenaltyStartDateTime": "2021-07-10T16:59:00+00:00",
                                          "PenaltyEndDateTime": "2021-07-13T16:59:00+00:00"
                                      }
                                  ]
                              },
                              "Amenities": [{
                                      "Id": "2192",
                                      "Name": "Free Wireless Internet"
                                  }, {
                                      "Id": "2109",
                                      "Name": "Free Parking"
                                  }
                              ],
                              "ConfirmationNumber": "1b1332d0-75c0-4a00-b526-d77571d959af",
                              "CancellationDetails": {
                                  "Penalty": {
                                      "Value": "0.00",
                                      "Currency": "GBP"
                                  },
                                  "Refund": {
                                      "Value": "88.49",
                                      "Currency": "GBP"
                                  }
                              }
                          }
                      ],
                      "Price": {
                          "TotalPrice": {
                              "Value": "88.49",
                              "Currency": "GBP"
                          },
                          "AvgNightlyRate": {
                              "Value": "29.50",
                              "Currency": "GBP"
                          }
                      },
                      "Promotions": [{
                              "Description": "Save:20%",
                              "Amount": {
                                  "Value": "1908.96",
                                  "Currency": "THB"
                              }
                          }
                      ],
                      "SmokingOption": "SmokingOrNonSmoking",
                      "PriceInHotelLocalCurrency": {
                          "TotalPrice": {
                              "Value": "3815.52",
                              "Currency": "THB"
                          },
                          "AvgNightlyRate": {
                              "Value": "1271.84",
                              "Currency": "THB"
                          }
                      },
                      "Amenities": [{
                              "Id": "4233",
                              "Name": "Private bathroom"
                          }, {
                              "Id": "4315",
                              "Name": "Shower only"
                          }, {
                              "Id": "4092",
                              "Name": "Square meters -25"
                          }, {
                              "Id": "4093",
                              "Name": "Square feet -269"
                          }
                      ],
                      "CancellationDate": "2021-06-20T07:45:00+00:00"
                  }, {
                      "Traveler": {
                          "Name": {
                              "FirstName": "Test2",
                              "MiddleName": "Edward2",
                              "LastName": "Doe2"
                          },
                          "Phone": {
                              "CountryCode": "12",
                              "AreaCode": "2062",
                              "Number": "98765432"
                          },
                          "Email": "john.doe@gmail.com"
                      },
                      "Status": "BOOKED",
                      "RoomPreferences": [{
                              "Type": "SmokingPreference",
                              "Value": "SmokingOrNonSmoking"
                          }, {
                              "Type": "Bed",
                              "Value": "14"
                          }
                      ],
                      "Occupants": [{
                              "Adults": 1
                          }
                      ],
                      "StayDates": [{
                              "CheckInDate": "2021-07-10",
                              "CheckOutDate": "2021-07-13"
                          }
                      ],
                      "Description": "Deluxe Room",
                      "RatePlanType": "standalone",
                      "RatePlans": [{
                              "RoomTypeId": "200071073",
                              "RatePlanId": "200426221",
                              "RateRuleId": "294136037",
                              "PriceInHotelLocalCurrency": {
                                  "TotalPrice": {
                                      "Value": "3815.52",
                                      "Currency": "THB"
                                  },
                                  "AvgNightlyRate": {
                                      "Value": "1271.84",
                                      "Currency": "THB"
                                  },
                                  "RoomRates": [{
                                          "RoomIndex": 2,
                                          "NightlyRates": [{
                                                  "StayDate": "2021-07-10",
                                                  "BaseRate": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  },
                                                  "TaxesAndFees": {
                                                      "Value": "0.00",
                                                      "Currency": "THB"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-11",
                                                  "BaseRate": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  },
                                                  "TaxesAndFees": {
                                                      "Value": "0.00",
                                                      "Currency": "THB"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-12",
                                                  "BaseRate": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  },
                                                  "TaxesAndFees": {
                                                      "Value": "0.00",
                                                      "Currency": "THB"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "1271.84",
                                                      "Currency": "THB"
                                                  }
                                              }
                                          ]
                                      }
                                  ]
                              },
                              "StayDates": {
                                  "CheckInDate": "2021-07-10",
                                  "CheckOutDate": "2021-07-13"
                              },
                              "Price": {
                                  "TotalPrice": {
                                      "Value": "88.49",
                                      "Currency": "GBP"
                                  },
                                  "AvgNightlyRate": {
                                      "Value": "29.50",
                                      "Currency": "GBP"
                                  },
                                  "RoomRates": [{
                                          "RoomIndex": 2,
                                          "NightlyRates": [{
                                                  "StayDate": "2021-07-10",
                                                  "BaseRate": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-11",
                                                  "BaseRate": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  }
                                              }, {
                                                  "StayDate": "2021-07-12",
                                                  "BaseRate": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  },
                                                  "TotalPrice": {
                                                      "Value": "29.50",
                                                      "Currency": "GBP"
                                                  }
                                              }
                                          ]
                                      }
                                  ]
                              },
                              "PaymentMethod": "Hotel",
                              "Status": "BOOKED",
                              "CancellationPolicy": {
                                  "Refundable": true,
                                  "FreeCancellation": true,
                                  "FreeCancellationEndDateTime": "2021-07-03T16:59:00+00:00",
                                  "CancellationPenaltyRules": [{
                                          "PenaltyNightCount": 1,
                                          "PenaltyStartDateTime": "2021-07-03T16:59:00+00:00",
                                          "PenaltyEndDateTime": "2021-07-10T16:59:00+00:00"
                                      }, {
                                          "PenaltyPercentOfStay": "100",
                                          "PenaltyStartDateTime": "2021-07-10T16:59:00+00:00",
                                          "PenaltyEndDateTime": "2021-07-13T16:59:00+00:00"
                                      }
                                  ]
                              },
                              "Amenities": [{
                                      "Id": "2192",
                                      "Name": "Free Wireless Internet"
                                  }, {
                                      "Id": "2109",
                                      "Name": "Free Parking"
                                  }
                              ],
                              "ConfirmationNumber": "377509da-21f6-4ead-b476-ea7e8fe8b401",
                              "Links": {
                                  "ApiCancel": {
                                      "Accept": "application/vnd.exp-hotel.v3+json",
                                      "Method": "PUT",
                                      "Href": "https://apim.expedia.com/hotels/bookings/7360459140680?roomConfirmations=377509da-21f6-4ead-b476-ea7e8fe8b401"
                                  }
                              }
                          }
                      ],
                      "Price": {
                          "TotalPrice": {
                              "Value": "88.49",
                              "Currency": "GBP"
                          },
                          "AvgNightlyRate": {
                              "Value": "29.50",
                              "Currency": "GBP"
                          }
                      },
                      "Promotions": [{
                              "Description": "Save:20%",
                              "Amount": {
                                  "Value": "1908.96",
                                  "Currency": "THB"
                              }
                          }
                      ],
                      "Links": {
                          "ApiCancel": {
                              "Accept": "application/vnd.exp-hotel.v3+json",
                              "Method": "PUT",
                              "Href": "https://apim.expedia.com/hotels/bookings/7360459140680?roomConfirmations=377509da-21f6-4ead-b476-ea7e8fe8b401"
                          }
                      },
                      "SmokingOption": "SmokingOrNonSmoking",
                      "PriceInHotelLocalCurrency": {
                          "TotalPrice": {
                              "Value": "3815.52",
                              "Currency": "THB"
                          },
                          "AvgNightlyRate": {
                              "Value": "1271.84",
                              "Currency": "THB"
                          }
                      },
                      "Amenities": [{
                              "Id": "4233",
                              "Name": "Private bathroom"
                          }, {
                              "Id": "4315",
                              "Name": "Shower only"
                          }, {
                              "Id": "4092",
                              "Name": "Square meters -25"
                          }, {
                              "Id": "4093",
                              "Name": "Square feet -269"
                          }
                      ]
                  }
              ]
          },
          "TotalPrice": {
              "Value": "176.98",
              "Currency": "GBP"
          },
          "TotalRefund": {
              "Value": "88.49",
              "Currency": "GBP"
          },
          "TotalPriceInHotelLocalCurrency": {
              "Value": "7631.04",
              "Currency": "THB"
          },
          "TotalRefundInHotelLocalCurrency": {
              "Value": "3815.52",
              "Currency": "THB"
          },
          "PartnerMetaData": {
              "MetaDataKey": "MetaDataValue"
          }
      }

Error Codes

Common Error Codes

HTTP Status CodeError CodeError Message
400UNKNOWN_PATHUnknown request path
400INVALID_ACCEPT_HEADERAPI version is either missing or invalid. Please provide a correct API version in the Accept header.
400PARTNER_TRANSACTION_ID_MISSINGPartner Transaction ID in HTTP headers is missing.
400INVALID_CLIENT_KEYInvalid client key:XXX.
400INVALID_USER_IDThe email address is either missing or invalid.
400UNKNOWN_FIELDUnrecognized field "XXX".
400INVALID_REQUESTRequest is either missing or is in an invalid format.
500RETRIEVE_ITINERARY_ERRORUnable to retrieve data for itinerary number %s. Please try again later.
400ITINERARY_NOT_FOUNDThe itinerary was not found. Please provide valid user-id and itinerary number.
500RETRIEVE_APPLICATION_ERRORRetrieve Failed. Application Error.
400INVALID_ITINERARY_NUMBERThe itinerary number is either missing or invalid. Itinerary Number :%s
400PAYPAL_EXPIRED_TRIPPayPal payment was not completed on time or trip has been reversed. Trip no longer exists.
400ITINERARY_NOT_FOUND_FOR_PARTNERItinerary %s was not found for client key %s.
400ITIN_NOT_ASSOCIATED_WITH_CLIENT_KEYThe itinerary %s is not associated with client key %s.
400UNSUPPORTED_PACKAGE_TYPERequested Product/Products are not supported for %s trip.

API details

Here, you can explore the endpoint definitions for this API, then go to the API Explorer to try out all the XAP endpoints, download OpenAPI specs, or download our Postman collections. Testing with one or all of these options will give you an understanding of how the examples and schema definitions compare to the actual output.


Did you find this page helpful?
How can we improve this content?
Thank you for helping us improve!