AirOfferSplit

This is an optional service. You can use this endpoint to split the multi-booking offer. You can breakdown the multi-booking offer into single one-way offer and check the details of both the inbound and outbound offers independently.

Schema

  • Name: Provide the name for the request. This is a String value.

  • ReferenceVersion: Provide the version number. This is a Numeric value.


  • Travel Agency Sender:

    • Name: Provide the name for the request. This is a String value.

    • IATA Number: Provide the IATA number for the request. This is a String value.

    • Agency ID: Provide the agency ID for the request. This is a String value.

    • Contacts: This is an Array.

      • EmailContact: Provide the email contact for the request. This is a String value.

This is a required field. You can choose a response ID for a particular selection. The value will be String.

OfferID: This is a required field. Provide the shopping response’s offer ID for the selected deal. The value will be String.

TraceId: Provide the trace ID. This is a String value.

Request URL

curl --location --request POST 'https://newapi.tltid.com/AirOfferSplit' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \

Request Body Sample

{
  "AirSplitOfferRQ": {
    "Document": {
      "Name": "Skyroute B2B Portal",
      "ReferenceVersion": "1.0"
    },
    "Party": {
      "Sender": {
        "TravelAgencySender": {
          "Name": "Skyroute B2B",
          "IATA_Number": "1111111111",
          "AgencyID": "1111111111",
          "Contacts": {
            "Contact": [
              {
                "emailcontact": "m.ramanathan@wintlt.com"
              }
            ]
          }
        }
      }
    },
    "ShoppingResponseId": "1618600123776620492",
    "Query": {
      "Offer": [
        {
          "OfferID": "1618600131010898569"
        }
      ]
    },
    "MetaData": {
      "TraceId": "161777799749"
    }
  }
}

Response Sample

