AirOrderRePrice

The AirOrderRePrice is used to reprice the specific travel itinerary that allows the user to recalculate the price for a preferred offer for a flight booking.

This returns the Response with total price for the selected itinerary, including taxes, fees, or other charges associated with the booking.

This endpoint requires certain information to be provided,like shopping Response Id, offer Id, and passenger details which may include the passengers name, passengers Id, and the Document Number

As it provides customers with accurate and up-to-date pricing information for their travel plans.

Schema

  • Name: Provide the name for the request. This is a String value.
  • ReferenceVersion: Provide the version number. This is a Numeric value.

This is an optional field.

  • 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.

The Shopping Response ID is a unique identifier that is generated when a customer performs a search for flights and receives a list of available options.

This is the required field and the value will be Numeric.


  • Reshop:

    • OfferID: When a customer performs a search for flights, the airline generates a list of available offers that meet the customer’s search criteria. Each offer within that list is assigned a unique OfferID.It is important to provide the correct numeric value to ensure that the system can identify the correct offer.This is the required field, and the value will be Numeric.

  • Passenger: This is an Array.

    Note: This is a required field. The passenger list must have at least one adult. Infant object count should be less than or equal to the adult count. More than nine passengers are not accepted.

    • PassengerID: Provide the passenger ID for the request. This is a String value.

    • PTC: Provide the passenger type. Valid values are ADT, CHD, and INF. This is a String value.

    • NameTitle: Provide the title of the name. Valid values are Mrs, Miss, Ms, and Mstr. This is a String value.

    • FirstName: Provide the first name. This is a String value.

    • MiddleName: Provide the middle name. This is a String value.

    • LastName: Provide the last name. This is a String value.

    • DocumentNumber: This is the unique passenger’s identification number received at the time of ticketing response. It is a required field, and the value will be the String.


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

