Download OpenAPI specification:Download
These endpoints provide comprehensive functionality for managing hotel bookings. They enable users to search for hotels, check room rates and availability, create and modify bookings, and handle cancellations and rebooking.
Get all available hotels for the requested search parameters.
required | object (HotelSearchParams) The parameters required for searching hotels. |
object (HotelSearchFilters) Filters to refine the search result. Based on the user selected filters, the list of matching hotels will be displayed. | |
Array of objects (Hotel Sort Options) Sort options for the search results. | |
required | UserId Search (object) or RegistrarUserId Search (object) (HotelUserId) |
PageToken (object) or PageSize (object) (TokenBasedPaginationRequest) |
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "searchParams": {
- "occupancyDates": {
- "occupancy": [
- {
- "numAdults": 1,
- "numChildren": 0
}
], - "checkInDate": {
- "iso8601": "2017-07-21T17:32"
}, - "checkOutDate": {
- "iso8601": "2017-07-21T17:32"
}
}, - "searchBy": {
- "searchType": "AIRPORT",
- "airport": "LHR"
}
}, - "filters": {
- "prepaidQualifier": "INCLUDE_PREPAID",
- "priceRange": {
- "min": {
- "amount": 510,
- "currencyCode": "GBP"
}, - "max": {
- "amount": 510,
- "currencyCode": "GBP"
}
}, - "amenities": [
- "ECO_FRIENDLY"
], - "chainCodes": [
- "string"
], - "radius": {
- "length": 150,
- "unit": "MILE"
}, - "starRatings": [
- 0
], - "nameQuery": "string",
- "eligibleForLoyalty": false,
- "showUnavailable": false,
- "payByPoints": false,
- "modifiableOnly": false,
- "rateTypes": [
- "PUBLISHED"
], - "propertyTypes": [
- {
- "type": "ALL_SUITE",
- "description": "string"
}
], - "refundableOnly": false,
- "preferredOnly": false
}, - "sortOptions": [
- {
- "sortBy": "PRICE",
- "sortOrder": "ASCENDING"
}
], - "userId": {
- "userIdType": "USER_ID",
- "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "paginationParams": {
- "requestType": "PAGE_TOKEN",
- "pageToken": "token"
}
}
{- "hotels": [
- {
- "hotelDetailsKey": "Cg5TUE9UTkFOQTozMDc3NhIgCgIIARIMCgoyMDI0LTA=",
- "hotelSpec": {
- "name": "London Heathrow Marriott Hotel",
- "address": {
- "addressLines": [
- "Golden Gate Bridge"
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- "string"
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}
}, - "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}, - "contactInfo": {
- "phone": [
- {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
], - "fax": [
- "string"
], - "email": [
- "string"
]
}, - "amenities": [
- {
- "hotelAmenityType": "ECO_FRIENDLY",
- "additionalInfo": "Complimentary in-room coffee or tea",
- "isComplimentary": true
}
], - "descriptions": [
- {
- "type": "",
- "value": ""
}
], - "imageSets": [
- {
- "category": "UNKNOWN_CATEGORY",
- "imageGroup": {
- "caption": "Exterior",
- "images": [
- null
]
}
}
], - "hotelId": "SPOTNANA:1001",
- "brandCode": "MC",
- "brandName": "Marriott Hotel Brands",
- "chainCode": "EM",
- "chainName": "Marriott Hotels & Resorts",
- "propertyTypes": [
- {
- "type": "ALL_SUITE",
- "description": "string"
}
], - "starRating": {
- "starRating": 3,
- "ratingType": "OFFICIAL"
}, - "additionalAmenities": [
- "string"
], - "checkinTime": {
- "iso8601": "17:32"
}, - "checkoutTime": {
- "iso8601": "17:32"
}
}, - "distance": {
- "length": 150,
- "unit": "MILE"
}, - "policyInfo": {
- "id": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "policyType": "GROUP",
- "policyName": "string",
- "ruleResultInfos": [
- {
- "violationInfos": [
- {
- "predicateString": null,
- "predicate": null,
- "expectedValue": null,
- "actualValue": null
}
], - "subViolationInfos": [
- {
- "predicateString": null,
- "predicate": null,
- "expectedValue": null,
- "actualValue": null
}
], - "actions": [
- {
- "flag": null
}
]
}
], - "version": 0,
- "approvalType": "SOFT_APPROVAL"
}, - "hasNegotiatedRates": false,
- "preferences": [
- {
- "preferredType": "NOT_PREFERRED",
- "blockedReason": "string",
- "label": "string"
}
], - "rateInfo": {
- "averageNightlyRate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}, - "roomFees": [
- {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "feeInclusions": [
- null
], - "displayFee": true,
- "feeType": "ROOM_TAX"
}
], - "commission": {
- "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commissionPercent": 7.5
}, - "taxBreakdown": [
- {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "taxCode": "VAT"
}
], - "includesCommission": false
}, - "totalRate": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": null,
- "amount": null,
- "conversionRate": null,
- "preferredCurrencyConversionRate": null
}
]
}, - "roomFees": [
- {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "feeInclusions": [
- null
], - "displayFee": true,
- "feeType": "ROOM_TAX"
}
], - "commission": {
- "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "commissionPercent": 7.5
}, - "taxBreakdown": [
- {
- "amount": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "taxCode": "VAT"
}
], - "includesCommission": false
}, - "isRefundable": true,
- "rewardPointsEarned": [
- {
- "rewardPointsType": "QBR",
- "totalPointsEarned": 0,
- "conversionMultiplier": 0
}
], - "promotionalOffers": [
- {
- "name": "string"
}
]
}, - "hotelCo2EmissionDetail": {
- "co2EmissionValue": 10.5
}
}
], - "metadata": {
- "availableHotelChains": [
- {
- "chainCode": "EM",
- "chainName": "Mariott"
}
], - "rateStatistics": {
- "median": {
- "total": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}
}, - "sampleSize": 100,
- "policyType": "DEFAULT"
}, - "showOnlyBaseFare": false,
- "sessionId": "string"
}, - "paginationParams": {
- "nextPageToken": "string",
- "currentPageSize": 10
}
}
Get details for a specific hotel.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "hotelDetailsKey": "string",
- "corporateInfo": {
- "preSearchAnswers": {
- "answers": [
- {
- "entityId": "string",
- "userInput": "string",
- "itemIds": [
- 0
], - "answers": [
- {
- "item": "string",
- "value": "string",
- "description": "string"
}
], - "customFieldType": "QUESTION",
- "questionDisplayText": "string",
- "question": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "questionFormat": "CHECKBOX",
- "optionInfo": {
- "source": "MANUAL",
- "sourceMetadata": {
- "companyConfig": null
}, - "totalNumOptions": 0,
- "options": [
- null
]
}, - "isRequired": true,
- "isDisabled": true,
- "includeInItinerary": true,
- "customFieldLocations": [
- "POLICY_APPROVAL_EMAIL"
], - "matchConditions": {
- "travelerConditions": {
- "workerTypes": [ ],
- "countries": [ ],
- "legalEntities": [ ],
- "departments": [ ],
- "costCenters": [ ],
- "offices": [ ]
}, - "travelTypes": [
- null
], - "travelRegionTypes": [
- null
], - "tripUsageTypes": [
- null
]
}, - "questionType": {
- "preSearchQuestionType": "PURPOSE_OF_TRIP",
- "preCheckoutQuestionType": "OOP_REASON_CODE"
}
}
}
], - "userEntitiesResponseId": "string"
}
}, - "occupancyDates": {
- "occupancy": [
- {
- "numAdults": 1,
- "numChildren": 0
}
], - "checkInDate": {
- "iso8601": "2017-07-21T17:32"
}, - "checkOutDate": {
- "iso8601": "2017-07-21T17:32"
}
}, - "filters": {
- "rateTypes": [
- "PUBLISHED"
]
}, - "userId": {
- "userIdType": "USER_ID",
- "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
}
{- "hotelSpec": {
- "name": "London Heathrow Marriott Hotel",
- "address": {
- "addressLines": [
- "Golden Gate Bridge"
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- "string"
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}
}, - "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}, - "contactInfo": {
- "phone": [
- {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
], - "fax": [
- "string"
], - "email": [
- "string"
]
}, - "amenities": [
- {
- "hotelAmenityType": "ECO_FRIENDLY",
- "additionalInfo": "Complimentary in-room coffee or tea",
- "isComplimentary": true
}
], - "descriptions": [
- {
- "type": "",
- "value": ""
}
], - "imageSets": [
- {
- "category": "UNKNOWN_CATEGORY",
- "imageGroup": {
- "caption": "Exterior",
- "images": [
- {
- "data": "6935813e12584abda0e43d71cd2ea260",
- "dimensions": {
- "height": null,
- "width": null
},
}
]
}
}
], - "hotelId": "SPOTNANA:1001",
- "brandCode": "MC",
- "brandName": "Marriott Hotel Brands",
- "chainCode": "EM",
- "chainName": "Marriott Hotels & Resorts",
- "propertyTypes": [
- {
- "type": "ALL_SUITE",
- "description": "string"
}
], - "starRating": {
- "starRating": 3,
- "ratingType": "OFFICIAL"
}, - "additionalAmenities": [
- "string"
], - "checkinTime": {
- "iso8601": "17:32"
}, - "checkoutTime": {
- "iso8601": "17:32"
}
}, - "rooms": [
- {
- "description": "string",
- "rateOptions": [
- {
- "bedInfos": [
- {
- "bedCount": 1,
- "bedType": "SINGLE"
}
], - "priceValidateKey": "string",
- "description": "string",
- "rateInfo": {
- "rateSource": "SABRE",
- "totalRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateType": "PUBLISHED",
- "nightlyRate": [
- {
- "base": null,
- "tax": null,
- "roomFees": [ ],
- "commission": null,
- "taxBreakdown": null,
- "includesCommission": null
}
], - "ratePlanName": "string",
- "isCvvRequired": true,
- "averageNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "refundAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateSupplier": "SABRE",
- "publishedRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "publishedNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateDifference": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "prepaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "postpaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateTag": "string"
}, - "meals": {
- "mealsIncluded": [
- "BREAKFAST"
], - "mealType": "ENGLISH_BREAKFAST"
}, - "amenities": [
- {
- "additionalInfo": "string",
- "complimentary": true,
- "type": "WEB_ENABLED"
}
], - "cancellationPolicy": {
- "refundable": "TRUE",
- "terms": [
- {
- "penalty": null,
- "deadline": null
}
]
}, - "policyInfo": {
- "id": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "policyType": "GROUP",
- "policyName": "string",
- "ruleResultInfos": [
- {
- "violationInfos": [ ],
- "subViolationInfos": [ ],
- "actions": [ ]
}
], - "version": 0,
- "approvalType": "SOFT_APPROVAL"
}, - "guaranteeType": "GUARANTEE",
- "displayName": "string",
- "roomInfo": {
- "roomType": "ROOM",
- "typeClassDescription": "string",
- "roomClasses": [
- "PRESIDENTIAL"
], - "roomView": "UNKNOWN"
}, - "rateGroupKey": "string",
- "additionalAmenities": [
- "string"
], - "isPrepaidRoom": true,
- "supportedCardTypes": [
- {
- "cardCompany": "VISA",
- "description": "string"
}
], - "numRoomsRequired": 0,
- "maxOccupancy": {
- "numAdults": 1,
- "numChildren": 0
}, - "isModifiable": true,
- "additionalDetails": [
- {
- "additionalDetailType": "ADDITIONAL_DETAIL_TYPE_UNKNOWN",
- "text": "string"
}
], - "earnLoyaltyPoints": true,
- "rewardPointsEarned": [
- {
- "rewardPointsType": "QBR",
- "totalPointsEarned": 0,
- "conversionMultiplier": 0
}
], - "promotionalOffers": [
- {
- "name": "string"
}
], - "paymentDescription": [
- "string"
], - "isFopModifiable": true,
- "accessibilityInfo": [
- {
- "type": "ACCESSIBLE_ROOM",
- "additionalInfo": "string",
- "isSelectionRequired": true
}
]
}
], - "imageSets": [
- {
- "category": "UNKNOWN_CATEGORY",
- "imageGroup": {
- "caption": "Exterior",
- "images": [
- {
- "data": null,
- "dimensions": null,
- "url": null
}
]
}
}
], - "roomGroupKey": "string",
- "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}
}
], - "bookedRooms": [
- {
- "description": "string",
- "rateOptions": [
- {
- "bedInfos": [
- {
- "bedCount": 1,
- "bedType": "SINGLE"
}
], - "priceValidateKey": "string",
- "description": "string",
- "rateInfo": {
- "rateSource": "SABRE",
- "totalRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateType": "PUBLISHED",
- "nightlyRate": [
- {
- "base": null,
- "tax": null,
- "roomFees": [ ],
- "commission": null,
- "taxBreakdown": null,
- "includesCommission": null
}
], - "ratePlanName": "string",
- "isCvvRequired": true,
- "averageNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "refundAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateSupplier": "SABRE",
- "publishedRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "publishedNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateDifference": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "prepaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "postpaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateTag": "string"
}, - "meals": {
- "mealsIncluded": [
- "BREAKFAST"
], - "mealType": "ENGLISH_BREAKFAST"
}, - "amenities": [
- {
- "additionalInfo": "string",
- "complimentary": true,
- "type": "WEB_ENABLED"
}
], - "cancellationPolicy": {
- "refundable": "TRUE",
- "terms": [
- {
- "penalty": null,
- "deadline": null
}
]
}, - "policyInfo": {
- "id": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "policyType": "GROUP",
- "policyName": "string",
- "ruleResultInfos": [
- {
- "violationInfos": [ ],
- "subViolationInfos": [ ],
- "actions": [ ]
}
], - "version": 0,
- "approvalType": "SOFT_APPROVAL"
}, - "guaranteeType": "GUARANTEE",
- "displayName": "string",
- "roomInfo": {
- "roomType": "ROOM",
- "typeClassDescription": "string",
- "roomClasses": [
- "PRESIDENTIAL"
], - "roomView": "UNKNOWN"
}, - "rateGroupKey": "string",
- "additionalAmenities": [
- "string"
], - "isPrepaidRoom": true,
- "supportedCardTypes": [
- {
- "cardCompany": "VISA",
- "description": "string"
}
], - "numRoomsRequired": 0,
- "maxOccupancy": {
- "numAdults": 1,
- "numChildren": 0
}, - "isModifiable": true,
- "additionalDetails": [
- {
- "additionalDetailType": "ADDITIONAL_DETAIL_TYPE_UNKNOWN",
- "text": "string"
}
], - "earnLoyaltyPoints": true,
- "rewardPointsEarned": [
- {
- "rewardPointsType": "QBR",
- "totalPointsEarned": 0,
- "conversionMultiplier": 0
}
], - "promotionalOffers": [
- {
- "name": "string"
}
], - "paymentDescription": [
- "string"
], - "isFopModifiable": true,
- "accessibilityInfo": [
- {
- "type": "ACCESSIBLE_ROOM",
- "additionalInfo": "string",
- "isSelectionRequired": true
}
]
}
], - "imageSets": [
- {
- "category": "UNKNOWN_CATEGORY",
- "imageGroup": {
- "caption": "Exterior",
- "images": [
- {
- "data": null,
- "dimensions": null,
- "url": null
}
]
}
}
], - "roomGroupKey": "string",
- "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}
}
], - "occupancyDates": {
- "occupancy": [
- {
- "numAdults": 1,
- "numChildren": 0
}
], - "checkInDate": {
- "iso8601": "2017-07-21T17:32"
}, - "checkOutDate": {
- "iso8601": "2017-07-21T17:32"
}
}, - "rateStatistics": {
- "median": {
- "total": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}
}, - "sampleSize": 100,
- "policyType": "DEFAULT"
}, - "showOnlyBaseFare": true,
- "preferences": [
- {
- "preferredType": "NOT_PREFERRED",
- "blockedReason": "string",
- "label": "string"
}
], - "termsAndConditions": [
]
}
Checks if the previously selected hotel price has been modified. To indicate the change in hotel price, the priceChange
field in the response will be set to true
and the price
object will contain the latest hotel price. If the price remains unchanged, the priceChange
field will be set as false
and the price
object will contain the original price.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "priceValidateKey": "string",
- "tripId": "string"
}
{- "bookingKey": "string",
- "timeout": 0,
- "priceChange": true,
- "price": {
- "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "tax": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "roomFees": [
- {
- "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "feeInclusions": [
- "string"
], - "displayFee": true,
- "feeType": "ROOM_TAX"
}
], - "commission": {
- "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "commissionPercent": 7.5
}, - "taxBreakdown": [
- {
- "amount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "taxCode": "VAT"
}
], - "includesCommission": false
}
}
Validates if a hotel rebooking can be performed for price optimization purpose.
The Source PNR ID provided in the request will be checked if it's eligible for rebooking.
In the response, if isValid
is true
then users can proceed to checkout flow, which cancels the existing Source PNR
and creates a new PNR to save booking cost.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "cancelSourcePnrId": "1cf76aba18e4015f",
- "travelers": [
- {
- "travelerPersonalInfo": {
- "loyaltyInfos": [
- {
- "appliedTo": [
- "TAJ"
], - "id": "firstId",
- "issuedBy": "firstIssuedBy",
- "type": "AIR"
}
], - "travelPref": {
- "airPref": {
- "airlinePrefs": [
- {
- "airlines": [ ],
- "flightType": null
}
], - "alliancePref": {
- "alliances": [
- null
]
}, - "farePref": {
- "fareTypes": [
- null
]
}, - "homeAirport": "NEW YORK",
- "mealPref": {
- "exclMealPrefs": [
- null
], - "inclMealPrefs": [
- null
], - "specialMealDescription": "Veg only meal"
}, - "numStopPref": {
- "numOfStops": 34
}, - "seatAmenityPref": {
- "seatAmenityTypes": [
- null
]
}, - "seatLocationPrefs": [
- {
- "cabins": [ ],
- "isBulkHeadPref": null,
- "maxFlightDurationInHours": null,
- "position": null
}
], - "preferredAirports": [
- {
- "airportName": null,
- "airportCode": null,
- "label": null
}
]
}, - "preferredCurrency": "USD",
- "railCards": [
- {
- "cardNumber": "string",
- "expiryDate": {
- "iso8601": null
}, - "name": "Veterans Railcard",
- "spotnanaCode": "VET",
- "vendor": "ATOC"
}
], - "railPref": {
- "preferredRailStations": [
- {
- "stationName": null,
- "stationCode": null,
- "cityName": null,
- "countryCode": null,
- "label": null
}
], - "seatPreference": {
- "hasAccessibility": false,
- "seatTypes": [
- null
], - "seatLocations": [
- null
], - "deckLevels": [
- null
], - "seatDirections": [
- null
]
}, - "travelClasses": [
- "FIRST"
], - "coachPreferences": [
- "NON_SMOKING"
], - "conditionalRates": [
- "AAA"
]
}, - "carPref": {
- "vendors": [
- {
- "code": null,
- "name": null,
- "isPresentInPreferredVendors": null
}
], - "carTypes": [
- "ECONOMY"
], - "engineTypes": [
- "PETROL"
], - "transmissionTypes": [
- "AUTOMATIC"
], - "conditionalRates": [
- "AAA"
]
}, - "hotelPref": {
- "hotelParentChains": [
- {
- "chainCode": null,
- "chainName": null
}
], - "hotelBrands": [
- {
- "brandCode": null,
- "brandName": null
}
], - "hotelAmenityTypes": [
- "PARKING"
], - "roomPreference": {
- "isMobilityAccessible": false,
- "bedCount": "ONE_BED",
- "roomType": "SMOKING",
- "mostImportantFact": "BED_COUNT",
- "roomLocation": "HIGH_FLOOR",
- "pillowType": "FOAM",
- "roomAmenityPrefs": [
- null
]
}, - "conditionalRates": [
- "AAA"
]
}
}
}, - "user": {
- "addresses": [
- {
- "addressLines": [
- "Golden Gate Bridge"
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- "string"
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}
}
], - "dob": {
- "iso8601": "2017-07-21"
}, - "email": "example@email.com",
- "emergencyContactInfo": {
- "address": {
- "addressLines": [
- "Golden Gate Bridge"
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- "string"
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}
}, - "designation": "MANAGER",
- "email": "emergency-contact@email.com",
- "name": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "phoneNumber": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}, - "userOrgId": {
- "organizationAgencyId": {
- "id": "string"
}, - "organizationId": {
- "id": "string"
}, - "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tmcInfo": {
- "id": {
- "id": null
}, - "primaryServiceProviderTmc": {
- "tmcId": null
}, - "secondaryServiceProviderTmcs": [
- null
], - "partnerTmcId": {
- "id": null
}
}, - "tmcBasicInfo": {
- "contractingTmc": {
- "id": null,
- "name": null,
- "logo": null
}, - "bookingTmc": {
- "id": null,
- "name": null,
- "logo": null
}
}
}
}, - "gender": "FEMALE",
- "identityDocs": [
- {
- "passport": {
- "docId": "PASSPORTID",
- "expiryDate": {
- "iso8601": "2017-07-21"
}, - "issueCountry": "IN",
- "issuedDate": {
- "iso8601": "2017-07-21"
}, - "nationalityCountry": "IN",
- "type": "REGULAR"
}
}, - {
- "ktn": {
- "number": "123456",
- "issueCountry": "US"
}
}
], - "name": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "paymentInfos": [
- {
- "applicableTo": [
- "HOTEL"
], - "card": {
- "id": "34d536b6-f8ff-11eb-9a61-0242ac180002",
- "type": "CREDIT",
- "company": "VISA",
- "name": "Harrison Schwartz",
- "address": {
- "addressLines": [ ],
- "administrativeArea": null,
- "administrativeAreaName": null,
- "description": null,
- "isDefault": null,
- "languageCode": null,
- "locality": null,
- "locationCode": null,
- "organization": null,
- "postalCode": null,
- "continentCode": null,
- "recipients": [ ],
- "regionCode": null,
- "regionName": null,
- "revision": null,
- "sortingCode": null,
- "sublocality": null,
- "timezone": null,
- "coordinates": null
}, - "number": "4111111111111111",
- "expiryMonth": 1,
- "expiryYear": 2010,
- "cvv": "012",
- "label": "Label amex",
- "currency": "USD",
- "externalId": "bxt_RNGsNfzgJDaTstKIKqK4xEuhGYAnMdYK8T40",
- "vaultId": "34d536b6-f8ff-11eb-9a61-0242ac180002",
- "expiry": {
- "tokenizedExpiry": null
}, - "ownershipLabel": "CENTRAL"
}, - "accessType": "UNKNOWN_TYPE",
- "access": {
- "accessType": "UNKNOWN_TYPE",
- "entityIds": [
- null
], - "entities": [
- null
]
}
}
], - "phoneNumbers": [
- {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
], - "profilePicture": {
- "data": "6935813e12584abda0e43d71cd2ea260",
- "dimensions": {
- "height": 120,
- "width": 240
},
}, - "nationality": "Indian",
- "title": "MR"
}, - "userBusinessInfo": {
- "department": {
- "id": {
- "id": "631ccbcf-9414-5fe0-c234-b324dfbe7422"
}, - "name": "IT Department",
- "externalId": "department-ext-id",
- "employeeCount": 57
}, - "designation": "MANAGER",
- "email": "user@business.com",
- "employeeId": "101",
- "grade": {
- "employeeCount": 75,
- "id": {
- "id": "831ccbcb-1416-7fe2-e236-d324dfbe7424"
}, - "name": "Grade"
}, - "legalEntityId": {
- "id": "fc1ccbce-8413-4fe9-b233-a324dfbe7421"
}, - "managerBasicInfo": {
- "userOrgId": {
- "organizationAgencyId": {
- "id": "string"
}, - "organizationId": {
- "id": "string"
}, - "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tmcInfo": {
- "id": {
- "id": null
}, - "primaryServiceProviderTmc": {
- "tmcId": null
}, - "secondaryServiceProviderTmcs": [
- null
], - "partnerTmcId": {
- "id": null
}
}, - "tmcBasicInfo": {
- "contractingTmc": {
- "id": null,
- "name": null,
- "logo": null
}, - "bookingTmc": {
- "id": null,
- "name": null,
- "logo": null
}
}
}, - "persona": "EMPLOYEE",
- "email": "example@email.com",
- "name": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "profilePicture": {
- "data": "6935813e12584abda0e43d71cd2ea260",
- "dimensions": {
- "height": 120,
- "width": 240
},
}, - "tier": "SEAT1A",
- "phoneNumber": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}, - "employeeId": "string",
- "isActive": true
}, - "office": {
- "address": {
- "addressLines": [
- "Golden Gate Bridge"
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- "string"
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}
}, - "id": {
- "id": "531ccbce-8413-4fe9-b233-a324dfbe7421"
}, - "name": "Office",
- "latlng": {
- "latitude": 77.1025,
- "longitude": 28.7041
}, - "taxId": "133232"
}, - "organizationId": {
- "id": "string"
}, - "phoneNumbers": [
- {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
], - "userCostCenter": {
- "employeeCount": 120,
- "id": {
- "id": "731ccbca-0415-6fe1-d235-c324dfbe7423"
}, - "name": "CostCenter",
- "externalId": "external-id"
}, - "designatedApproverInfos": [
- {
- "userOrgId": {
- "organizationAgencyId": {
- "id": null
}, - "organizationId": {
- "id": null
}, - "userId": {
- "id": null
}, - "tmcInfo": {
- "id": null,
- "primaryServiceProviderTmc": null,
- "secondaryServiceProviderTmcs": [ ],
- "partnerTmcId": null
}, - "tmcBasicInfo": {
- "contractingTmc": null,
- "bookingTmc": null
}
}, - "persona": "EMPLOYEE",
- "email": "example@email.com",
- "name": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "profilePicture": {
- "data": "6935813e12584abda0e43d71cd2ea260",
- "dimensions": {
- "height": null,
- "width": null
},
}, - "tier": "SEAT1A",
- "phoneNumber": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}, - "employeeId": "string",
- "isActive": true
}
], - "designatedApproverUserIds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "authorizerEmail": "example@email.com"
}, - "userOrgId": {
- "organizationAgencyId": {
- "id": "string"
}, - "organizationId": {
- "id": "string"
}, - "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "tmcInfo": {
- "id": {
- "id": "f49d00fe-1eda-4304-ba79-a980f565281d"
}, - "primaryServiceProviderTmc": {
- "tmcId": {
- "id": "f49d00fe-1eda-4304-ba79-a980f565281d"
}
}, - "secondaryServiceProviderTmcs": [
- {
- "tmcId": {
- "id": null
}, - "supplier": "SABRE",
- "travelType": "AIR"
}
], - "partnerTmcId": {
- "id": "f49d00fe-1eda-4304-ba79-a980f565281d"
}
}, - "tmcBasicInfo": {
- "contractingTmc": {
- "id": {
- "id": "f49d00fe-1eda-4304-ba79-a980f565281d"
}, - "name": "string",
- "logo": {
- "data": "6935813e12584abda0e43d71cd2ea260",
- "dimensions": {
- "height": null,
- "width": null
},
}
}, - "bookingTmc": {
- "id": {
- "id": "f49d00fe-1eda-4304-ba79-a980f565281d"
}, - "name": "string",
- "logo": {
- "data": "6935813e12584abda0e43d71cd2ea260",
- "dimensions": {
- "height": null,
- "width": null
},
}
}
}
}, - "persona": "EMPLOYEE",
- "isActive": true,
- "tier": "SEAT1A",
- "adhocUserInfo": {
- "profileOwner": {
- "userId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "isSaved": false
}, - "externalId": "string"
}
], - "tripId": {
- "id": "2783425534"
}
}
{- "isValid": true,
- "spotnanaPnrId": "1cf76aba18e4015f"
}
Creates a new hotel booking for the given request parameters.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "bookingKey": "example_booking_key",
- "travelers": [
- {
- "travelerId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "dob": {
- "iso8601": "2017-07-21"
}, - "phoneNumber": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}, - "email": "mail@mail.com",
- "loyaltyInfo": {
- "appliedTo": [
- "TAJ"
], - "id": "firstId",
- "issuedBy": "firstIssuedBy",
- "type": "AIR"
}, - "adhocInfo": {
- "profileOwnerId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
}
], - "tripData": {
- "approverEmail": "string",
- "approverName": "string",
- "hardApprovalRequired": true,
- "outOfPolicy": true,
- "policyId": "string",
- "policyVersion": 0,
- "tripId": {
- "id": "2783425534"
}
}, - "preBookAnswers": {
- "answers": [
- {
- "entityId": "string",
- "userInput": "string",
- "itemIds": [
- 0
], - "answers": [
- {
- "item": "string",
- "value": "string",
- "description": "string"
}
], - "customFieldType": "QUESTION",
- "questionDisplayText": "string",
- "question": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "questionFormat": "CHECKBOX",
- "optionInfo": {
- "source": "MANUAL",
- "sourceMetadata": {
- "companyConfig": {
- "optionsParam": null
}
}, - "totalNumOptions": 0,
- "options": [
- {
- "displayCode": null,
- "displayValue": null
}
]
}, - "isRequired": true,
- "isDisabled": true,
- "includeInItinerary": true,
- "customFieldLocations": [
- "POLICY_APPROVAL_EMAIL"
], - "matchConditions": {
- "travelerConditions": {
- "workerTypes": [
- null
], - "countries": [
- null
], - "legalEntities": [
- null
], - "departments": [
- null
], - "costCenters": [
- null
], - "offices": [
- null
]
}, - "travelTypes": [
- "AIR"
], - "travelRegionTypes": [
- "DOMESTIC"
], - "tripUsageTypes": [
- "STANDARD"
]
}, - "questionType": {
- "preSearchQuestionType": "PURPOSE_OF_TRIP",
- "preCheckoutQuestionType": "OOP_REASON_CODE"
}
}
}
], - "preBookQuestionResponseId": "string"
}, - "bookingPaymentDetails": {
- "bookingTravelerPaymentDetails": [
- {
- "selectedFormOfPayments": [
- {
- "paymentItems": [
- {
- "itemType": null,
- "fareComponent": [ ]
}
], - "selectedPaymentSources": [
- {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
]
}
]
}
]
}, - "bookingContact": {
- "emailAddress": "mail@mail.com",
- "phoneNumber": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
}, - "hotelSpecialRequests": {
- "roomLocations": [
- "HIGH_FLOOR"
], - "roomFeatures": [
- "FEATHER_FREE_ROOM"
], - "checkIn": "LATE_CHECK_IN",
- "checkInTime": {
- "iso8601": "17:32"
}, - "flightNumber": "AC1234",
- "additionalNote": "Extra pillows and blankets for added comfort during the stay.",
- "accessibleFeatures": [
- "MOBILITY_ACCESSIBLE_ROOM_WITH_TUB"
]
}, - "cancelSourcePnrId": "ABC123",
- "hotelRateAssuranceInfo": {
- "selfReportedSavings": {
- "amount": 510,
- "currencyCode": "GBP"
}, - "actualSavings": {
- "amount": 510,
- "currencyCode": "GBP"
}
}
}
{- "pnrId": "7373737373",
- "pnrStatus": "SUCCESS",
- "externalPnrId": "ABC123"
}
This endpoint deletes a pnr by pnrID.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "confirmationId": "231241232"
}
Modify the details of an existing hotel booking. This API displays the list of modifications available for the same hotel. Currently, the details such as occupancy date and room type can be modified. To confirm the selected changes, use the Modify hotel booking API.
required | object (OccupancyDates) Occupancy values and dates for the hotel details. |
object (CorporateInfoV2) Corporate information related to the hotel booking. |
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "occupancyDates": {
- "occupancy": [
- {
- "numAdults": 1,
- "numChildren": 0
}
], - "checkInDate": {
- "iso8601": "2017-07-21T17:32"
}, - "checkOutDate": {
- "iso8601": "2017-07-21T17:32"
}
}, - "corporateInfo": {
- "preSearchAnswers": {
- "answers": [
- {
- "entityId": "string",
- "userInput": "string",
- "itemIds": [
- 0
], - "answers": [
- {
- "item": "string",
- "value": "string",
- "description": "string"
}
], - "customFieldType": "QUESTION",
- "questionDisplayText": "string",
- "question": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "questionFormat": "CHECKBOX",
- "optionInfo": {
- "source": "MANUAL",
- "sourceMetadata": {
- "companyConfig": null
}, - "totalNumOptions": 0,
- "options": [
- null
]
}, - "isRequired": true,
- "isDisabled": true,
- "includeInItinerary": true,
- "customFieldLocations": [
- "POLICY_APPROVAL_EMAIL"
], - "matchConditions": {
- "travelerConditions": {
- "workerTypes": [ ],
- "countries": [ ],
- "legalEntities": [ ],
- "departments": [ ],
- "costCenters": [ ],
- "offices": [ ]
}, - "travelTypes": [
- null
], - "travelRegionTypes": [
- null
], - "tripUsageTypes": [
- null
]
}, - "questionType": {
- "preSearchQuestionType": "PURPOSE_OF_TRIP",
- "preCheckoutQuestionType": "OOP_REASON_CODE"
}
}
}
], - "userEntitiesResponseId": "string"
}
}
}
{- "hotelSpec": {
- "name": "London Heathrow Marriott Hotel",
- "address": {
- "addressLines": [
- "Golden Gate Bridge"
], - "administrativeArea": "CA",
- "administrativeAreaName": "California",
- "description": "San Francisco Home",
- "isDefault": true,
- "languageCode": "en",
- "locality": "San Francisco",
- "locationCode": "LAX",
- "organization": "Spotnana",
- "postalCode": "94130",
- "continentCode": "AF",
- "recipients": [
- "string"
], - "regionCode": "US",
- "regionName": "America",
- "revision": 1,
- "sortingCode": "Jamaica",
- "sublocality": "string",
- "timezone": "America/Los_Angeles",
- "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}
}, - "coordinates": {
- "latitude": 77.1025,
- "longitude": 28.7041
}, - "contactInfo": {
- "phone": [
- {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
], - "fax": [
- "string"
], - "email": [
- "string"
]
}, - "amenities": [
- {
- "hotelAmenityType": "ECO_FRIENDLY",
- "additionalInfo": "Complimentary in-room coffee or tea",
- "isComplimentary": true
}
], - "descriptions": [
- {
- "type": "",
- "value": ""
}
], - "imageSets": [
- {
- "category": "UNKNOWN_CATEGORY",
- "imageGroup": {
- "caption": "Exterior",
- "images": [
- {
- "data": "6935813e12584abda0e43d71cd2ea260",
- "dimensions": {
- "height": null,
- "width": null
},
}
]
}
}
], - "hotelId": "SPOTNANA:1001",
- "brandCode": "MC",
- "brandName": "Marriott Hotel Brands",
- "chainCode": "EM",
- "chainName": "Marriott Hotels & Resorts",
- "propertyTypes": [
- {
- "type": "ALL_SUITE",
- "description": "string"
}
], - "starRating": {
- "starRating": 3,
- "ratingType": "OFFICIAL"
}, - "additionalAmenities": [
- "string"
], - "checkinTime": {
- "iso8601": "17:32"
}, - "checkoutTime": {
- "iso8601": "17:32"
}
}, - "rooms": [
- {
- "description": "string",
- "rateOptions": [
- {
- "bedInfos": [
- {
- "bedCount": 1,
- "bedType": "SINGLE"
}
], - "priceValidateKey": "string",
- "description": "string",
- "rateInfo": {
- "rateSource": "SABRE",
- "totalRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateType": "PUBLISHED",
- "nightlyRate": [
- {
- "base": null,
- "tax": null,
- "roomFees": [ ],
- "commission": null,
- "taxBreakdown": null,
- "includesCommission": null
}
], - "ratePlanName": "string",
- "isCvvRequired": true,
- "averageNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "refundAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateSupplier": "SABRE",
- "publishedRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "publishedNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateDifference": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "prepaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "postpaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateTag": "string"
}, - "meals": {
- "mealsIncluded": [
- "BREAKFAST"
], - "mealType": "ENGLISH_BREAKFAST"
}, - "amenities": [
- {
- "additionalInfo": "string",
- "complimentary": true,
- "type": "WEB_ENABLED"
}
], - "cancellationPolicy": {
- "refundable": "TRUE",
- "terms": [
- {
- "penalty": null,
- "deadline": null
}
]
}, - "policyInfo": {
- "id": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "policyType": "GROUP",
- "policyName": "string",
- "ruleResultInfos": [
- {
- "violationInfos": [ ],
- "subViolationInfos": [ ],
- "actions": [ ]
}
], - "version": 0,
- "approvalType": "SOFT_APPROVAL"
}, - "guaranteeType": "GUARANTEE",
- "displayName": "string",
- "roomInfo": {
- "roomType": "ROOM",
- "typeClassDescription": "string",
- "roomClasses": [
- "PRESIDENTIAL"
], - "roomView": "UNKNOWN"
}, - "rateGroupKey": "string",
- "additionalAmenities": [
- "string"
], - "isPrepaidRoom": true,
- "supportedCardTypes": [
- {
- "cardCompany": "VISA",
- "description": "string"
}
], - "numRoomsRequired": 0,
- "maxOccupancy": {
- "numAdults": 1,
- "numChildren": 0
}, - "isModifiable": true,
- "additionalDetails": [
- {
- "additionalDetailType": "ADDITIONAL_DETAIL_TYPE_UNKNOWN",
- "text": "string"
}
], - "earnLoyaltyPoints": true,
- "rewardPointsEarned": [
- {
- "rewardPointsType": "QBR",
- "totalPointsEarned": 0,
- "conversionMultiplier": 0
}
], - "promotionalOffers": [
- {
- "name": "string"
}
], - "paymentDescription": [
- "string"
], - "isFopModifiable": true,
- "accessibilityInfo": [
- {
- "type": "ACCESSIBLE_ROOM",
- "additionalInfo": "string",
- "isSelectionRequired": true
}
]
}
], - "imageSets": [
- {
- "category": "UNKNOWN_CATEGORY",
- "imageGroup": {
- "caption": "Exterior",
- "images": [
- {
- "data": null,
- "dimensions": null,
- "url": null
}
]
}
}
], - "roomGroupKey": "string",
- "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}
}
], - "bookedRooms": [
- {
- "description": "string",
- "rateOptions": [
- {
- "bedInfos": [
- {
- "bedCount": 1,
- "bedType": "SINGLE"
}
], - "priceValidateKey": "string",
- "description": "string",
- "rateInfo": {
- "rateSource": "SABRE",
- "totalRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateType": "PUBLISHED",
- "nightlyRate": [
- {
- "base": null,
- "tax": null,
- "roomFees": [ ],
- "commission": null,
- "taxBreakdown": null,
- "includesCommission": null
}
], - "ratePlanName": "string",
- "isCvvRequired": true,
- "averageNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "refundAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateSupplier": "SABRE",
- "publishedRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "publishedNightlyRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "rateDifference": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "prepaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "postpaidRate": {
- "base": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "tax": {
- "amount": null,
- "currencyCode": null,
- "convertedAmount": null,
- "convertedCurrency": null,
- "otherCoinage": [ ]
}, - "roomFees": [
- null
], - "commission": {
- "amount": null,
- "commissionPercent": null
}, - "taxBreakdown": [
- null
], - "includesCommission": false
}, - "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- { }
]
}, - "rateTag": "string"
}, - "meals": {
- "mealsIncluded": [
- "BREAKFAST"
], - "mealType": "ENGLISH_BREAKFAST"
}, - "amenities": [
- {
- "additionalInfo": "string",
- "complimentary": true,
- "type": "WEB_ENABLED"
}
], - "cancellationPolicy": {
- "refundable": "TRUE",
- "terms": [
- {
- "penalty": null,
- "deadline": null
}
]
}, - "policyInfo": {
- "id": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "policyType": "GROUP",
- "policyName": "string",
- "ruleResultInfos": [
- {
- "violationInfos": [ ],
- "subViolationInfos": [ ],
- "actions": [ ]
}
], - "version": 0,
- "approvalType": "SOFT_APPROVAL"
}, - "guaranteeType": "GUARANTEE",
- "displayName": "string",
- "roomInfo": {
- "roomType": "ROOM",
- "typeClassDescription": "string",
- "roomClasses": [
- "PRESIDENTIAL"
], - "roomView": "UNKNOWN"
}, - "rateGroupKey": "string",
- "additionalAmenities": [
- "string"
], - "isPrepaidRoom": true,
- "supportedCardTypes": [
- {
- "cardCompany": "VISA",
- "description": "string"
}
], - "numRoomsRequired": 0,
- "maxOccupancy": {
- "numAdults": 1,
- "numChildren": 0
}, - "isModifiable": true,
- "additionalDetails": [
- {
- "additionalDetailType": "ADDITIONAL_DETAIL_TYPE_UNKNOWN",
- "text": "string"
}
], - "earnLoyaltyPoints": true,
- "rewardPointsEarned": [
- {
- "rewardPointsType": "QBR",
- "totalPointsEarned": 0,
- "conversionMultiplier": 0
}
], - "promotionalOffers": [
- {
- "name": "string"
}
], - "paymentDescription": [
- "string"
], - "isFopModifiable": true,
- "accessibilityInfo": [
- {
- "type": "ACCESSIBLE_ROOM",
- "additionalInfo": "string",
- "isSelectionRequired": true
}
]
}
], - "imageSets": [
- {
- "category": "UNKNOWN_CATEGORY",
- "imageGroup": {
- "caption": "Exterior",
- "images": [
- {
- "data": null,
- "dimensions": null,
- "url": null
}
]
}
}
], - "roomGroupKey": "string",
- "penaltyAmount": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}
}
], - "occupancyDates": {
- "occupancy": [
- {
- "numAdults": 1,
- "numChildren": 0
}
], - "checkInDate": {
- "iso8601": "2017-07-21T17:32"
}, - "checkOutDate": {
- "iso8601": "2017-07-21T17:32"
}
}, - "rateStatistics": {
- "median": {
- "total": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}, - "base": {
- "amount": 510,
- "currencyCode": "GBP",
- "convertedAmount": 715.42,
- "convertedCurrency": "USD",
- "otherCoinage": [
- {
- "coinageCode": "BREX_POINTS",
- "amount": 1000,
- "conversionRate": 0.01,
- "preferredCurrencyConversionRate": 0.01
}
]
}
}, - "sampleSize": 100,
- "policyType": "DEFAULT"
}, - "showOnlyBaseFare": true,
- "preferences": [
- {
- "preferredType": "NOT_PREFERRED",
- "blockedReason": "string",
- "label": "string"
}
], - "termsAndConditions": [
]
}
Modify an existing hotel booking based on the request parameters. This API is used to confirm the requested changes for the booking.
OK
Unauthorized
Forbidden
The specified resource was not found.
{- "bookingKey": "example_booking_key",
- "travelers": [
- {
- "travelerId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "name": {
- "family1": "Gandas",
- "family2": "FamilyTwo",
- "given": "Vichitr",
- "middle": "Kumar",
- "suffix": "SR",
- "preferred": "Don"
}, - "dob": {
- "iso8601": "2017-07-21"
}, - "phoneNumber": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}, - "email": "mail@mail.com",
- "loyaltyInfo": {
- "appliedTo": [
- "TAJ"
], - "id": "firstId",
- "issuedBy": "firstIssuedBy",
- "type": "AIR"
}, - "adhocInfo": {
- "profileOwnerId": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
}
], - "tripData": {
- "approverEmail": "string",
- "approverName": "string",
- "hardApprovalRequired": true,
- "outOfPolicy": true,
- "policyId": "string",
- "policyVersion": 0,
- "tripId": {
- "id": "2783425534"
}
}, - "preBookAnswers": {
- "answers": [
- {
- "entityId": "string",
- "userInput": "string",
- "itemIds": [
- 0
], - "answers": [
- {
- "item": "string",
- "value": "string",
- "description": "string"
}
], - "customFieldType": "QUESTION",
- "questionDisplayText": "string",
- "question": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "questionFormat": "CHECKBOX",
- "optionInfo": {
- "source": "MANUAL",
- "sourceMetadata": {
- "companyConfig": {
- "optionsParam": null
}
}, - "totalNumOptions": 0,
- "options": [
- {
- "displayCode": null,
- "displayValue": null
}
]
}, - "isRequired": true,
- "isDisabled": true,
- "includeInItinerary": true,
- "customFieldLocations": [
- "POLICY_APPROVAL_EMAIL"
], - "matchConditions": {
- "travelerConditions": {
- "workerTypes": [
- null
], - "countries": [
- null
], - "legalEntities": [
- null
], - "departments": [
- null
], - "costCenters": [
- null
], - "offices": [
- null
]
}, - "travelTypes": [
- "AIR"
], - "travelRegionTypes": [
- "DOMESTIC"
], - "tripUsageTypes": [
- "STANDARD"
]
}, - "questionType": {
- "preSearchQuestionType": "PURPOSE_OF_TRIP",
- "preCheckoutQuestionType": "OOP_REASON_CODE"
}
}
}
], - "preBookQuestionResponseId": "string"
}, - "hotelSpecialRequests": {
- "roomLocations": [
- "HIGH_FLOOR"
], - "roomFeatures": [
- "FEATHER_FREE_ROOM"
], - "checkIn": "LATE_CHECK_IN",
- "checkInTime": {
- "iso8601": "17:32"
}, - "flightNumber": "AC1234",
- "additionalNote": "Extra pillows and blankets for added comfort during the stay.",
- "accessibleFeatures": [
- "MOBILITY_ACCESSIBLE_ROOM_WITH_TUB"
]
}, - "bookingPaymentDetails": {
- "bookingTravelerPaymentDetails": [
- {
- "selectedFormOfPayments": [
- {
- "paymentItems": [
- {
- "itemType": null,
- "fareComponent": [ ]
}
], - "selectedPaymentSources": [
- {
- "paymentSourceId": null,
- "rawPaymentSource": null,
- "postPaymentRedirectionUrl": null,
- "cvv": null,
- "amount": null
}
]
}
]
}
]
}, - "bookingContact": {
- "emailAddress": "mail@mail.com",
- "phoneNumber": {
- "countryCode": 91,
- "countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
- "extension": "222",
- "isoCountryCode": "IN",
- "italianLeadingZero": true,
- "nationalNumber": 8150,
- "numberOfLeadingZeros": 1,
- "preferredDomesticCarrierCode": "7",
- "rawInput": "77777",
- "type": "MOBILE"
}
}
}
{- "pnrId": "7373737373",
- "pnrStatus": "CONFIRMED",
- "externalPnrId": "ABC123"
}