Skip to content

Instantly share code, notes, and snippets.

@hafizio
Created October 2, 2018 09:53
Show Gist options
  • Save hafizio/b289941cdcc56b6b2f447603b4d662ec to your computer and use it in GitHub Desktop.
Save hafizio/b289941cdcc56b6b2f447603b4d662ec to your computer and use it in GitHub Desktop.
viator_failed_booking.json
{
"errorType": null,
"success": true,
"extraInfo": {},
"errorMessage": null,
"vmid": "331004",
"errorName": null,
"totalCount": 1,
"errorCodes": [],
"dateStamp": "2018-10-01T22:11:24+0000",
"errorMessageText": null,
"data": {
"paypalRedirectURL": null,
"bookingStatus": {
"status": 5,
"confirmed": false,
"amended": false,
"level": "ITINERARY",
"text": "Rejected - Not Available",
"failed": true,
"cancelled": false,
"type": "FAILED",
"pending": false
},
"totalPrice": 0,
"distributorRef": "ORDER_ITEM153_20181002051124",
"voucherKey": "",
"totalPriceFormatted": "$0.00",
"exchangeRate": 1,
"currencyCode": "USD",
"rulesApplied": null,
"totalPriceUSD": 0,
"hasVoucher": false,
"itineraryId": 1077665097,
"sortOrder": 0,
"voucherURL": null,
"omniPreRuleList": null,
"bookingDate": "2018-10-01",
"securityToken": "6db37f5e18db9000a9077f9f71b7556ed372ccdfba3d5d9474cc0c224faaa4f3",
"bookerEmail": "mike.babiy@touristly.com",
"userId": null,
"itemSummaries": [
{
"termsAndConditions": null,
"productTitle": "Private Arrival Transfer: Luang Prabang Airport to Hotel",
"merchantNetPrice": -1,
"voucherKey": "",
"priceFormatted": "",
"voucherRequirements": "You can present either a paper or an electronic voucher for this activity.",
"barcodeType": "code128",
"leadTravellerTitle": "-",
"startingTime": null,
"voucherOption": "VOUCHER_E",
"languageServicesLanguageCode": "en",
"leadTravellerFirstname": "Mike",
"departurePointAddress": "",
"supplierPhoneNumber": "US+16194717144",
"travellerAgeBands": [
{
"count": 1,
"pluralDescription": "Adults",
"ageBandId": 1,
"description": "Adult",
"sortOrder": 0
}
],
"productCode": "29604P2",
"bookingStatus": {
"status": 2,
"confirmed": false,
"amended": false,
"level": "ITEM",
"text": "Unavailable",
"failed": true,
"cancelled": false,
"type": "UNAVAILABLE",
"pending": false
},
"productWidgetList": null,
"destId": 5466,
"currencyCode": "USD",
"lastRetailPrice": -1,
"itineraryId": 1077665097,
"sortOrder": 0,
"leadTravellerSurname": "Mike",
"voucherURL": null,
"applePassSupported": false,
"passbooks": null,
"merchantCancellable": true,
"price": 0,
"departurePointDirections": "",
"vouchers": null,
"hoursConfirmed": 0,
"pickupHotelName": "My hotel is not listed: pickup",
"barcodeOption": "tour",
"itemId": 669332679,
"merchantNetPriceFormatted": "",
"savingAmountFormated": "$0.00",
"tourGradeDescription": "2 adults (TG2)",
"departurePoint": "Your driver will be at arrival terminal Luang Prabang airport to greet you.",
"productPulledDown": false,
"departsFrom": "Luang Prabang, Laos",
"distributorItemRef": "ORDER_ITEM153_20181002051124",
"rulesApplied": null,
"savingAmount": 0,
"priceUSD": 0,
"tourGradeCode": "TG2",
"travelDate": "2019-03-06",
"pickupHotelId": null,
"bookingEngineId": "FS",
"lastRetailPriceFormatted": "",
"supplierName": "Visit Asia Travel",
"obfsId": 0
}
]
},
"errorReference": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment