- Validate air itinerary (interim)
Validates an itinerary at any interim stage of air booking workflow and allows you to keep track of fare details before proceeding to checkout. Using this endpoint is optional. It requires a searchId and the itineraryId to obtain the latest fare details of the selected itinerary. The travelerType field in this endpoint response currently only accepts ADULT, CHILD and INFANT.
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/air/intermediate-revalidate-itinerary
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/airapi/v2/air/intermediate-revalidate-itinerary
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/air/intermediate-revalidate-itinerary \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"searchId": "string",
"itineraryId": "string",
"rawCredits": [
{
"type": "string",
"pnrOwningPcc": "string",
"unusedCreditPcc": "string",
"departureCountry": "USA",
"arrivalCountry": "USA",
"ticketType": "TICKET_TYPE_UNKNOWN",
"departureDate": {
"iso8601": "2017-07-21T17:32Z"
},
"segmentsAvailable": "UNKNOWN",
"traveler": {
"userId": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
},
"passengerName": {
"family1": "Gandas",
"family2": "FamilyTwo",
"given": "Vichitr",
"middle": "Kumar",
"suffix": "SR",
"preferred": "Don"
},
"airlineInfo": {
"airlineCode": "AA",
"airlineName": "American Airlines"
},
"totalFare": {
"amount": 510,
"currencyCode": "GBP",
"convertedAmount": 715.42,
"convertedCurrency": "USD",
"otherCoinage": [
{
"coinageCode": "BREX_POINTS",
"amount": 1000,
"conversionRate": 0.01,
"preferredCurrencyConversionRate": 0.01,
"otherCoinageMetadata": {
"metadataType": "FlightPassPaymentMetadata",
"flightPassMetadata": {}
}
}
]
},
"issueDate": {
"iso8601": "2017-07-21T17:32Z"
},
"expiryDate": {
"iso8601": "2017-07-21T17:32Z"
},
"source": "SABRE",
"sourcePnr": "MC5ONS",
"flightIds": [
"string"
],
"ticketNumber": "5267779139217",
"travelerIndex": 2
}
]
}'OK
It indicates whether an MCO can be issued for this ticket. It is dependent on the validating airline of the ticket.
Type of residue expected when ticket is exchanged to a lower fare amount. Indicates whether the residual value will be converted to MCO, refunded, or forfeited. This is determined at revalidation time before the exchange is completed.
Updated fare rules per leg. Only returned for legs where fare rules changed from the original search response.
Split payment details when the booking involves personal and corporate payment split.
Detailed split payment breakdown including ancillary verdicts. Fresh booking only.
Whether this booking involves a personal upgrade. UI should display split payment breakdown only when this is true.
The configured price change threshold, if any. Used by FE to determine whether to show a price change warning.
Amount that will be stored as airline credits for future redemption during an exchange or refund.
Additional fare amounts applicable on the booking like flight pass additional amount etc.
Charge applicable on the card for the transaction, mostly applicable on TF bookings.
{ "bookingId": "bookingid", "fareBreakDown": { "totalFare": { … }, "merchantFee": { … }, "airlineFee": { … }, "changeFee": { … }, "appliedCreditValue": { … }, "fareDifference": { … }, "totalItineraryFare": { … } }, "legPrices": [ { … } ], "perTravelerPrices": [ { … } ], "policyDetails": { "policies": [ … ], "ruleResultInfos": [ … ] }, "mcoIssuanceEligibility": "ELIGIBLE", "residueType": "NO_RESIDUE", "fareRules": [ { … } ], "promotionApplied": { "promotionCode": "SAVE10", "discountAmount": { … } }, "splitPaymentInfo": { "inPolicyAmount": { … }, "isAmountReimbursable": true, "personalFopChargeableAmount": { … } }, "splitPaymentDetails": { "airSplitPayment": { … }, "violatedAncillaryTypes": [ … ] }, "isPersonalUpgrade": true, "priceChangeThreshold": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ … ] }, "creditAmount": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ … ] }, "totalAdditionalFareAmounts": [ { … } ], "cardFee": { "amount": 510, "currencyCode": "GBP", "convertedAmount": 715.42, "convertedCurrency": "USD", "otherCoinage": [ … ] }, "attemptNo": 1, "paymentThirdParty": "UNKNOWN_PARTY" }