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://uat-apigateway.voyzantonline.com/AirOfferSplit' \
--header 'Authorization: <YOUR_ACCESS_TOKEN>' \
--header 'x-api-key: <your key here>' \
--header 'Content-Type: application/json'\ 

Request Body Sample

{
    "AirSplitOfferRQ": {
        "Document": {
            "Name": "Voyzant Portal",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Voyzant Agency",
                    "IATA_Number": "1111111111",
                    "AgencyID": "1111111111",
                    "Contacts": {
                        "Contact": [
                            {
                                "emailcontact": "pst@voyzant.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1679568773422587231",
        "Query": {
            "Offer": [
                {
                    "OfferID": "1679568795232375490"
                }
            ]
        },
        "MetaData": {
            "TraceId": "161777799749"
        }
    }
}

Response Sample

{
    "AirSplitOfferRS": {
        "Document": {
            "Name": "API GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Voyzant Agency",
                    "IATA_Number": "",
                    "AgencyID": "Voyzant Agency",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "pst@voyzant.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1679568773422587231",
        "Success": {},
        "OffersGroup": {
            "AirlineOffers": [
                {
                    "AirlineOfferSnapshot": {
                        "PassengerQuantity": 1,
                        "MatchedOfferQuantity": 2
                    },
                    "Offer": [
                        {
                            "OfferID": "3296198721679568778548946920",
                            "Owner": "DL",
                            "OwnerName": "Delta Air Lines",
                            "IsBrandedFare": "N",
                            "BrandedFareOptions": [
                                "3296198721679568778567114388",
                                "3296198721679568778653494754"
                            ],
                            "CabinOptions": [],
                            "IsAdditionalCabinType": "N",
                            "Eticket": "false",
                            "AllowHold": "Y",
                            "TimeLimits": {
                                "OfferExpirationDateTime": "2023-03-23T12:55:35",
                                "PaymentExpirationDateTime": "2023-03-27 03:00:00"
                            },
                            "PassportRequired": "N",
                            "BookingCurrencyCode": "CAD",
                            "EquivCurrencyCode": "CAD",
                            "HstPercentage": "",
                            "RewardSettings": {
                                "RewardAvailable": "N",
                                "PointTypes": [],
                                "PointValues": {}
                            },
                            "BookingFeeInfo": {
                                "FeeType": "",
                                "BookingCurrencyPrice": 0,
                                "EquivCurrencyPrice": 0
                            },
                            "TotalPrice": {
                                "BookingCurrencyPrice": 868.76,
                                "EquivCurrencyPrice": 868.76
                            },
                            "BasePrice": {
                                "BookingCurrencyPrice": 478,
                                "EquivCurrencyPrice": 478
                            },
                            "TaxPrice": {
                                "BookingCurrencyPrice": 390.76,
                                "EquivCurrencyPrice": 390.76
                            },
                            "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": 1,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 868.76,
                                            "EquivCurrencyPrice": 868.76
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "ADT1",
                                            "FlightRefs": "Flight1"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "ADT1",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 868.76,
                                                "EquivCurrencyPrice": 868.76
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 478,
                                                "EquivCurrencyPrice": 478
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 390.76,
                                                "EquivCurrencyPrice": 390.76
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0,
                                                "EquivCurrencyPrice": 0
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "YR",
                                                    "BookingCurrencyPrice": 287.5,
                                                    "EquivCurrencyPrice": 287.5
                                                },
                                                {
                                                    "TaxCode": "CA",
                                                    "BookingCurrencyPrice": 25.91,
                                                    "EquivCurrencyPrice": 25.91
                                                },
                                                {
                                                    "TaxCode": "RC",
                                                    "BookingCurrencyPrice": 4.55,
                                                    "EquivCurrencyPrice": 4.55
                                                },
                                                {
                                                    "TaxCode": "SQ",
                                                    "BookingCurrencyPrice": 35,
                                                    "EquivCurrencyPrice": 35
                                                },
                                                {
                                                    "TaxCode": "AY",
                                                    "BookingCurrencyPrice": 7.7,
                                                    "EquivCurrencyPrice": 7.7
                                                },
                                                {
                                                    "TaxCode": "XA",
                                                    "BookingCurrencyPrice": 5.3,
                                                    "EquivCurrencyPrice": 5.3
                                                },
                                                {
                                                    "TaxCode": "XY",
                                                    "BookingCurrencyPrice": 9.6,
                                                    "EquivCurrencyPrice": 9.6
                                                },
                                                {
                                                    "TaxCode": "YC",
                                                    "BookingCurrencyPrice": 9,
                                                    "EquivCurrencyPrice": 9
                                                },
                                                {
                                                    "TaxCode": "XF",
                                                    "BookingCurrencyPrice": 6.2,
                                                    "EquivCurrencyPrice": 6.2
                                                }
                                            ]
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_1",
                                            "SegmentRefs": "Segment1 Segment2",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_1 FG_1",
                                                    "Code": "TLW79RMZ/AU330 TLW79RMZ/AU330"
                                                },
                                                "RBD": "T T",
                                                "CabinType": "Y Y",
                                                "SeatLeft": "9 9"
                                            }
                                        }
                                    ]
                                }
                            ],
                            "BaggageAllowance": [
                                {
                                    "SegmentRefs": "Segment1 Segment2",
                                    "PassengerRefs": "T1",
                                    "BaggageAllowanceRef": "Bag1"
                                }
                            ],
                            "SplitPaymentInfo": [
                                {
                                    "AirItineraryId": "3296198721679568778548946920",
                                    "MultipleFop": "N",
                                    "MaxCardsPerPax": 0,
                                    "MaxCardsPerPaxInMFOP": 0
                                }
                            ],
                            "BookingToEquivExRate": 1,
                            "FopRef": "FOP_1341_0_1987_0_ALL_PRI"
                        },
                        {
                            "OfferID": "3296198711679568794213930569",
                            "Owner": "AC",
                            "OwnerName": "Air Canada",
                            "IsBrandedFare": "N",
                            "BrandedFareOptions": [
                                "3296198711679568794400941671"
                            ],
                            "CabinOptions": [],
                            "IsAdditionalCabinType": "N",
                            "Eticket": "false",
                            "AllowHold": "Y",
                            "TimeLimits": {
                                "OfferExpirationDateTime": "2023-03-23T12:55:35",
                                "PaymentExpirationDateTime": "2023-04-15 03:00:00"
                            },
                            "PassportRequired": "N",
                            "BookingCurrencyCode": "CAD",
                            "EquivCurrencyCode": "CAD",
                            "HstPercentage": "",
                            "RewardSettings": {
                                "RewardAvailable": "N",
                                "PointTypes": [],
                                "PointValues": {}
                            },
                            "BookingFeeInfo": {
                                "FeeType": "",
                                "BookingCurrencyPrice": 0,
                                "EquivCurrencyPrice": 0
                            },
                            "TotalPrice": {
                                "BookingCurrencyPrice": 2519.5,
                                "EquivCurrencyPrice": 2519.5
                            },
                            "BasePrice": {
                                "BookingCurrencyPrice": 2083,
                                "EquivCurrencyPrice": 2083
                            },
                            "TaxPrice": {
                                "BookingCurrencyPrice": 436.5,
                                "EquivCurrencyPrice": 436.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": 1,
                                    "TotalPriceDetail": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 2519.5,
                                            "EquivCurrencyPrice": 2519.5
                                        }
                                    },
                                    "Service": [
                                        {
                                            "ServiceID": "SV1",
                                            "PassengerRefs": "ADT1",
                                            "FlightRefs": "Flight2"
                                        }
                                    ],
                                    "FareDetail": {
                                        "PassengerRefs": "ADT1",
                                        "Price": {
                                            "TotalAmount": {
                                                "BookingCurrencyPrice": 2519.5,
                                                "EquivCurrencyPrice": 2519.5
                                            },
                                            "BaseAmount": {
                                                "BookingCurrencyPrice": 2083,
                                                "EquivCurrencyPrice": 2083
                                            },
                                            "TaxAmount": {
                                                "BookingCurrencyPrice": 436.5,
                                                "EquivCurrencyPrice": 436.5
                                            },
                                            "Commission": {
                                                "AgencyCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "AgencyYqCommission": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "BookingFee": {
                                                "BookingCurrencyPrice": 0,
                                                "EquivCurrencyPrice": 0
                                            },
                                            "PortalCharges": {
                                                "Markup": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Surcharge": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                },
                                                "Discount": {
                                                    "BookingCurrencyPrice": 0,
                                                    "EquivCurrencyPrice": 0
                                                }
                                            },
                                            "Taxes": [
                                                {
                                                    "TaxCode": "YQ",
                                                    "BookingCurrencyPrice": 199.3,
                                                    "EquivCurrencyPrice": 199.3
                                                },
                                                {
                                                    "TaxCode": "GB",
                                                    "BookingCurrencyPrice": 144.5,
                                                    "EquivCurrencyPrice": 144.5
                                                },
                                                {
                                                    "TaxCode": "UB",
                                                    "BookingCurrencyPrice": 92.7,
                                                    "EquivCurrencyPrice": 92.7
                                                }
                                            ]
                                        }
                                    },
                                    "FareComponent": [
                                        {
                                            "PriceClassRef": "PCR_2",
                                            "SegmentRefs": "Segment3",
                                            "FareBasis": {
                                                "FareBasisCode": {
                                                    "Refs": "FG_2",
                                                    "Code": "BFFBOWW"
                                                },
                                                "RBD": "B",
                                                "CabinType": "Y",
                                                "SeatLeft": "9"
                                            }
                                        }
                                    ]
                                }
                            ],
                            "BaggageAllowance": [
                                {
                                    "SegmentRefs": "Segment3",
                                    "PassengerRefs": "T1",
                                    "BaggageAllowanceRef": "Bag2"
                                }
                            ],
                            "SplitPaymentInfo": [
                                {
                                    "AirItineraryId": "3296198711679568794213930569",
                                    "MultipleFop": "N",
                                    "MaxCardsPerPax": 0,
                                    "MaxCardsPerPaxInMFOP": 0
                                }
                            ],
                            "BookingToEquivExRate": 1,
                            "FopRef": "FOP_1341_0_1987_0_ALL_PUB"
                        }
                    ]
                }
            ]
        },
        "DataLists": {
            "PassengerList": {
                "Passengers": [
                    {
                        "PassengerID": "T1",
                        "PTC": "ADT"
                    }
                ]
            },
            "DisclosureList": {
                "Disclosures": []
            },
            "FareList": {
                "FareGroup": [
                    {
                        "FareGroupRef": "FG_1",
                        "FareCode": "749",
                        "FareBasisCode": "TLW79RMZ/AU330"
                    },
                    {
                        "FareGroupRef": "FG_2",
                        "FareCode": "70J",
                        "FareBasisCode": "BFFBOWW"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "YYZ",
                            "Date": "2023-04-14",
                            "Time": "14:55:00",
                            "AirportName": "Lester B. Pearson International Airport",
                            "Terminal": {
                                "Name": "3"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "LGA",
                            "Date": "2023-04-14",
                            "Time": "16:45:00",
                            "AirportName": "La Guardia Airport",
                            "Terminal": {
                                "Name": "C"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "DL",
                            "Name": "Delta Air Lines",
                            "FlightNumber": "4900"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "DL",
                            "Name": "ENDEAVOR AIR DBA DELTA CONNECTION",
                            "FlightNumber": "4900"
                        },
                        "Equipment": {
                            "AircraftCode": "CR9",
                            "Name": "Canadair Regional Jet 900"
                        },
                        "Code": {
                            "MarriageGroup": "O"
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "1 H 50 M"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 0
                        },
                        "BrandId": ""
                    },
                    {
                        "SegmentKey": "Segment2",
                        "Departure": {
                            "AirportCode": "JFK",
                            "Date": "2023-04-14",
                            "Time": "20:00:00",
                            "AirportName": "John F Kennedy International Airport",
                            "Terminal": {
                                "Name": "4"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "LHR",
                            "Date": "2023-04-15",
                            "Time": "08:05:00",
                            "AirportName": "London Heathrow Airport",
                            "Terminal": {
                                "Name": "3"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "DL",
                            "Name": "Delta Air Lines",
                            "FlightNumber": "1"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "DL",
                            "Name": "Delta Air Lines",
                            "FlightNumber": "1"
                        },
                        "Equipment": {
                            "AircraftCode": "764",
                            "Name": "Boeing 767-400 pax"
                        },
                        "Code": {
                            "MarriageGroup": "O"
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "7 H 5 M"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 0
                        },
                        "BrandId": "REFMAIN"
                    },
                    {
                        "SegmentKey": "Segment3",
                        "Departure": {
                            "AirportCode": "LHR",
                            "Date": "2023-04-24",
                            "Time": "08:30:00",
                            "AirportName": "London Heathrow Airport",
                            "Terminal": {
                                "Name": "2"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "YYZ",
                            "Date": "2023-04-24",
                            "Time": "11:15:00",
                            "AirportName": "Lester B. Pearson International Airport",
                            "Terminal": {
                                "Name": "1"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "853"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "AC",
                            "Name": "Air Canada",
                            "FlightNumber": "853"
                        },
                        "Equipment": {
                            "AircraftCode": "789",
                            "Name": "789"
                        },
                        "Code": {
                            "MarriageGroup": "O"
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "7 H 45 M"
                            },
                            "Stops": {
                                "Value": 0
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 0
                        },
                        "BrandId": "LATITUDE"
                    }
                ]
            },
            "FlightList": {
                "Flight": [
                    {
                        "FlightKey": "Flight1",
                        "Journey": {
                            "Time": "12 H 10 M",
                            "Stops": 1
                        },
                        "SegmentReferences": "Segment1 Segment2"
                    },
                    {
                        "FlightKey": "Flight2",
                        "Journey": {
                            "Time": "7 H 45 M",
                            "Stops": 0
                        },
                        "SegmentReferences": "Segment3"
                    }
                ]
            },
            "OriginDestinationList": {
                "OriginDestination": [
                    {
                        "OriginDestinationKey": "OD1",
                        "DepartureCode": "YYZ",
                        "ArrivalCode": "LHR",
                        "FlightReferences": "Flight1"
                    },
                    {
                        "OriginDestinationKey": "OD2",
                        "DepartureCode": "LHR",
                        "ArrivalCode": "YYZ",
                        "FlightReferences": "Flight2"
                    }
                ]
            },
            "PriceClassList": {
                "PriceClass": [
                    {
                        "PriceClassID": "PCR_1",
                        "Name": "Refundable main cabin",
                        "Code": "Refundable main cabin",
                        "Descriptions": {
                            "Description": [
                                {
                                    "Code": "BG2",
                                    "Type": "C",
                                    "Text": "SECOND BAG 23K50LB 62LI 158LCM"
                                },
                                {
                                    "Code": "0B5",
                                    "Type": "F",
                                    "Text": "PRE RESERVED SEAT ASSIGNMENT"
                                },
                                {
                                    "Code": "0AT",
                                    "Type": "F",
                                    "Text": "SNACK"
                                },
                                {
                                    "Code": "0AV",
                                    "Type": "C",
                                    "Text": "ALCOHOLIC DRINK"
                                },
                                {
                                    "Code": "03P",
                                    "Type": "N",
                                    "Text": "PRIORITY CHECK IN"
                                },
                                {
                                    "Code": "0G6",
                                    "Type": "N",
                                    "Text": "PRIORITY BOARDING"
                                },
                                {
                                    "Code": "056",
                                    "Type": "F",
                                    "Text": "REFUNDABLE TICKET"
                                }
                            ]
                        }
                    },
                    {
                        "PriceClassID": "PCR_2",
                        "Name": "Latitude",
                        "Code": "Latitude",
                        "Descriptions": {
                            "Description": [
                                {
                                    "Code": "0B3",
                                    "Type": "N",
                                    "Text": "MEAL"
                                },
                                {
                                    "Code": "CML",
                                    "Type": "F",
                                    "Text": "COMPLIMENTARY MEAL"
                                },
                                {
                                    "Code": "03P",
                                    "Type": "F",
                                    "Text": "PRIORITY CHECK IN"
                                },
                                {
                                    "Code": "050",
                                    "Type": "F",
                                    "Text": "BASIC SEAT"
                                },
                                {
                                    "Code": "056",
                                    "Type": "F",
                                    "Text": "REFUNDABLE TICKET"
                                },
                                {
                                    "Code": "059",
                                    "Type": "F",
                                    "Text": "CHANGEABLE TICKET"
                                },
                                {
                                    "Code": "05Z",
                                    "Type": "F",
                                    "Text": "PREMIUM SEAT"
                                }
                            ]
                        }
                    }
                ]
            },
            "BaggageAllowanceList": {
                "BaggageAllowance": [
                    {
                        "BaggageAllowanceID": "Bag1",
                        "BaggageCategory": "Checked",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CHECKED ALLOWANCE"
                        },
                        "PieceAllowance": {
                            "ApplicableParty": "Traveler",
                            "TotalQuantity": "1",
                            "Unit": "Pieces"
                        }
                    },
                    {
                        "BaggageAllowanceID": "Bag2",
                        "BaggageCategory": "Checked",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CHECKED 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
                            },
                            "JC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "DC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "DUS": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "MA": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "DS": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "TP": {
                                "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": "N",
                        "Types": {}
                    },
                    "CHEQUE": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "ACH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "PG": {
                        "Allowed": "N",
                        "Types": {}
                    },
                    "FopKey": "FOP_1341_0_1987_0_ALL_PRI"
                },
                {
                    "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
                            },
                            "JC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "DC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "DUS": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "MA": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "DS": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0
                            },
                            "TP": {
                                "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": "N",
                        "Types": {}
                    },
                    "CHEQUE": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "ACH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "PG": {
                        "Allowed": "N",
                        "Types": {}
                    },
                    "FopKey": "FOP_1341_0_1987_0_ALL_PUB"
                }
            ]
        },
        "MetaData": {}
    }
}

Try it out!