{
    "AirSplitOfferRS": {
        "Document": {
            "Name": "Clarity NDC GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "kathir",
                    "IATA_Number": "",
                    "AgencyID": "",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "kathir@gmail.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1618600123776620492",
        "Success": {},
        "OffersGroup": {
            "AirlineOffers": [
                {
                    "AirlineOfferSnapshot": {
                        "PassengerQuantity": 4,
                        "MatchedOfferQuantity": 2,
                        "Lowest": {
                            "BookingCurrencyPrice": 2119.77,
                            "EquivCurrencyPrice": 2119.77
                        },
                        "Highest": {
                            "BookingCurrencyPrice": 9368.17,
                            "EquivCurrencyPrice": 9368.17
                        }
                    },
                    "Offer": [
                        {
                            "OfferID": "153211618600130877344519",
                            "Owner": "AA",
                            "OwnerName": "American Airlines",
                            "IsBrandedFare": "N",
                            "CabinOptions": [],
                            "IsAdditionalCabinType": "N",
                            "Eticket": "true",
                            "TimeLimits": {
                                "OfferExpirationDateTime": "2021-04-17T02:39:34",
                                "PaymentExpirationDateTime": "2021-04-19 19:08:50"
                            },
                            "BookingCurrencyCode": "CAD",
                            "EquivCurrencyCode": "CAD",
                            "HstPercentage": 0,
                            "RewardSettings": {
                                "RewardAvailable": "Y",
                                "PointTypes": [
                                    "F",
                                    "D"
                                ],
                                "PointValues": {
                                    "F": {
                                        "AllowedProducts": [
                                            "H",
                                            "I",
                                            "A"
                                        ],
                                        "ConversionRate": 0.17,
                                        "PerPointAmount": 6,
                                        "CalculationOn": "PPBF",
                                        "Currency": "CAD",
                                        "PointsType": "F"
                                    },
                                    "D": {
                                        "AllowedProducts": [
                                            "A"
                                        ],
                                        "ConversionRate": 0.2,
                                        "PerPointAmount": 5,
                                        "CalculationOn": "PPBF",
                                        "Currency": "CAD",
                                        "PointsType": "D"
                                    }
                                }
                            },
                            "BookingFeeInfo": {
                                "FeeType": "AOT",
                                "BookingCurrencyPrice": 0.173,
                                "EquivCurrencyPrice": 0.173
                            },
                            "TotalPrice": {
                                "BookingCurrencyPrice": 2119.77,
                                "EquivCurrencyPrice": 2119.77
                            },
                            "BasePrice": {
                                "BookingCurrencyPrice": 1321.17,
                                "EquivCurrencyPrice": 1321.17
                            },
                            "TaxPrice": {
                                "BookingCurrencyPrice": 798.6,
                                "EquivCurrencyPrice": 798.6
                            },
                            "Points": {
                                "D": {
                                    "BaseFarePoints": 264.24,
                                    "TaxFarePoints": 159.72,
                                    "TotalFarePoints": 423.96
                                },
                                "F": {
                                    "BaseFarePoints": 700,
                                    "TaxFarePoints": 133.1,
                                    "TotalFarePoints": 833.1
                                }
                            },
                            "Commission": {
                                "AgencyCommission": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "AgencyYqCommission": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "PortalCharges": {
                                "Markup": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "Surcharge": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "Discount": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "Penalty": {
                                "ChangeFee": {
                                    "Before": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    },
                                    "After": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    }
                                },
                                "CancelationFee": {
                                    "Before": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    },
                                    "After": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    }
                                }
                            },
                            "OfferItem": [
                                {
                                    "OfferItemID": "OFFERITEMID1",
                                    "Refundable": "false",
                                    "PassengerType": "ADT",
                                    "PassengerQuantity": 2,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 1363.8864999999998,
                                            "EquivCurrencyPrice": 1363.8864999999998
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "ADT1 ADT2",
                                            "FlightRefs": "Flight1"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "ADT1 ADT2",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 1363.8864999999998,
                                                "EquivCurrencyPrice": 1363.8864999999998
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 852.0865,
                                                "EquivCurrencyPrice": 852.0865
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 511.8,
                                                "EquivCurrencyPrice": 511.8
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0.0865,
                                                "EquivCurrencyPrice": 0.0865
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "AY",
                                                    "BookingCurrencyPrice": 7,
                                                    "EquivCurrencyPrice": 7
                                                },
                                                {
                                                    "TaxCode": "YR",
                                                    "BookingCurrencyPrice": 219.4,
                                                    "EquivCurrencyPrice": 219.4
                                                },
                                                {
                                                    "TaxCode": "US",
                                                    "BookingCurrencyPrice": 23.9,
                                                    "EquivCurrencyPrice": 23.9
                                                },
                                                {
                                                    "TaxCode": "XF",
                                                    "BookingCurrencyPrice": 5.6,
                                                    "EquivCurrencyPrice": 5.6
                                                }
                                            ]
                                        },
                                        "Points": {
                                            "D": {
                                                "BaseFarePoints": 170.42,
                                                "TaxFarePoints": 102.36,
                                                "TotalFarePoints": 272.78
                                            },
                                            "F": {
                                                "BaseFarePoints": 200,
                                                "TaxFarePoints": 85.3,
                                                "TotalFarePoints": 285.3
                                            }
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_1",
                                            "SegmentRefs": "Segment1",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_1",
                                                    "Code": "LLN8C4S5"
                                                },
                                                "RBD": "L",
                                                "CabinType": "Y",
                                                "SeatLeft": "4"
                                            }
                                        }
                                    ]
                                },
                                {
                                    "OfferItemID": "OFFERITEMID2",
                                    "Refundable": "false",
                                    "PassengerType": "CHD",
                                    "PassengerQuantity": 1,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 681.9432499999999,
                                            "EquivCurrencyPrice": 681.9432499999999
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "CHD1",
                                            "FlightRefs": "Flight1"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "CHD1",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 681.9432499999999,
                                                "EquivCurrencyPrice": 681.9432499999999
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 426.04325,
                                                "EquivCurrencyPrice": 426.04325
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 255.9,
                                                "EquivCurrencyPrice": 255.9
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0.04325,
                                                "EquivCurrencyPrice": 0.04325
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "AY",
                                                    "BookingCurrencyPrice": 7,
                                                    "EquivCurrencyPrice": 7
                                                },
                                                {
                                                    "TaxCode": "YR",
                                                    "BookingCurrencyPrice": 219.4,
                                                    "EquivCurrencyPrice": 219.4
                                                },
                                                {
                                                    "TaxCode": "US",
                                                    "BookingCurrencyPrice": 23.9,
                                                    "EquivCurrencyPrice": 23.9
                                                },
                                                {
                                                    "TaxCode": "XF",
                                                    "BookingCurrencyPrice": 5.6,
                                                    "EquivCurrencyPrice": 5.6
                                                }
                                            ]
                                        },
                                        "Points": {
                                            "D": {
                                                "BaseFarePoints": 85.21,
                                                "TaxFarePoints": 51.18,
                                                "TotalFarePoints": 136.39
                                            },
                                            "F": {
                                                "BaseFarePoints": 200,
                                                "TaxFarePoints": 42.65,
                                                "TotalFarePoints": 242.65
                                            }
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_1",
                                            "SegmentRefs": "Segment1",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_1",
                                                    "Code": "LLN8C4S5"
                                                },
                                                "RBD": "L",
                                                "CabinType": "Y",
                                                "SeatLeft": "4"
                                            }
                                        }
                                    ]
                                },
                                {
                                    "OfferItemID": "OFFERITEMID3",
                                    "Refundable": "false",
                                    "PassengerType": "INF",
                                    "PassengerQuantity": 1,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 73.94325,
                                            "EquivCurrencyPrice": 73.94325
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "INF1",
                                            "FlightRefs": "Flight1"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "INF1",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 73.94325,
                                                "EquivCurrencyPrice": 73.94325
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 43.04325,
                                                "EquivCurrencyPrice": 43.04325
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 30.9,
                                                "EquivCurrencyPrice": 30.9
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0.04325,
                                                "EquivCurrencyPrice": 0.04325
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "AY",
                                                    "BookingCurrencyPrice": 7,
                                                    "EquivCurrencyPrice": 7
                                                },
                                                {
                                                    "TaxCode": "US",
                                                    "BookingCurrencyPrice": 23.9,
                                                    "EquivCurrencyPrice": 23.9
                                                }
                                            ]
                                        },
                                        "Points": {
                                            "D": {
                                                "BaseFarePoints": 8.61,
                                                "TaxFarePoints": 6.18,
                                                "TotalFarePoints": 14.79
                                            },
                                            "F": {
                                                "BaseFarePoints": 300,
                                                "TaxFarePoints": 5.15,
                                                "TotalFarePoints": 305.15
                                            }
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_1",
                                            "SegmentRefs": "Segment1",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_1",
                                                    "Code": "LLN8C4S5"
                                                },
                                                "RBD": "L",
                                                "CabinType": "Y",
                                                "SeatLeft": "4"
                                            }
                                        }
                                    ]
                                }
                            ],
                            "BaggageAllowance": [
                                {
                                    "SegmentRefs": "Segment1",
                                    "PassengerRefs": "T1 T2",
                                    "BaggageAllowanceRef": "Bag1"
                                },
                                {
                                    "SegmentRefs": "Segment1",
                                    "PassengerRefs": "T1 T2",
                                    "BaggageAllowanceRef": "Bag2"
                                },
                                {
                                    "SegmentRefs": "Segment1",
                                    "PassengerRefs": "T3",
                                    "BaggageAllowanceRef": "Bag1"
                                },
                                {
                                    "SegmentRefs": "Segment1",
                                    "PassengerRefs": "T3",
                                    "BaggageAllowanceRef": "Bag2"
                                },
                                {
                                    "SegmentRefs": "Segment1",
                                    "PassengerRefs": "T4",
                                    "BaggageAllowanceRef": "Bag1"
                                },
                                {
                                    "SegmentRefs": "Segment1",
                                    "PassengerRefs": "T4",
                                    "BaggageAllowanceRef": "Bag2"
                                }
                            ],
                            "BookingToEquivExRate": 1,
                            "FopRef": "FOP_5_5_32_0_AA"
                        },
                        {
                            "OfferID": "153211618600130776793563",
                            "Owner": "AA",
                            "OwnerName": "American Airlines",
                            "IsBrandedFare": "N",
                            "CabinOptions": [],
                            "IsAdditionalCabinType": "N",
                            "Eticket": "true",
                            "TimeLimits": {
                                "OfferExpirationDateTime": "2021-04-17T02:39:34",
                                "PaymentExpirationDateTime": "2021-04-19 19:08:50"
                            },
                            "BookingCurrencyCode": "CAD",
                            "EquivCurrencyCode": "CAD",
                            "HstPercentage": 0,
                            "RewardSettings": {
                                "RewardAvailable": "Y",
                                "PointTypes": [
                                    "F",
                                    "D"
                                ],
                                "PointValues": {
                                    "F": {
                                        "AllowedProducts": [
                                            "H",
                                            "I",
                                            "A"
                                        ],
                                        "ConversionRate": 0.17,
                                        "PerPointAmount": 6,
                                        "CalculationOn": "PPBF",
                                        "Currency": "CAD",
                                        "PointsType": "F"
                                    },
                                    "D": {
                                        "AllowedProducts": [
                                            "A"
                                        ],
                                        "ConversionRate": 0.2,
                                        "PerPointAmount": 5,
                                        "CalculationOn": "PPBF",
                                        "Currency": "CAD",
                                        "PointsType": "D"
                                    }
                                }
                            },
                            "BookingFeeInfo": {
                                "FeeType": "AOT",
                                "BookingCurrencyPrice": 0.17,
                                "EquivCurrencyPrice": 0.173
                            },
                            "TotalPrice": {
                                "BookingCurrencyPrice": 9368.17,
                                "EquivCurrencyPrice": 9368.17
                            },
                            "BasePrice": {
                                "BookingCurrencyPrice": 8021.17,
                                "EquivCurrencyPrice": 8021.17
                            },
                            "TaxPrice": {
                                "BookingCurrencyPrice": 1347,
                                "EquivCurrencyPrice": 1347
                            },
                            "Points": {
                                "D": {
                                    "BaseFarePoints": 1604.24,
                                    "TaxFarePoints": 269.4,
                                    "TotalFarePoints": 1873.64
                                },
                                "F": {
                                    "BaseFarePoints": 700,
                                    "TaxFarePoints": 224.5,
                                    "TotalFarePoints": 924.5
                                }
                            },
                            "Commission": {
                                "AgencyCommission": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "AgencyYqCommission": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "PortalCharges": {
                                "Markup": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "Surcharge": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "Discount": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "Penalty": {
                                "ChangeFee": {
                                    "Before": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    },
                                    "After": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    }
                                },
                                "CancelationFee": {
                                    "Before": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    },
                                    "After": {
                                        "BookingCurrencyPrice": "NA",
                                        "EquivCurrencyPrice": "NA"
                                    }
                                }
                            },
                            "OfferItem": [
                                {
                                    "OfferItemID": "OFFERITEMID1",
                                    "Refundable": "true",
                                    "PassengerType": "ADT",
                                    "PassengerQuantity": 2,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 6533.89,
                                            "EquivCurrencyPrice": 6533.8865000000005
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "ADT1 ADT2",
                                            "FlightRefs": "Flight2"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "ADT1 ADT2",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 6533.89,
                                                "EquivCurrencyPrice": 6533.8865000000005
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 5628.09,
                                                "EquivCurrencyPrice": 5628.0865
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 905.8,
                                                "EquivCurrencyPrice": 905.8
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0.09,
                                                "EquivCurrencyPrice": 0.0865
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "XA",
                                                    "BookingCurrencyPrice": 5,
                                                    "EquivCurrencyPrice": 5
                                                },
                                                {
                                                    "TaxCode": "YC",
                                                    "BookingCurrencyPrice": 7.5,
                                                    "EquivCurrencyPrice": 7.5
                                                },
                                                {
                                                    "TaxCode": "GB",
                                                    "BookingCurrencyPrice": 141.6,
                                                    "EquivCurrencyPrice": 141.6
                                                },
                                                {
                                                    "TaxCode": "XY",
                                                    "BookingCurrencyPrice": 8.8,
                                                    "EquivCurrencyPrice": 8.8
                                                },
                                                {
                                                    "TaxCode": "UB",
                                                    "BookingCurrencyPrice": 69.3,
                                                    "EquivCurrencyPrice": 69.3
                                                },
                                                {
                                                    "TaxCode": "R1",
                                                    "BookingCurrencyPrice": 15.4,
                                                    "EquivCurrencyPrice": 15.4
                                                },
                                                {
                                                    "TaxCode": "YR",
                                                    "BookingCurrencyPrice": 181.4,
                                                    "EquivCurrencyPrice": 181.4
                                                },
                                                {
                                                    "TaxCode": "US",
                                                    "BookingCurrencyPrice": 23.9,
                                                    "EquivCurrencyPrice": 23.9
                                                }
                                            ]
                                        },
                                        "Points": {
                                            "D": {
                                                "BaseFarePoints": 1125.62,
                                                "TaxFarePoints": 181.16,
                                                "TotalFarePoints": 1306.78
                                            },
                                            "F": {
                                                "BaseFarePoints": 200,
                                                "TaxFarePoints": 150.97,
                                                "TotalFarePoints": 350.97
                                            }
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_2",
                                            "SegmentRefs": "Segment2",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_2",
                                                    "Code": "Y1N0C9M0"
                                                },
                                                "RBD": "Y",
                                                "CabinType": "Y",
                                                "SeatLeft": "4"
                                            }
                                        }
                                    ]
                                },
                                {
                                    "OfferItemID": "OFFERITEMID2",
                                    "Refundable": "true",
                                    "PassengerType": "CHD",
                                    "PassengerQuantity": 1,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 2422.34,
                                            "EquivCurrencyPrice": 2422.3432500000004
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "CHD1",
                                            "FlightRefs": "Flight2"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "CHD1",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 2422.34,
                                                "EquivCurrencyPrice": 2422.3432500000004
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 2111.04,
                                                "EquivCurrencyPrice": 2111.04325
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 311.3,
                                                "EquivCurrencyPrice": 311.3
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0.04,
                                                "EquivCurrencyPrice": 0.04325
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "XA",
                                                    "BookingCurrencyPrice": 5,
                                                    "EquivCurrencyPrice": 5
                                                },
                                                {
                                                    "TaxCode": "YC",
                                                    "BookingCurrencyPrice": 7.5,
                                                    "EquivCurrencyPrice": 7.5
                                                },
                                                {
                                                    "TaxCode": "XY",
                                                    "BookingCurrencyPrice": 8.8,
                                                    "EquivCurrencyPrice": 8.8
                                                },
                                                {
                                                    "TaxCode": "UB",
                                                    "BookingCurrencyPrice": 69.3,
                                                    "EquivCurrencyPrice": 69.3
                                                },
                                                {
                                                    "TaxCode": "R1",
                                                    "BookingCurrencyPrice": 15.4,
                                                    "EquivCurrencyPrice": 15.4
                                                },
                                                {
                                                    "TaxCode": "YR",
                                                    "BookingCurrencyPrice": 181.4,
                                                    "EquivCurrencyPrice": 181.4
                                                },
                                                {
                                                    "TaxCode": "US",
                                                    "BookingCurrencyPrice": 23.9,
                                                    "EquivCurrencyPrice": 23.9
                                                }
                                            ]
                                        },
                                        "Points": {
                                            "D": {
                                                "BaseFarePoints": 422.21,
                                                "TaxFarePoints": 62.26,
                                                "TotalFarePoints": 484.47
                                            },
                                            "F": {
                                                "BaseFarePoints": 200,
                                                "TaxFarePoints": 51.88,
                                                "TotalFarePoints": 251.88
                                            }
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_2",
                                            "SegmentRefs": "Segment2",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_2",
                                                    "Code": "Y1N0C9M0"
                                                },
                                                "RBD": "Y",
                                                "CabinType": "Y",
                                                "SeatLeft": "4"
                                            }
                                        }
                                    ]
                                },
                                {
                                    "OfferItemID": "OFFERITEMID3",
                                    "Refundable": "true",
                                    "PassengerType": "INF",
                                    "PassengerQuantity": 1,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 411.94,
                                            "EquivCurrencyPrice": 411.94325
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "INF1",
                                            "FlightRefs": "Flight2"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "INF1",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 411.94,
                                                "EquivCurrencyPrice": 411.94325
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 282.04,
                                                "EquivCurrencyPrice": 282.04325
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 129.9,
                                                "EquivCurrencyPrice": 129.9
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0.04,
                                                "EquivCurrencyPrice": 0.04325
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "XA",
                                                    "BookingCurrencyPrice": 5,
                                                    "EquivCurrencyPrice": 5
                                                },
                                                {
                                                    "TaxCode": "YC",
                                                    "BookingCurrencyPrice": 7.5,
                                                    "EquivCurrencyPrice": 7.5
                                                },
                                                {
                                                    "TaxCode": "XY",
                                                    "BookingCurrencyPrice": 8.8,
                                                    "EquivCurrencyPrice": 8.8
                                                },
                                                {
                                                    "TaxCode": "UB",
                                                    "BookingCurrencyPrice": 69.3,
                                                    "EquivCurrencyPrice": 69.3
                                                },
                                                {
                                                    "TaxCode": "R1",
                                                    "BookingCurrencyPrice": 15.4,
                                                    "EquivCurrencyPrice": 15.4
                                                },
                                                {
                                                    "TaxCode": "US",
                                                    "BookingCurrencyPrice": 23.9,
                                                    "EquivCurrencyPrice": 23.9
                                                }
                                            ]
                                        },
                                        "Points": {
                                            "D": {
                                                "BaseFarePoints": 56.41,
                                                "TaxFarePoints": 25.98,
                                                "TotalFarePoints": 82.39
                                            },
                                            "F": {
                                                "BaseFarePoints": 300,
                                                "TaxFarePoints": 21.65,
                                                "TotalFarePoints": 321.65
                                            }
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_2",
                                            "SegmentRefs": "Segment2",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_2",
                                                    "Code": "Y1N0C9M0"
                                                },
                                                "RBD": "Y",
                                                "CabinType": "Y",
                                                "SeatLeft": "4"
                                            }
                                        }
                                    ]
                                }
                            ],
                            "BaggageAllowance": [
                                {
                                    "SegmentRefs": "Segment2",
                                    "PassengerRefs": "T1 T2",
                                    "BaggageAllowanceRef": "Bag1"
                                },
                                {
                                    "SegmentRefs": "Segment2",
                                    "PassengerRefs": "T1 T2",
                                    "BaggageAllowanceRef": "Bag2"
                                },
                                {
                                    "SegmentRefs": "Segment2",
                                    "PassengerRefs": "T3",
                                    "BaggageAllowanceRef": "Bag1"
                                },
                                {
                                    "SegmentRefs": "Segment2",
                                    "PassengerRefs": "T3",
                                    "BaggageAllowanceRef": "Bag2"
                                },
                                {
                                    "SegmentRefs": "Segment2",
                                    "PassengerRefs": "T4",
                                    "BaggageAllowanceRef": "Bag1"
                                },
                                {
                                    "SegmentRefs": "Segment2",
                                    "PassengerRefs": "T4",
                                    "BaggageAllowanceRef": "Bag2"
                                }
                            ],
                            "BookingToEquivExRate": 1,
                            "FopRef": "FOP_5_5_32_0_AA"
                        }
                    ]
                }
            ]
        },
        "DataLists": {
            "PassengerList": {
                "Passengers": [
                    {
                        "PassengerID": "T1",
                        "PTC": "ADT",
                        "LoyaltyProgramAccount": [
                            {
                                "AirlineID": "AA",
                                "AccountNumber": "8349843875"
                            }
                        ],
                        "Individual": {
                            "Birthdate": "1996-03-15"
                        }
                    },
                    {
                        "PassengerID": "T2",
                        "PTC": "ADT"
                    },
                    {
                        "PassengerID": "T3",
                        "PTC": "CHD"
                    },
                    {
                        "PassengerID": "T4",
                        "PTC": "INF"
                    }
                ]
            },
            "DisclosureList": {
                "Disclosures": []
            },
            "FareList": {
                "FareGroup": [
                    {
                        "FareGroupRef": "FG_1",
                        "FareCode": "70J",
                        "FareBasisCode": "LLN8C4S5"
                    },
                    {
                        "FareGroupRef": "FG_2",
                        "FareCode": "70J",
                        "FareBasisCode": "Y1N0C9M0"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "LAX",
                            "Date": "2021-10-25",
                            "Time": "20:00:00",
                            "AirportName": "Los Angeles International Airport",
                            "Terminal": {
                                "Name": "0"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "LHR",
                            "Date": "2021-10-26",
                            "Time": "14:10:00",
                            "AirportName": "London Heathrow Airport",
                            "Terminal": {
                                "Name": "5"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "AA",
                            "Name": "American Airlines",
                            "FlightNumber": "136"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "AA",
                            "Name": "American Airlines",
                            "FlightNumber": "136"
                        },
                        "Equipment": {
                            "AircraftCode": "77W",
                            "Name": "Boeing 777-300ER"
                        },
                        "Code": {
                            "MarriageGroup": ""
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "10 H 10 M"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 0
                        },
                        "BrandId": ""
                    },
                    {
                        "SegmentKey": "Segment2",
                        "Departure": {
                            "AirportCode": "LHR",
                            "Date": "2021-10-28",
                            "Time": "10:30:00",
                            "AirportName": "London Heathrow Airport",
                            "Terminal": {
                                "Name": "5"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "LAX",
                            "Date": "2021-10-28",
                            "Time": "12:35:00",
                            "AirportName": "Los Angeles International Airport",
                            "Terminal": {
                                "Name": "B"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "AA",
                            "Name": "American Airlines",
                            "FlightNumber": "137"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "AA",
                            "Name": "American Airlines",
                            "FlightNumber": "137"
                        },
                        "Equipment": {
                            "AircraftCode": "77W",
                            "Name": "Boeing 777-300ER"
                        },
                        "Code": {
                            "MarriageGroup": ""
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "10 H 5 M"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 0
                        },
                        "BrandId": ""
                    }
                ]
            },
            "FlightList": {
                "Flight": [
                    {
                        "FlightKey": "Flight1",
                        "Journey": {
                            "Time": "10 H 10 M",
                            "Stops": 0
                        },
                        "SegmentReferences": "Segment1"
                    },
                    {
                        "FlightKey": "Flight2",
                        "Journey": {
                            "Time": "10 H 5 M",
                            "Stops": 0
                        },
                        "SegmentReferences": "Segment2"
                    }
                ]
            },
            "OriginDestinationList": {
                "OriginDestination": [
                    {
                        "OriginDestinationKey": "OD1",
                        "DepartureCode": "LAX",
                        "ArrivalCode": "LHR",
                        "FlightReferences": "Flight1"
                    },
                    {
                        "OriginDestinationKey": "OD2",
                        "DepartureCode": "LHR",
                        "ArrivalCode": "LAX",
                        "FlightReferences": "Flight2"
                    }
                ]
            },
            "PriceClassList": {
                "PriceClass": [
                    {
                        "PriceClassID": "PCR_1",
                        "Name": "Main Cabin",
                        "Code": "Main Cabin",
                        "Descriptions": {
                            "Description": [
                                {
                                    "Text": "No change fees (difference in ticket price may apply)",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "Choose your seat at no charge on American flights (fee may apply for preferred or Main Cabin Extra seats)1",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "1 free checked bag",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "Elite Qualifying  Credits (EQMs, EQSs or EQDs)",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "1 British Airways, Finnair and Iberia have different rules for seats and boarding. Check with the airline that operates your flight.",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                }
                            ]
                        }
                    },
                    {
                        "PriceClassID": "PCR_2",
                        "Name": "Main Cabin Flexible",
                        "Code": "Main Cabin Flexible",
                        "Descriptions": {
                            "Description": [
                                {
                                    "Text": "Carry-on & personal item( access to overhead bin )",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "Choose your seat( fee may apply )",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "Eligible for upgrades on American Flights",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "Flight changes allowed( fee may apply)",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                },
                                {
                                    "Text": "General Boarding",
                                    "Code": "TEXT",
                                    "Type": "TEXT"
                                }
                            ]
                        }
                    }
                ]
            },
            "BaggageAllowanceList": {
                "BaggageAllowance": [
                    {
                        "BaggageAllowanceID": "Bag1",
                        "BaggageCategory": "Checked",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CHECKED ALLOWANCE"
                        },
                        "PieceAllowance": {
                            "ApplicableParty": "Traveler",
                            "TotalQuantity": "1",
                            "Unit": "Pieces"
                        }
                    },
                    {
                        "BaggageAllowanceID": "Bag2",
                        "BaggageCategory": "CarryOn",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CARRY ON ALLOWANCE"
                        },
                        "PieceAllowance": {
                            "ApplicableParty": "Traveler",
                            "TotalQuantity": "2",
                            "Unit": "Pieces"
                        }
                    }
                ]
            },
            "FopList": [
                {
                    "CC": {
                        "Allowed": "Y",
                        "Types": {
                            "AX": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "MC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "VI": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            }
                        }
                    },
                    "DC": {
                        "Allowed": "Y",
                        "Types": {
                            "MC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "VI": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "RU": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            }
                        }
                    },
                    "CASH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "CHEQUE": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "ACH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "PG": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "FopKey": "FOP_5_5_32_0_AA"
                }
            ]
        }
    }
}

Try it out!