ReshopOffer

  • OfferID: Unique identifier for the Air Itinerary.

  • Owner: Airline code of the offer provider.

  • OwnerName: Airline name.

  • TicketType: Type of ticket (e.g., Single, Round-trip).

  • IsBrandedFare: Indicates if the fare is part of a branded fare category.

  • BrandedFareOptions - List of branded fare options available for the booking (Array).

  • Eticket: Specifies if the ticket is electronic.

  • AllowHold: Indicates if the booking can be put on hold.

  • TimeLimits: Defines expiration times for the offer.

    • OfferExpirationDateTime: Time when the offer expires.
    • PaymentExpirationDateTime: Deadline for payment.
  • PassportRequired: Specifies if a passport is needed for booking.

  • BookingCurrencyCode: Currency code used for booking.

  • EquivCurrencyCode : Requested Currency code for booking.

  • BookingFeeInfo : Additional transaction fees.

    • FeeType : Type of the transaction fee applied.
    • BookingCurrencyPrice: BookingFee Amount in the booking currency.
    • EquivCurrencyPrice: BookingFee Amount in the equivalent currency.
  • TotalPrice: Total price breakdown(Base+Tax).

    • BookingCurrencyPrice: Total price in the booking currency.
    • EquivCurrencyPrice: Total price in the equivalent currency.
  • BasePrice: Base fare excluding taxes.

    • BookingCurrencyPrice: Base price in the booking currency.
    • EquivCurrencyPrice: Base price in the equivalent currency.
  • TaxPrice: Tax fare from the airline - BookingCurrencyPrice: Tax price in the booking currency.

    • EquivCurrencyPrice: Tax price in the equivalent currency.
  • Commission: Commission details.

    • AgencyCommission : The commission given for the agency
      • BookingCurrencyPrice:Commission in the booking currency.
      • EquivCurrencyPrice: Commission in the equivalent currency.
    • AgencyYqCommission : : The commission given for the YQ tax fare.
      • BookingCurrencyPrice: Commission in the booking currency.
      • EquivCurrencyPrice: Commission in the equivalent currency.
  • PortalCharges : Defines additional charges applied to the booking(Portal level).

    • Markup: Extra charges added to the booking..
      • BookingCurrencyPrice: Markup amount in the booking currency.
      • EquivCurrencyPrice: Markup amount in the equivalent currency.
    • Surcharge: Additional service fees.
      • BookingCurrencyPrice: Surcharge in the booking currency.
      • EquivCurrencyPrice:Surcharge in the equivalent currency.
    • Discount: Reduction in ticket price, either as a percentage or fixed amount.
      • BookingCurrencyPrice: Discount Amount in the booking currency.
      • EquivCurrencyPrice: Discount Amount in the equivalent currency.
  • ReshopDifferential - Contains details of fare differences when reshopping a booking.

    • Original Order - The amount received in booking.

      • TotalPrice - Total price of the original order.
        • BookingCurrencyPrice - Total price in the booking currency.
        • EquivCurrencyPrice - Total price in the equivalent currency.
      • BasePrice - Base fare of the original order.
        • BookingCurrencyPrice - Base fare in the booking currency.
        • EquivCurrencyPrice - Base fare in the equivalent currency.
      • TaxPrice - Taxes applicable to the original order.
        • BookingCurrencyPrice - Tax amount in the booking currency.
        • EquivCurrencyPrice - Tax amount in the equivalent currency.
    • New Offer - The amount received in Reschedule.

      • TotalPrice - Total price of the new offer.
        • BookingCurrencyPrice - Total price in the booking currency.
        • EquivCurrencyPrice - Total price in the equivalent currency.
      • BasePrice - Base fare of the new offer.
        • BookingCurrencyPrice - Base fare in the booking currency.
        • EquivCurrencyPrice - Base fare in the equivalent currency.
      • TaxPrice - Taxes applicable to the new offer.
        • BookingCurrencyPrice - Tax amount in the booking currency.
        • EquivCurrencyPrice - Tax amount in the equivalent currency.
  • Penalty Amount

  • TotalPrice - Penalty amount charged for reshopping.

    • BookingCurrencyPrice - Penalty fee in the booking currency.
    • EquivCurrencyPrice - Penalty fee in the equivalent currency.
  • Reshop Due

  • TotalPrice - Any due amount after reshopping.

    • BookingCurrencyPrice - Amount due in the booking currency.
    • EquivCurrencyPrice - Amount due in the equivalent currency.
  • AddOfferItem: Contains pricing and service details.

    • OfferItemID: Unique identifier for the offer item.
    • Refundable: Indicates whether the offer is refundable (true or false).
    • PassengerType: Passenger type (e.g., ADT for adult, CHD for child).
    • PassengerQuantity: Number of passengers for this offer.
    • TotalPriceDetail: Contains total price details of the offer.
      • TotalAmount: Total amount including all charges.
        • BookingCurrencyPrice: Price in booking currency.
        • EquivCurrencyPrice: Price in equivalent currency.
    • Service: List of additional services linked to the offer.
      • ServiceID: Unique identifier for the service.
      • PassengerRefs: References the passenger receiving the service.
      • FlightRefs: References the flight linked to this service.where you can find the flight details from the FlightList by mapping this FlightRefs Key.
  • FareDetail: Contains price breakdown, taxes, and commissions.

    • PassengerRefs: References the passenger for the fare details.
    • Price: Price details.
      • TotalAmount: Total amount including all charges.
        • BookingCurrencyPrice: Price in booking currency.
        • EquivCurrencyPrice: Price in equivalent currency.
      • BaseAmount: The base fare price.
        • BookingCurrencyPrice: Price in booking currency.
        • EquivCurrencyPrice: Price in equivalent currency.
      • TaxAmount: Total taxes applied.
        • BookingCurrencyPrice: Tax price in booking currency.
        • EquivCurrencyPrice: Tax price in equivalent currency.
      • Commission: Commission details.
        • AgencyCommission: Agency Commission details.
          • BookingCurrencyPrice: Commission amount in booking currency.
          • EquivCurrencyPrice: Commission amount in equivalent currency.
        • AgencyYqCommission: Additional agency commission.
          • BookingCurrencyPrice: Commission amount in booking currency.
          • EquivCurrencyPrice: Commission amount in equivalent currency.
      • BookingFee: Additional transaction fees.
        • BookingCurrencyPrice: Fee amount in booking currency.
        • EquivCurrencyPrice: Fee amount in equivalent currency.
      • PortalCharges: Defines additional charges applied to the booking(portal level).
        • Markup: Extra charges added to the booking.
          • BookingCurrencyPrice: Markup amount in booking currency.
          • EquivCurrencyPrice: Markup amount in equivalent currency.
        • Surcharge: Additional service fees.
          • BookingCurrencyPrice: Surcharge amount in booking currency.
          • EquivCurrencyPrice: Surcharge amount in equivalent currency.
        • Discount: Price reductions applied.
          • BookingCurrencyPrice: Discount amount in booking currency.
          • EquivCurrencyPrice: Discount amount in equivalent currency.
  • Taxes: List of individual taxes applied.

    • TaxCode: Code identifying the type of tax.
    • BookingCurrencyPrice: Tax amount in booking currency.
    • EquivCurrencyPrice: Tax amount in equivalent currency.
  • ReshopDifferential - Contains details of fare differences when reshopping a booking.

    • Original Order - The amount received in booking.

      • TotalPrice - Total price of the original order.
        • BookingCurrencyPrice - Total price in the booking currency.
        • EquivCurrencyPrice - Total price in the equivalent currency.
      • BasePrice - Base fare of the original order.
        • BookingCurrencyPrice - Base fare in the booking currency.
        • EquivCurrencyPrice - Base fare in the equivalent currency.
      • TaxPrice - Taxes applicable to the original order.
        • BookingCurrencyPrice - Tax amount in the booking currency.
        • EquivCurrencyPrice - Tax amount in the equivalent currency.
    • New Offer - The amount received in Reschedule.

      • TotalPrice - Total price of the new offer.
        • BookingCurrencyPrice - Total price in the booking currency.
        • EquivCurrencyPrice - Total price in the equivalent currency.
      • BasePrice - Base fare of the new offer.
        • BookingCurrencyPrice - Base fare in the booking currency.
        • EquivCurrencyPrice - Base fare in the equivalent currency.
      • TaxPrice - Taxes applicable to the new offer.
        • BookingCurrencyPrice - Tax amount in the booking currency.
        • EquivCurrencyPrice - Tax amount in the equivalent currency.
  • Penalty Amount

  • TotalPrice - Penalty amount charged for reshopping.

    • BookingCurrencyPrice - Penalty fee in the booking currency.
    • EquivCurrencyPrice - Penalty fee in the equivalent currency.
  • Reshop Due

  • TotalPrice - Any due amount after reshopping.

    • BookingCurrencyPrice - Amount due in the booking currency.
    • EquivCurrencyPrice - Amount due in the equivalent currency.
  • FareComponent: Describes the fare class, booking class, and cabin type for each segment.

    • PriceClassRef: References the price class.
    • SegmentRefs: References flight segments.
    • FareBasis: Details about fare basis codes
      • FareBasisCode: Code representing the fare basis.
        • Refs: Reference codes. where you can see the details in FareList by mapping this code
        • Code: Fare basis code for each code.
      • RBD: Reservation booking designator.This code is used to identify the specific booking class of a flight
      • CabinType: Cabin class (e.g., Y: ECONOMY, S: PREM ECONOMY, C: BUSINESS, D: PREMBUSINESS, F: FIRSTCLASS, and P: PREMFIRSTCLASS).
      • SeatLeft: Number of available seats.
  • BaggageAllowance: Information on baggage policies.

    • SegmentRefs: A space-separated string containing references to the segments this baggage allowance applies to.
    • PassengerRefs: The reference to the passenger(s) eligible for this baggage allowance.
    • BaggageAllowanceRef : A unique reference linking to the baggage policy details.
  • SplitPaymentInfo: Details on multi-payment options.

    • AirItineraryId: Unique identifier for the air itinerary.
    • MultipleFop: Indicates if multiple forms of payment (MFOP) are allowed.
    • "Y": Multiple payment methods are allowed.
    • "N": Only a single payment method is permitted.
    • MaxCardsPerPax: The maximum number of cards allowed per passenger.
    • MaxCardsPerPaxInMFOP: The maximum number of cards allowed per passenger when using multiple forms of payment (MFOP).

DataLists

  • PassengerList: Contains passenger details.
    • Passengers: List of passengers.
      • PassengerID: Unique identifier for the passenger.
      • PTC: Passenger type code (e.g., ADT for adult).
      • NameTitle: Title of the passenger (Mr/Ms/etc.).
      • FirstName: First name.
      • MiddleName: Middle name (if any).
      • LastName: Last name.
      • DocumentNumber: The ticket Number of the passenger
  • DisclosureList: Contains disclosures, if any.
  • FareList: Lists fare groups.
    • FareGroup: Group of fare codes.
      • FareGroupRef: Reference to the fare group.
      • FareCode: Code assigned to the fare.
      • FareBasisCode: Basis code for fare rules.
  • FlightSegmentList: Contains a list of flight segments.
    • FlightSegment: Array of individual flight segment details.
      • SegmentKey: Unique identifier for the flight segment.
      • Departure: Contains details of the departure location and time.
        • AirportCode: IATA code of the departure airport.
        • Date: Departure date in YYYY-MM-DD format.
        • Time: Departure time in HH:MM:SS format.
        • AirportName: Full name of the departure airport.
        • Terminal: Terminal details.
          • Name: Terminal number (if applicable).
      • Arrival: Contains details of the arrival location and time.
        • AirportCode: IATA code of the arrival airport.
        • Date: Arrival date in YYYY-MM-DD format.
        • Time: Arrival time in HH:MM:SS format.
        • AirportName: Full name of the arrival airport.
        • Terminal: Terminal details.
          • Name: Terminal name or number (if applicable).
      • MarketingCarrier: The airline that sells the flight.
        • AirlineID: Airline IATA code.
        • Name: Name of the airline.
        • FlightNumber: The flight number assigned by the marketing carrier.
      • OperatingCarrier: The airline that actually operates the flight.
        • AirlineID: Airline IATA code.
        • Name: Name of the airline.
        • FlightNumber: The flight number assigned by the operating carrier.
      • Equipment: Aircraft information.
        • AircraftCode: Aircraft type code.
        • Name: Aircraft model name.
      • Code: Additional flight segment-related codes.
        • MarriageGroup: Grouping information for married flight segments.
      • FlightDetail: Additional flight-related details.
        • FlightDuration: Total flight duration.
          • Value: Duration in HH:MM format.
        • Stops: Number of stops in the flight segment.
          • Value: Number of stops.
        • InterMediate: List of intermediate stops (if applicable).
        • AirMilesFlown: Total miles flown for the segment.
      • BrandId: Brand associated with the flight segment.
      • Amenities: List of amenities available on the flight.
  • FlightList: Lists complete flight journeys.
    • FlightKey: Identifier for the flight.
    • Journey: Total time and number of stops.
    • SegmentReferences: List of segments that form the journey.
  • OriginDestinationList: Defines the travel routes.
    • OriginDestination: Origin and destination pair.
      • OriginDestinationKey: Unique key for the origin-destination pair.
      • DepartureCode: IATA airport code for departure.
      • ArrivalCode: IATA airport code for arrival.
      • FlightReferences: Flights available for this route.
  • PriceClassList: Lists price classes.
    • PriceClass: Defines pricing categories.
      • PriceClassID: Unique identifier for the price class.
      • Name: Name of the price class.
      • Code: Code associated with the price class.
  • BaggageAllowanceList: Contains baggage allowance details.
    • BaggageAllowance: Baggage policy for a segment.
      • BaggageAllowanceID: Unique ID for baggage rule.
      • BaggageCategory: Type of baggage (e.g., Checked).
      • AllowanceDescription: Explanation of baggage allowance.
      • PieceAllowance: Number of baggage pieces allowed.
  • FopList: Lists available forms of payment (FOP).
    • CC: Credit card payment availability.
    • DC: Debit card payment availability.
    • CHEQUE: Cheque payment availability.
    • CASH: Cash payment availability.
    • ACH: Automated Clearing House (bank transfer) payment availability.
    • PG: Payment gateway availability.
    • FopKey: Unique key referencing a payment option.

MetaData

  • MetaData: Additional metadata related to the offer.

Request URL Sample

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

Request Body Sample

{
    "OrderReshopRQ": {
        "Document": {
            "Name": "Skyroute B2B Portal",
            "ReferenceVersion": "1.0"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Skyroute B2B",
                    "IATA_Number": "1111111111",
                    "AgencyID": "1111111111",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "pst@claritytts.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1678942198305539250",
        "Query": {
            "Reshop": {
                "OrderServicing": {
                    "Add": {
                        "Qualifier": {
                            "ExistingOrderQualifier": {
                                "OrderKeys": {
                                    "Offer": [
                                        {
                                            "OfferID": "51832121678942216112638535"
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "DataLists": {
            "PassengerList": {
                "Passenger": [
                    {
                        "PassengerID": "ADT1",
                        "PTC": "ADT",
                        "NameTitle": "Mr",
                        "FirstName": "Ram",
                        "MiddleName": "",
                        "LastName": "Kumar",
                        "DocumentNumber": "8381609825606"
                    }
                ]
            }
        },
        "MetaData": {
            "TraceId": "166901478523"
        }
    }
}

Response Sample

{
    "OrderReshopRS": {
        "Document": {
            "Name": "API GATEWAY",
            "ReferenceVersion": "1.2"
        },
        "Party": {
            "Sender": {
                "TravelAgencySender": {
                    "Name": "Diva Travels",
                    "IATA_Number": "",
                    "AgencyID": "Diva Travels",
                    "Contacts": {
                        "Contact": [
                            {
                                "EmailContact": "pst@claritytts.com"
                            }
                        ]
                    }
                }
            }
        },
        "ShoppingResponseId": "1678942198305539250",
        "OfferResponseId": "1678942308425768025",
        "Success": {},
        "ReshopOffers": [
            {
                "ReshopOffer": [
                    {
                        "OfferID": "51832121678942216112638535",
                        "Owner": "WS",
                        "OwnerName": "Westjet",
                        "BrandedFareOptions": [],
                        "Eticket": "true",
                        "AllowHold": "N",
                        "TimeLimits": {
                            "OfferExpirationDateTime": "2023-03-16T12:22:02",
                            "PaymentExpirationDateTime": "2023-03-16 04:00:00"
                        },
                        "PassportRequired": "N",
                        "BookingCurrencyCode": "CAD",
                        "EquivCurrencyCode": "CAD",
                        "HstPercentage": "",
                        "RewardSettings": {
                            "RewardAvailable": "N",
                            "PointTypes": [],
                            "PointValues": {}
                        },
                        "BookingFeeInfo": {
                            "FeeType": "AIF",
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "TotalPrice": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "BasePrice": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "TaxPrice": {
                            "BookingCurrencyPrice": 0,
                            "EquivCurrencyPrice": 0
                        },
                        "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
                            }
                        },
                        "ReshopDifferential": {
                            "OriginalOrder": {
                                "TotalPrice": {
                                    "BookingCurrencyPrice": 198.5,
                                    "EquivCurrencyPrice": 198.5
                                },
                                "BasePrice": {
                                    "BookingCurrencyPrice": 139.3,
                                    "EquivCurrencyPrice": 139.3
                                },
                                "TaxPrice": {
                                    "BookingCurrencyPrice": 59.2,
                                    "EquivCurrencyPrice": 59.2
                                }
                            },
                            "NewOffer": {
                                "TotalPrice": {
                                    "BookingCurrencyPrice": 198.5,
                                    "EquivCurrencyPrice": 198.5
                                },
                                "BasePrice": {
                                    "BookingCurrencyPrice": 139.3,
                                    "EquivCurrencyPrice": 139.3
                                },
                                "TaxPrice": {
                                    "BookingCurrencyPrice": 59.2,
                                    "EquivCurrencyPrice": 59.2
                                }
                            },
                            "PenaltyAmount": {
                                "TotalPrice": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "ReshopDue": {
                                "TotalPrice": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            }
                        },
                        "AddOfferItem": [
                            {
                                "OfferItemID": "OFFERITEMID1",
                                "Refundable": "false",
                                "PassengerType": "ADT",
                                "PassengerQuantity": 1,
                                "TotalPriceDetail": {
                                    "TotalAmount": {
                                        "BookingCurrencyPrice": 198.5,
                                        "EquivCurrencyPrice": 198.5
                                    }
                                },
                                "Service": [
                                    {
                                        "ServiceID": "SV1",
                                        "PassengerRefs": "ADT1",
                                        "FlightRefs": "Flight1"
                                    }
                                ],
                                "FareDetail": {
                                    "PassengerRefs": "ADT1",
                                    "Price": {
                                        "TotalAmount": {
                                            "BookingCurrencyPrice": 198.5,
                                            "EquivCurrencyPrice": 198.5
                                        },
                                        "BaseAmount": {
                                            "BookingCurrencyPrice": 139.3,
                                            "EquivCurrencyPrice": 139.3
                                        },
                                        "TaxAmount": {
                                            "BookingCurrencyPrice": 59.2,
                                            "EquivCurrencyPrice": 59.2
                                        },
                                        "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": "RC",
                                                "BookingCurrencyPrice": 17.08,
                                                "EquivCurrencyPrice": 17.08
                                            },
                                            {
                                                "TaxCode": "SQ",
                                                "BookingCurrencyPrice": 35,
                                                "EquivCurrencyPrice": 35
                                            },
                                            {
                                                "TaxCode": "CA",
                                                "BookingCurrencyPrice": 7.12,
                                                "EquivCurrencyPrice": 7.12
                                            }
                                        ]
                                    }
                                },
                                "ReshopDifferential": {
                                    "OriginalOrder": {
                                        "TotalPrice": {
                                            "BookingCurrencyPrice": 198.5,
                                            "EquivCurrencyPrice": 198.5
                                        },
                                        "BasePrice": {
                                            "BookingCurrencyPrice": 139.3,
                                            "EquivCurrencyPrice": 139.3
                                        },
                                        "TaxPrice": {
                                            "BookingCurrencyPrice": 59.2,
                                            "EquivCurrencyPrice": 59.2
                                        }
                                    },
                                    "NewOffer": {
                                        "TotalPrice": {
                                            "BookingCurrencyPrice": 198.5,
                                            "EquivCurrencyPrice": 198.5
                                        },
                                        "BasePrice": {
                                            "BookingCurrencyPrice": 139.3,
                                            "EquivCurrencyPrice": 139.3
                                        },
                                        "TaxPrice": {
                                            "BookingCurrencyPrice": 59.2,
                                            "EquivCurrencyPrice": 59.2
                                        }
                                    },
                                    "PenaltyAmount": {
                                        "TotalPrice": {
                                            "BookingCurrencyPrice": 0,
                                            "EquivCurrencyPrice": 0
                                        }
                                    },
                                    "ReshopDue": {
                                        "TotalPrice": {
                                            "BookingCurrencyPrice": 0,
                                            "EquivCurrencyPrice": 0
                                        }
                                    }
                                },
                                "FareComponent": [
                                    {
                                        "PriceClassRef": "PCR_1",
                                        "SegmentRefs": "Segment1",
                                        "FareBasis": {
                                            "FareBasisCode": {
                                                "Refs": "FG_1",
                                                "Code": "ACUD0ZBI/CLO"
                                            },
                                            "RBD": "A",
                                            "CabinType": "Y",
                                            "SeatLeft": "1"
                                        }
                                    }
                                ]
                            }
                        ],
                        "BaggageAllowance": [
                            {
                                "SegmentRefs": "Segment1",
                                "PassengerRefs": "ADT1",
                                "BaggageAllowanceRef": "Bag1"
                            }
                        ],
                        "SplitPaymentInfo": [
                            {
                                "AirItineraryId": "51832121678942216112638535",
                                "MultipleFop": "N",
                                "MaxCardsPerPax": 0,
                                "MaxCardsPerPaxInMFOP": 0
                            }
                        ],
                        "BookingToEquivExRate": 1,
                        "FopRef": "FOP_124_0_321_0_ALL_PRI"
                    }
                ]
            }
        ],
        "DataLists": {
            "PassengerList": {
                "Passengers": [
                    {
                        "PassengerID": "ADT1",
                        "PTC": "ADT",
                        "NameTitle": "Mr",
                        "FirstName": "Ram",
                        "MiddleName": "",
                        "LastName": "Kumar",
                        "DocumentNumber": "8381609825606"
                    }
                ]
            },
            "DisclosureList": {
                "Disclosures": []
            },
            "FareList": {
                "FareGroup": [
                    {
                        "FareGroupRef": "FG_1",
                        "FareCode": "749",
                        "FareBasisCode": "ACUD0ZBI/CLO"
                    }
                ]
            },
            "FlightSegmentList": {
                "FlightSegment": [
                    {
                        "SegmentKey": "Segment1",
                        "Departure": {
                            "AirportCode": "YYZ",
                            "Date": "2023-06-10",
                            "Time": "16:00:00",
                            "AirportName": "Lester B. Pearson International Airport",
                            "Terminal": {
                                "Name": "3"
                            }
                        },
                        "Arrival": {
                            "AirportCode": "YVR",
                            "Date": "2023-06-10",
                            "Time": "18:00:00",
                            "AirportName": "Vancouver International Airport",
                            "Terminal": {
                                "Name": "M"
                            }
                        },
                        "MarketingCarrier": {
                            "AirlineID": "WS",
                            "Name": "Westjet",
                            "FlightNumber": "719"
                        },
                        "OperatingCarrier": {
                            "AirlineID": "WS",
                            "Name": "Westjet",
                            "FlightNumber": "719"
                        },
                        "Equipment": {
                            "AircraftCode": "73H",
                            "Name": "Boeing 737-800 (winglets) pax"
                        },
                        "Code": {
                            "MarriageGroup": "O"
                        },
                        "FlightDetail": {
                            "FlightDuration": {
                                "Value": "5 H 0 M"
                            },
                            "Stops": {
                                "Value": "0"
                            },
                            "InterMediate": [],
                            "AirMilesFlown": 0
                        },
                        "BrandId": ""
                    }
                ]
            },
            "FlightList": {
                "Flight": [
                    {
                        "FlightKey": "Flight1",
                        "Journey": {
                            "Time": "5 H 0 M",
                            "Stops": 0
                        },
                        "SegmentReferences": "Segment1"
                    }
                ]
            },
            "OriginDestinationList": {
                "OriginDestination": [
                    {
                        "OriginDestinationKey": "OD1",
                        "DepartureCode": "YYZ",
                        "ArrivalCode": "YVR",
                        "FlightReferences": "Flight1"
                    }
                ]
            },
            "PriceClassList": {
                "PriceClass": [
                    {
                        "PriceClassID": "PCR_1",
                        "Name": "",
                        "Code": "",
                        "Descriptions": {
                            "Description": []
                        }
                    }
                ]
            },
            "BaggageAllowanceList": {
                "BaggageAllowance": [
                    {
                        "BaggageAllowanceID": "Bag1",
                        "BaggageCategory": "Checked",
                        "AllowanceDescription": {
                            "ApplicableParty": "Traveler",
                            "Description": "CHECKED ALLOWANCE"
                        },
                        "PieceAllowance": {
                            "ApplicableParty": "Traveler",
                            "TotalQuantity": "0",
                            "Unit": "Kg"
                        }
                    }
                ]
            },
            "FopList": [
                {
                    "CC": {
                        "Allowed": "Y",
                        "Types": {
                            "AX": {
                                "F": {
                                    "BookingCurrencyPrice": "10",
                                    "EquivCurrencyPrice": "10"
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 10,
                                    "EquivCurrencyPrice": 10
                                }
                            },
                            "MC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "VI": {
                                "F": {
                                    "BookingCurrencyPrice": "2",
                                    "EquivCurrencyPrice": "2"
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 2,
                                    "EquivCurrencyPrice": 2
                                }
                            },
                            "JC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "DC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "DUS": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "MA": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "DS": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "TP": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            }
                        }
                    },
                    "DC": {
                        "Allowed": "Y",
                        "Types": {
                            "MC": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "VI": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            },
                            "RU": {
                                "F": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                },
                                "P": 0,
                                "Charges": {
                                    "BookingCurrencyPrice": 0,
                                    "EquivCurrencyPrice": 0
                                }
                            }
                        }
                    },
                    "CASH": {
                        "Allowed": "N",
                        "Types": {}
                    },
                    "CHEQUE": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "ACH": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "PG": {
                        "Allowed": "Y",
                        "Types": {}
                    },
                    "FopKey": "FOP_124_0_321_0_ALL_PRI"
                }
            ]
        },
        "MetaData": {}
    }
}

Try it out!