Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket_CreateTSTFromPricing not group TST by type passenger #464

Closed
PhuocDuyDev opened this issue Sep 28, 2023 · 0 comments
Closed

Ticket_CreateTSTFromPricing not group TST by type passenger #464

PhuocDuyDev opened this issue Sep 28, 2023 · 0 comments

Comments

@PhuocDuyDev
Copy link

PhuocDuyDev commented Sep 28, 2023

In my case, i trying to booking for 2adt, 1chd, 1inf
so in a Fare_PricePNRWithBookingClass response:
{ "Fare_PricePNRWithBookingClassReply": { "fareList": [ { "pricingInformation": { "tstInformation": { "tstIndicator": "F" }, "fcmi": "N" }, "fareReference": { "referenceType": "TST", "uniqueReference": 1 }, "lastTktDate": { "businessSemantic": "LT", "dateTime": { "year": 2023, "month": 11, "day": 1, "hour": 4, "minutes": 25 } }, "validatingCarrier": { "carrierInformation": { "carrierCode": "QH" } }, "paxSegReference": { "refDetails": [ { "refQualifier": "PA", "refNumber": 4 }, { "refQualifier": "PA", "refNumber": 2 } ] }, "fareDataInformation": { "fareDataMainInformation": { "fareDataQualifier": "F" }, "fareDataSupInformation": [ { "fareDataQualifier": "B", "fareAmount": 18, "fareCurrency": "USD" }, { "fareDataQualifier": "E", "fareAmount": 441000, "fareCurrency": "VND" }, { "fareDataQualifier": 712, "fareAmount": 2849000, "fareCurrency": "VND" } ] }, "offerReferences": { "offerIdentifier": { "uniqueOfferReference": "SP2P-11946473513441551379-1-OI1-AI1" } }, "taxInformation": [ { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "YQ" }, "taxNature": "AC" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 980000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "YR" }, "taxNature": "VB" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 344000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "C4" }, "taxNature": "SE" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 49000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "JC" }, "taxNature": "AD" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 490000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "E7" }, "taxNature": "AP" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 24000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "E7" }, "taxNature": "AD" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 24000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "G8" }, "taxNature": "DP" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 11000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "G8" }, "taxNature": "AE" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 11000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "TS" }, "taxNature": "LA" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 475000, "fareCurrency": "VND" } } } ], "bankerRates": { "firstRateDetail": { "amount": 24500 } }, "originDestination": { "cityCode": [ "SGN", "SGN" ] }, "segmentInformation": [ { "connexInformation": { "connecDetails": { "connexType": "O" } }, "segDetails": { "segmentDetail": { "identification": "AIR", "classOfService": "A" } }, "fareQualifier": { "fareBasisDetails": { "primaryCode": "AEO", "fareBasisCode": "RTV3", "discTktDesignator": "ADT" } }, "cabinGroup": { "cabinSegment": { "bookingClassDetails": { "designator": "A", "option": "M" } } }, "validityInformation": [ { "businessSemantic": "A", "dateTime": { "year": 2023, "month": 11, "day": 1 } }, { "businessSemantic": "B", "dateTime": { "year": 2023, "month": 11, "day": 1 } } ], "bagAllowanceInformation": { "bagAllowanceDetails": { "baggageWeight": 20, "baggageType": "W", "measureUnit": "K" } }, "segmentReference": { "refDetails": { "refQualifier": "S", "refNumber": 1 } }, "sequenceInformation": { "sequenceSection": { "sequenceNumber": 1 } } }, { "connexInformation": { "connecDetails": { "connexType": "O" } }, "segDetails": { "segmentDetail": { "identification": "AIR", "classOfService": "A" } }, "fareQualifier": { "fareBasisDetails": { "primaryCode": "AEO", "fareBasisCode": "RTV3", "discTktDesignator": "ADT" } }, "cabinGroup": { "cabinSegment": { "bookingClassDetails": { "designator": "A", "option": "M" } } }, "validityInformation": [ { "businessSemantic": "A", "dateTime": { "year": 2023, "month": 11, "day": 10 } }, { "businessSemantic": "B", "dateTime": { "year": 2023, "month": 11, "day": 10 } } ], "bagAllowanceInformation": { "bagAllowanceDetails": { "baggageWeight": 20, "baggageType": "W", "measureUnit": "K" } }, "segmentReference": { "refDetails": { "refQualifier": "S", "refNumber": 2 } }, "sequenceInformation": { "sequenceSection": { "sequenceNumber": 2 } } } ], "otherPricingInfo": { "attributeDetails": [ { "attributeType": "TOU", "attributeDescription": "*F*F2201VNSEA/F2201VN" }, { "attributeType": "COM", "attributeDescription": "*F*0.00A" }, { "attributeType": "END", "attributeDescription": "NON-END/RESTRICTION MAY APPLY." }, { "attributeType": "FCA", "attributeDescription": "SGN QH BKK9.00QH SGN9.00NUC18.00END ROE1.00" } ] }, "warningInformation": [ { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": "PEN", "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "NON-REFUNDABLE" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": "LTD", "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "- SEE ADV PURCHASE" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "BAG/SEAT/SERVICES AT A CHARGE MAY BE AVAILABLE-ENTER FXK" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "CAT35 NEGOTIATED FARES" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "BG CXR: QH/QH" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "PRICED WITH VALIDATING CARRIER QH - REPRICE IF DIFFERENT VC" } } ], "fareComponentDetailsGroup": [ { "fareComponentID": { "itemNumberDetails": { "number": 1, "type": "FC" } }, "marketFareComponent": { "boardPointDetails": { "trueLocationId": "SGN" }, "offpointDetails": { "trueLocationId": "BKK" } }, "monetaryInformation": { "monetaryDetails": { "typeQualifier": "TFC", "amount": 9, "currency": "NUC" } }, "componentClassInfo": { "fareBasisDetails": { "rateTariffClass": "AEORTV3" } }, "fareQualifiersDetail": { "discountDetails": { "fareQualifier": 763 } }, "couponDetailsGroup": { "productId": { "referenceDetails": { "type": "ST", "value": 1 } } } }, { "fareComponentID": { "itemNumberDetails": { "number": 2, "type": "FC" } }, "marketFareComponent": { "boardPointDetails": { "trueLocationId": "BKK" }, "offpointDetails": { "trueLocationId": "SGN" } }, "monetaryInformation": { "monetaryDetails": { "typeQualifier": "TFC", "amount": 9, "currency": "NUC" } }, "componentClassInfo": { "fareBasisDetails": { "rateTariffClass": "AEORTV3" } }, "fareQualifiersDetail": { "discountDetails": { "fareQualifier": 763 } }, "couponDetailsGroup": { "productId": { "referenceDetails": { "type": "ST", "value": 2 } } } } ], "endFareList": "" }, { "pricingInformation": { "tstInformation": { "tstIndicator": "F" }, "fcmi": "N" }, "fareReference": { "referenceType": "TST", "uniqueReference": 2 }, "lastTktDate": { "businessSemantic": "LT", "dateTime": { "year": 2023, "month": 11, "day": 1, "hour": 4, "minutes": 25 } }, "validatingCarrier": { "carrierInformation": { "carrierCode": "QH" } }, "paxSegReference": { "refDetails": { "refQualifier": "PA", "refNumber": 5 } }, "fareDataInformation": { "fareDataMainInformation": { "fareDataQualifier": "F" }, "fareDataSupInformation": [ { "fareDataQualifier": "B", "fareAmount": 14, "fareCurrency": "USD" }, { "fareDataQualifier": "E", "fareAmount": 343000, "fareCurrency": "VND" }, { "fareDataQualifier": 712, "fareAmount": 2482000, "fareCurrency": "VND" } ] }, "offerReferences": { "offerIdentifier": { "uniqueOfferReference": "SP2P-11946473513441551379-1-OI1-AI2" } }, "taxInformation": [ { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "YQ" }, "taxNature": "AC" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 980000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "YR" }, "taxNature": "VB" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 344000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "C4" }, "taxNature": "SE" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 25000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "JC" }, "taxNature": "AD" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 245000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "E7" }, "taxNature": "AP" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 24000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "E7" }, "taxNature": "AD" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 24000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "G8" }, "taxNature": "DP" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 11000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "G8" }, "taxNature": "AE" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 11000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "TS" }, "taxNature": "LA" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 475000, "fareCurrency": "VND" } } } ], "bankerRates": { "firstRateDetail": { "amount": 24500 } }, "originDestination": { "cityCode": [ "SGN", "SGN" ] }, "segmentInformation": [ { "connexInformation": { "connecDetails": { "connexType": "O" } }, "segDetails": { "segmentDetail": { "identification": "AIR", "classOfService": "A" } }, "fareQualifier": { "fareBasisDetails": { "primaryCode": "AEO", "fareBasisCode": "RTV3", "ticketDesignator": "CH25", "discTktDesignator": "CH" } }, "cabinGroup": { "cabinSegment": { "bookingClassDetails": { "designator": "A", "option": "M" } } }, "validityInformation": [ { "businessSemantic": "A", "dateTime": { "year": 2023, "month": 11, "day": 1 } }, { "businessSemantic": "B", "dateTime": { "year": 2023, "month": 11, "day": 1 } } ], "bagAllowanceInformation": { "bagAllowanceDetails": { "baggageWeight": 20, "baggageType": "W", "measureUnit": "K" } }, "segmentReference": { "refDetails": { "refQualifier": "S", "refNumber": 1 } }, "sequenceInformation": { "sequenceSection": { "sequenceNumber": 1 } } }, { "connexInformation": { "connecDetails": { "connexType": "O" } }, "segDetails": { "segmentDetail": { "identification": "AIR", "classOfService": "A" } }, "fareQualifier": { "fareBasisDetails": { "primaryCode": "AEO", "fareBasisCode": "RTV3", "ticketDesignator": "CH25", "discTktDesignator": "CH" } }, "cabinGroup": { "cabinSegment": { "bookingClassDetails": { "designator": "A", "option": "M" } } }, "validityInformation": [ { "businessSemantic": "A", "dateTime": { "year": 2023, "month": 11, "day": 10 } }, { "businessSemantic": "B", "dateTime": { "year": 2023, "month": 11, "day": 10 } } ], "bagAllowanceInformation": { "bagAllowanceDetails": { "baggageWeight": 20, "baggageType": "W", "measureUnit": "K" } }, "segmentReference": { "refDetails": { "refQualifier": "S", "refNumber": 2 } }, "sequenceInformation": { "sequenceSection": { "sequenceNumber": 2 } } } ], "otherPricingInfo": { "attributeDetails": [ { "attributeType": "TOU", "attributeDescription": "*F*F2201VNSEA/F2201VN" }, { "attributeType": "COM", "attributeDescription": "*F*0.00A" }, { "attributeType": "END", "attributeDescription": "NON-END/RESTRICTION MAY APPLY." }, { "attributeType": "FCA", "attributeDescription": "SGN QH BKK6.75QH SGN6.75NUC13.50END ROE1.00" } ] }, "warningInformation": [ { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": "PEN", "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "NON-REFUNDABLE" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": "LTD", "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "- SEE ADV PURCHASE" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "BAG/SEAT/SERVICES AT A CHARGE MAY BE AVAILABLE-ENTER FXK" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "CAT35 NEGOTIATED FARES" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "BG CXR: QH/QH" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "PRICED WITH VALIDATING CARRIER QH - REPRICE IF DIFFERENT VC" } } ], "fareComponentDetailsGroup": [ { "fareComponentID": { "itemNumberDetails": { "number": 1, "type": "FC" } }, "marketFareComponent": { "boardPointDetails": { "trueLocationId": "SGN" }, "offpointDetails": { "trueLocationId": "BKK" } }, "monetaryInformation": { "monetaryDetails": { "typeQualifier": "TFC", "amount": 6.75, "currency": "NUC" } }, "componentClassInfo": { "fareBasisDetails": { "rateTariffClass": "AEORTV3", "otherRateTariffClass": "CH25" } }, "fareQualifiersDetail": { "discountDetails": { "fareQualifier": 763 } }, "couponDetailsGroup": { "productId": { "referenceDetails": { "type": "ST", "value": 1 } } } }, { "fareComponentID": { "itemNumberDetails": { "number": 2, "type": "FC" } }, "marketFareComponent": { "boardPointDetails": { "trueLocationId": "BKK" }, "offpointDetails": { "trueLocationId": "SGN" } }, "monetaryInformation": { "monetaryDetails": { "typeQualifier": "TFC", "amount": 6.75, "currency": "NUC" } }, "componentClassInfo": { "fareBasisDetails": { "rateTariffClass": "AEORTV3", "otherRateTariffClass": "CH25" } }, "fareQualifiersDetail": { "discountDetails": { "fareQualifier": 763 } }, "couponDetailsGroup": { "productId": { "referenceDetails": { "type": "ST", "value": 2 } } } } ], "endFareList": "" }, { "pricingInformation": { "tstInformation": { "tstIndicator": "F" }, "fcmi": "N" }, "fareReference": { "referenceType": "TST", "uniqueReference": 3 }, "lastTktDate": { "businessSemantic": "LT", "dateTime": { "year": 2023, "month": 11, "day": 1, "hour": 4, "minutes": 25 } }, "validatingCarrier": { "carrierInformation": { "carrierCode": "QH" } }, "paxSegReference": { "refDetails": { "refQualifier": "PI", "refNumber": 2 } }, "fareDataInformation": { "fareDataMainInformation": { "fareDataQualifier": "F" }, "fareDataSupInformation": [ { "fareDataQualifier": "B", "fareAmount": 2, "fareCurrency": "USD" }, { "fareDataQualifier": "E", "fareAmount": 49000, "fareCurrency": "VND" }, { "fareDataQualifier": 712, "fareAmount": 119000, "fareCurrency": "VND" } ] }, "offerReferences": { "offerIdentifier": { "uniqueOfferReference": "SP2P-11946473513441551379-1-OI1-AI3" } }, "taxInformation": [ { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "E7" }, "taxNature": "AP" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 24000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "E7" }, "taxNature": "AD" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 24000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "G8" }, "taxNature": "DP" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 11000, "fareCurrency": "VND" } } }, { "taxDetails": { "taxQualifier": 7, "taxIdentification": { "taxIdentifier": "X" }, "taxType": { "isoCountry": "G8" }, "taxNature": "AE" }, "amountDetails": { "fareDataMainInformation": { "fareDataQualifier": "TAX", "fareAmount": 11000, "fareCurrency": "VND" } } } ], "bankerRates": { "firstRateDetail": { "amount": 24500 } }, "originDestination": { "cityCode": [ "SGN", "SGN" ] }, "segmentInformation": [ { "connexInformation": { "connecDetails": { "connexType": "O" } }, "segDetails": { "segmentDetail": { "identification": "AIR", "classOfService": "A" } }, "fareQualifier": { "fareBasisDetails": { "primaryCode": "AEO", "fareBasisCode": "RTV3", "ticketDesignator": "IN90", "discTktDesignator": "IN" } }, "cabinGroup": { "cabinSegment": { "bookingClassDetails": { "designator": "A", "option": "M" } } }, "validityInformation": [ { "businessSemantic": "A", "dateTime": { "year": 2023, "month": 11, "day": 1 } }, { "businessSemantic": "B", "dateTime": { "year": 2023, "month": 11, "day": 1 } } ], "bagAllowanceInformation": { "bagAllowanceDetails": { "baggageWeight": 10, "baggageType": "W", "measureUnit": "K" } }, "segmentReference": { "refDetails": { "refQualifier": "S", "refNumber": 1 } }, "sequenceInformation": { "sequenceSection": { "sequenceNumber": 1 } } }, { "connexInformation": { "connecDetails": { "connexType": "O" } }, "segDetails": { "segmentDetail": { "identification": "AIR", "classOfService": "A" } }, "fareQualifier": { "fareBasisDetails": { "primaryCode": "AEO", "fareBasisCode": "RTV3", "ticketDesignator": "IN90", "discTktDesignator": "IN" } }, "cabinGroup": { "cabinSegment": { "bookingClassDetails": { "designator": "A", "option": "M" } } }, "validityInformation": [ { "businessSemantic": "A", "dateTime": { "year": 2023, "month": 11, "day": 10 } }, { "businessSemantic": "B", "dateTime": { "year": 2023, "month": 11, "day": 10 } } ], "bagAllowanceInformation": { "bagAllowanceDetails": { "baggageWeight": 10, "baggageType": "W", "measureUnit": "K" } }, "segmentReference": { "refDetails": { "refQualifier": "S", "refNumber": 2 } }, "sequenceInformation": { "sequenceSection": { "sequenceNumber": 2 } } } ], "otherPricingInfo": { "attributeDetails": [ { "attributeType": "TOU", "attributeDescription": "*F*F2201VNSEA/F2201VN" }, { "attributeType": "COM", "attributeDescription": "*F*0.00A" }, { "attributeType": "END", "attributeDescription": "NON-END/RESTRICTION MAY APPLY." }, { "attributeType": "FCA", "attributeDescription": "SGN QH BKK0.90QH SGN0.90NUC1.80END ROE1.00" } ] }, "warningInformation": [ { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": "PEN", "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "NON-REFUNDABLE" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": "LTD", "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "- SEE ADV PURCHASE" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "BAG/SEAT/SERVICES AT A CHARGE MAY BE AVAILABLE-ENTER FXK" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "CAT35 NEGOTIATED FARES" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "BG CXR: QH/QH" } }, { "warningCode": { "applicationErrorDetail": { "applicationErrorCode": 0, "codeListQualifier": "WEC", "codeListResponsibleAgency": "1A" } }, "warningText": { "errorFreeText": "PRICED WITH VALIDATING CARRIER QH - REPRICE IF DIFFERENT VC" } } ], "fareComponentDetailsGroup": [ { "fareComponentID": { "itemNumberDetails": { "number": 1, "type": "FC" } }, "marketFareComponent": { "boardPointDetails": { "trueLocationId": "SGN" }, "offpointDetails": { "trueLocationId": "BKK" } }, "monetaryInformation": { "monetaryDetails": { "typeQualifier": "TFC", "amount": 0.9, "currency": "NUC" } }, "componentClassInfo": { "fareBasisDetails": { "rateTariffClass": "AEORTV3", "otherRateTariffClass": "IN90" } }, "fareQualifiersDetail": { "discountDetails": { "fareQualifier": 763 } }, "couponDetailsGroup": { "productId": { "referenceDetails": { "type": "ST", "value": 1 } } } }, { "fareComponentID": { "itemNumberDetails": { "number": 2, "type": "FC" } }, "marketFareComponent": { "boardPointDetails": { "trueLocationId": "BKK" }, "offpointDetails": { "trueLocationId": "SGN" } }, "monetaryInformation": { "monetaryDetails": { "typeQualifier": "TFC", "amount": 0.9, "currency": "NUC" } }, "componentClassInfo": { "fareBasisDetails": { "rateTariffClass": "AEORTV3", "otherRateTariffClass": "IN90" } }, "fareQualifiersDetail": { "discountDetails": { "fareQualifier": 763 } }, "couponDetailsGroup": { "productId": { "referenceDetails": { "type": "ST", "value": 2 } } } } ], "endFareList": "" } ] } }
but when i create TST by tstNumber 1, 2, 3
<?xml version="1.0" encoding="UTF-8"?> <ns1:Ticket_CreateTSTFromPricing> <ns1:psaList> <ns1:itemReference> <ns1:referenceType>TST</ns1:referenceType> <ns1:uniqueReference>1</ns1:uniqueReference> </ns1:itemReference> </ns1:psaList> <ns1:psaList> <ns1:itemReference> <ns1:referenceType>TST</ns1:referenceType> <ns1:uniqueReference>2</ns1:uniqueReference> </ns1:itemReference> </ns1:psaList> <ns1:psaList> <ns1:itemReference> <ns1:referenceType>TST</ns1:referenceType> <ns1:uniqueReference>3</ns1:uniqueReference> </ns1:itemReference> </ns1:psaList> </ns1:Ticket_CreateTSTFromPricing>
it always show me 4 tst in response ( PA2, PA4 seperate)
<?xml version="1.0" encoding="UTF-8"?> <Ticket_CreateTSTFromPricingReply xmlns="http://xml.amadeus.com/TAUTCR_04_1_1A"> <tstList> <tstReference> <referenceType>TST</referenceType> <uniqueReference>1</uniqueReference> <iDDescription> <iDSequenceNumber>1</iDSequenceNumber> </iDDescription> </tstReference> <paxInformation> <refDetails> <refQualifier>PA</refQualifier> <refNumber>2</refNumber> </refDetails> </paxInformation> </tstList> <tstList> <tstReference> <referenceType>TST</referenceType> <uniqueReference>2</uniqueReference> <iDDescription> <iDSequenceNumber>2</iDSequenceNumber> </iDDescription> </tstReference> <paxInformation> <refDetails> <refQualifier>PA</refQualifier> <refNumber>4</refNumber> </refDetails> </paxInformation> </tstList> <tstList> <tstReference> <referenceType>TST</referenceType> <uniqueReference>3</uniqueReference> <iDDescription> <iDSequenceNumber>3</iDSequenceNumber> </iDDescription> </tstReference> <paxInformation> <refDetails> <refQualifier>PA</refQualifier> <refNumber>5</refNumber> </refDetails> </paxInformation> </tstList> <tstList> <tstReference> <referenceType>TST</referenceType> <uniqueReference>4</uniqueReference> <iDDescription> <iDSequenceNumber>4</iDSequenceNumber> </iDDescription> </tstReference> <paxInformation> <refDetails> <refQualifier>PI</refQualifier> <refNumber>2</refNumber> </refDetails> </paxInformation> </tstList> </Ticket_CreateTSTFromPricingReply>
Have any of you encountered the same situation as me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant