Skip Navigation

Calculating Baggage Charges Outside of the Digital Connect Check-In Session

A price baggage API, the /dcci/baggage/price/stateless service, can be used outside of the Passenger details flow. This standalone API does not require any previous calls to other Digital Connect Check-In APIs, and it can start the flow instead if requested. Its response model is the same as for the current price baggage API.

Notes   

  • The search criteria are almost the same as in the /dcci/passenger/details service (PnrLocator, EmailAddress, DepartureAirport, ArrivalAirport, DepartureDate, Airline, FlightNumber, PassengerIdentification, PhoneNumber).
  • The Segment in the request is required only in the flow without a reservation creation (initializeSession and returnSession are set to 'false') or when the shortcheck is requested. In other cases, it is not needed and should not be sent in the request.

Request Options

There are no dedicated configuration keys for this service. However, there are two flags in the request:

  • initializeSession
     

    It determines whether the session should be initialized or not. If initialized, the next steps after pricing (booking, etc.) are available.

  • returnSession
     

    It determines whether the reservation would be returned in the response or not.

Request Validation

  • When both initializeSession and returnSession flags in the request are 'false' (both are false by default), then some data in the request is required and validated:

    • The segments are required
      When not sent, the "Segments list is empty" message is returned.

    • At least one Passenger should have baggage
       

      When no bags are found, the 'Baggage to price not provided' message is returned.

    • All non-infant Passengers should have checkInPassengerId or nameAssociationId
       

      When none of the requested Passengers have the data mentioned, then the 'Name Association IDs or check in Passenger IDs should be provided for all non-infant Passengers' message is returned.

    • All the requested Passengers should have [nameAssociationId] or [firstName and lastName] provided
       

      When any of the Passengers do not have the data mentioned, then the 'Name Association Id or first name and last name should be provided for each Passenger' message is returned.

  • If any of the described cases occurs, the RequestValidationException is returned with the message in the following format:

    '
    Following data have been not provided: " + proper messages joined with " |'

    Example:
    'Following data have been not provided: Baggage to price not provided | Name Association Id or first name and last name should be provided for each Passenger.

Samples

  • Scenario 1

The session is not initialized, and the reservation is not returned.

/dcci/baggage/price/stateless service

Request: HTTP POST

{
  "searchCriteria" : {
    "pnrLocator" : {
      "value" : "DIAOIE",
      "strict" : false
    }
  },
  "passengers" : [ {
    "criteria" : {
      "id" : "p1",
      "firstName" : "FRANKLIN",
      "lastName" : "MITCHELL",
      "nameAssociationId" : "1"
    },
    "baggage" : [ {
      "id" : "B1",
      "weight" : {
        "value" : 22,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B2",
      "weight" : {
        "value" : 17,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B3",
      "weight" : {
        "value" : 19,
        "unit" : "KILOGRAM"
      }
    } ],
    "id" : "p01.01i"
  } ],
  "segments" : [ {
    "departureAirport" : "BAH",
    "arrivalAirport" : "AUH",
    "departureTime" : "2019-12-03T22:45:00+03:00",
    "arrivalTime" : "2019-12-04T00:55:00+04:00",
    "airline" : "EY",
    "operatingAirline" : "EY",
    "flightNumber" : "372",
    "operatingFlightNumber" : "372",
    "bookingClass" : "Y",
    "id" : "s1"
  }, {
    "departureAirport" : "AUH",
    "arrivalAirport" : "FCO",
    "departureTime" : "2019-12-04T09:15:00+04:00",
    "arrivalTime" : "2019-12-04T13:05:00+01:00",
    "airline" : "EY",
    "operatingAirline" : "EY",
    "flightNumber" : "83",
    "operatingFlightNumber" : "83",
    "bookingClass" : "Y",
    "id" : "s2"
  } ],
  "currency" : "AED",
  "initializeSession" : false,
  "returnSession" : false
}

Response

{
  "calculationType" : "TOTAL_WEIGHT",
  "priceBaggagePassenger" : [ {
    "id" : "p01.01i",
    "ticketNumber" : {
      "number" : "6072139134332"
    },
    "passenger" : {
      "id" : "p1",
      "type" : {
        "value" : "ADULT"
      },
      "passengerIdentifier" : {
        "nameNumber" : "01.01",
        "nameAssociationId" : "1"
      },
      "personName" : {
        "first" : "FRANKLIN MR",
        "last" : "MITCHELL"
      }
    },
    "passengerSegment" : [ {
      "segmentRef" : "s1",
      "specialServiceCodes" : [ "INFT", "TKNE", "TKNE" ]
    }, {
      "segmentRef" : "s2",
      "specialServiceCodes" : [ "INFT", "TKNE", "TKNE" ]
    } ],
    "baggage" : [ {
      "id" : "B1",
      "weight" : {
        "value" : 22,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B2",
      "weight" : {
        "value" : 17,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B3",
      "weight" : {
        "value" : 19,
        "unit" : "KILOGRAM"
      }
    } ]
  } ],
  "passengerBaggagePricings" : {
    "passengerBaggagePricing" : [ {
      "id" : "pbPricing1",
      "baggageAllowanceDefinition" : [ {
        "id" : "bad1",
        "totalWeight" : [ {
          "value" : 35,
          "unit" : "KILOGRAM"
        }, {
          "value" : 77,
          "unit" : "POUND"
        } ],
        "pricedAncillaryRef" : "pricedAnc1",
        "allowanceSource" : "OPTIONAL_SERVICES"
      }, {
        "id" : "bad2",
        "totalWeight" : [ {
          "value" : 10,
          "unit" : "KILOGRAM"
        }, {
          "value" : 22,
          "unit" : "POUND"
        } ],
        "entitlementDetails" : {
          "ruleId" : "914301"
        },
        "allowanceSource" : "ENTITLEMENTS"
      } ],
      "baggagePricing" : [ {
        "id" : "bp1",
        "baggageRef" : "B1",
        "baggageCharges" : {
          "baggageCharge" : [ {
            "id" : "charge1",
            "requiredCharge" : {
              "totalAncillaryFee" : {
                "unavailable" : false,
                "taxesIncludedInBase" : false,
                "taxExempt" : false,
                "totalFee" : [ {
                  "total" : {
                    "equivAmount" : {
                      "value" : 1300,
                      "currency" : "AED"
                    }
                  },
                  "base" : {
                    "amount" : {
                      "value" : 325.0,
                      "currency" : "USD"
                    },
                    "equivAmount" : {
                      "value" : 1300,
                      "currency" : "AED"
                    }
                  },
                  "discountCalculationRule" : "WITHOUT_DISCOUNTS"
                } ],
                "base" : {
                  "amount" : {
                    "value" : 25.0,
                    "currency" : "USD"
                  },
                  "equivAmount" : {
                    "value" : 100,
                    "currency" : "AED"
                  }
                }
              },
              "pricedAncillaryRef" : "pricedAnc2",
              "quantity" : 13
            },
            "baggageChargeReason" : {
              "weight" : {
                "value" : 13,
                "unit" : "KILOGRAM"
              },
              "type" : "EXCESS_TOTAL_WEIGHT"
            },
            "segmentRefs" : [ "s1", "s2" ],
            "baggageRestriction" : {
              "occurrenceLimit" : {
                "first" : -1,
                "last" : -1
              }
            }
          } ]
        }
      }, {
        "id" : "bp2",
        "baggageRef" : "B2"
      }, {
        "id" : "bp3",
        "baggageRef" : "B3"
      } ],
      "passengerRef" : "p01.01i"
    } ]
  },
  "ancillaries" : {
    "ancillary" : [ {
      "id" : "ancillary_35",
      "group" : "BG",
      "reasonForIssuance" : {
        "value" : "BAGGAGE",
        "code" : "C"
      },
      "commercialName" : "WEIGHT SYSTEM CHARGE",
      "airline" : "EY",
      "specialService" : {
        "code" : "ASVC",
        "type" : "NOTALLOWED"
      },
      "vendor" : "ATP",
      "electronicMiscDocType" : {
        "value" : "FLIGHT_COUPON_ASSOCIATED",
        "code" : "2"
      },
      "bookingMethod" : {
        "value" : "SPECIAL_SERVICE_REQUEST",
        "code" : "01"
      },
      "weight" : [ {
        "value" : 13,
        "unit" : "KILOGRAM"
      }, {
        "value" : 29,
        "unit" : "POUND"
      } ],
      "ancillaryRules" : {
        "refundable" : false,
        "exchangeable" : true,
        "commissionable" : false,
        "interlineable" : true,
        "feeApplicationMethod" : {
          "value" : "PER_1KG_OVER_FREE_BAGGAGE_ALLOWANCE",
          "code" : "K"
        },
        "paperTicketRequired" : false
      },
      "serviceType" : {
        "value" : "CHARGES",
        "code" : "C"
      },
      "subCode" : "0DG"
    }, {
      "id" : "ancillary_34",
      "group" : "BG",
      "reasonForIssuance" : {
        "value" : "BAGGAGE",
        "code" : "C"
      },
      "commercialName" : "FREE BAGGAGE ALLOWANCE",
      "airline" : "EY",
      "vendor" : "ATP",
      "electronicMiscDocType" : {
        "value" : "FLIGHT_COUPON_ASSOCIATED",
        "code" : "2"
      },
      "bookingMethod" : {
        "value" : "ANY_ALLOWED",
        "code" : "BL"
      },
      "ancillaryRules" : {
        "refundable" : false,
        "exchangeable" : false,
        "paperTicketRequired" : false
      },
      "serviceType" : {
        "value" : "BAGGAGE_ALLOWANCE",
        "code" : "A"
      },
      "subCode" : "0DF"
    } ]
  },
  "pricedAncillaries" : {
    "id" : "pricedAncillaries1",
    "pricedAncillary" : [ {
      "id" : "pricedAnc2",
      "pricingLevel" : "PORTION",
      "ancillaryFee" : {
        "unavailable" : false,
        "taxesIncludedInBase" : false,
        "taxExempt" : false,
        "totalFee" : [ {
          "total" : {
            "equivAmount" : {
              "value" : 100,
              "currency" : "AED"
            }
          },
          "base" : {
            "amount" : {
              "value" : 25.0,
              "currency" : "USD"
            },
            "equivAmount" : {
              "value" : 100,
              "currency" : "AED"
            }
          },
          "discountCalculationRule" : "WITHOUT_DISCOUNTS"
        } ],
        "base" : {
          "amount" : {
            "value" : 25.0,
            "currency" : "USD"
          },
          "equivAmount" : {
            "value" : 100,
            "currency" : "AED"
          }
        }
      },
      "ancillaryPurchaseRules" : {
        "availableSince" : "1980-01-01",
        "availableUntil" : "9999-12-31"
      },
      "ancillaryRef" : "ancillary_35"
    }, {
      "id" : "pricedAnc1",
      "pricingLevel" : "PORTION",
      "ancillaryFee" : {
        "unavailable" : false,
        "taxesIncludedInBase" : false,
        "taxExempt" : false,
        "totalFee" : [ {
          "total" : {
            "equivAmount" : {
              "value" : 0,
              "currency" : "AED"
            }
          },
          "base" : {
            "amount" : {
              "value" : 0,
              "currency" : "AED"
            },
            "equivAmount" : {
              "value" : 0,
              "currency" : "AED"
            }
          },
          "discountCalculationRule" : "WITHOUT_DISCOUNTS"
        } ],
        "base" : {
          "amount" : {
            "value" : 0,
            "currency" : "AED"
          },
          "equivAmount" : {
            "value" : 0,
            "currency" : "AED"
          }
        }
      },
      "ancillaryPurchaseRules" : {
        "availableSince" : "1980-01-01",
        "availableUntil" : "9999-12-31"
      },
      "ancillaryRef" : "ancillary_34"
    } ]
  },
  "segments" : [ { }, { } ],
  "results" : [ {
    "baggageId" : "B1",
    "status" : {
      "type" : "SUCCESS"
    }
  }, {
    "baggageId" : "B2",
    "status" : {
      "type" : "SUCCESS"
    }
  }, {
    "baggageId" : "B3",
    "status" : {
      "type" : "SUCCESS"
    }
  } ]
}
  • Scenario 2

The session is initialized, and the reservation is not returned. The booking is performed as a next step.

/dcci/baggage/price/stateless service

Request: HTTP POST

 

{
  "searchCriteria" : {
    "pnrLocator" : {
      "value" : "DICGMB",
      "strict" : false
    }
  },
  "passengers" : [ {
    "criteria" : {
      "firstName" : "CRAIG",
      "lastName" : "WILLIAMS",
      "nameAssociationId" : "1"
    },
    "baggage" : [ {
      "id" : "B1",
      "weight" : {
        "value" : 22,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B2",
      "weight" : {
        "value" : 17,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B3",
      "weight" : {
        "value" : 19,
        "unit" : "KILOGRAM"
      }
    } ],
    "id" : "pbp1"
  } ],
  "segments" : [ {
    "departureAirport" : "BAH",
    "arrivalAirport" : "AUH",
    "departureTime" : "2019-12-03T17:50:00+03:00",
    "arrivalTime" : "2019-12-03T20:00:00+04:00",
    "airline" : "EY",
    "operatingAirline" : "EY",
    "flightNumber" : "376",
    "operatingFlightNumber" : "376",
    "bookingClass" : "Y",
    "id" : "s1"
  }, {
    "departureAirport" : "AUH",
    "arrivalAirport" : "FCO",
    "departureTime" : "2019-12-04T02:40:00+04:00",
    "arrivalTime" : "2019-12-04T06:20:00+01:00",
    "airline" : "EY",
    "operatingAirline" : "EY",
    "flightNumber" : "85",
    "operatingFlightNumber" : "85",
    "bookingClass" : "Y",
    "id" : "s2"
  } ],
  "currency" : "AED",
  "initializeSession" : true,
  "returnSession" : false
}

Response

{
  "calculationType" : "TOTAL_WEIGHT",
  "priceBaggagePassenger" : [ {
    "id" : "pbp1",
    "ticketNumber" : {
      "number" : "6072139134341"
    },
    "passenger" : {
      "id" : "p01.01",
      "type" : {
        "value" : "ADULT"
      },
      "passengerIdentifier" : {
        "id" : "pip01.01",
        "syntheticIdentifier" : "8qwwc59Tn8h4D6erDW65nU2WHHXCCMX/pkTLfpbEXVVc2gQY5zvsSwM4DNvW91YCtwdvsT
				/rsTRAubCtS6TtMw==",
        "nameNumber" : "01.01",
        "nameAssociationId" : "1"
      },
      "personName" : {
        "first" : "CRAIG MR",
        "last" : "WILLIAMS"
      }
    },
    "passengerSegment" : [ {
      "segmentRef" : "s1",
      "specialServiceCodes" : [ "INFT", "TKNE", "TKNE" ]
    }, {
      "segmentRef" : "s2",
      "specialServiceCodes" : [ "INFT", "TKNE", "TKNE" ]
    } ],
    "baggage" : [ {
      "id" : "B1",
      "weight" : {
        "value" : 22,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B2",
      "weight" : {
        "value" : 17,
        "unit" : "KILOGRAM"
      }
    }, {
      "id" : "B3",
      "weight" : {
        "value" : 19,
        "unit" : "KILOGRAM"
      }
    } ]
  } ],
  "passengerBaggagePricings" : {
    "passengerBaggagePricing" : [ {
      "id" : "pbPricing1",
      "baggageAllowanceDefinition" : [ {
        "id" : "bad1",
        "totalWeight" : [ {
          "value" : 35,
          "unit" : "KILOGRAM"
        }, {
          "value" : 77,
          "unit" : "POUND"
        } ],
        "pricedAncillaryRef" : "pricedAnc1",
        "allowanceSource" : "OPTIONAL_SERVICES"
      }, {
        "id" : "bad2",
        "totalWeight" : [ {
          "value" : 10,
          "unit" : "KILOGRAM"
        }, {
          "value" : 22,
          "unit" : "POUND"
        } ],
        "entitlementDetails" : {
          "ruleId" : "914301"
        },
        "allowanceSource" : "ENTITLEMENTS"
      } ],
      "baggagePricing" : [ {
        "id" : "bp1",
        "baggageRef" : "B1",
        "baggageCharges" : {
          "baggageCharge" : [ {
            "id" : "charge1",
            "requiredCharge" : {
              "totalAncillaryFee" : {
                "unavailable" : false,
                "taxesIncludedInBase" : false,
                "taxExempt" : false,
                "totalFee" : [ {
                  "total" : {
                    "equivAmount" : {
                      "value" : 1300,
                      "currency" : "AED"
                    }
                  },
                  "base" : {
                    "amount" : {
                      "value" : 325.0,
                      "currency" : "USD"
                    },
                    "equivAmount" : {
                      "value" : 1300,
                      "currency" : "AED"
                    }
                  },
                  "discountCalculationRule" : "WITHOUT_DISCOUNTS"
                } ],
                "base" : {
                  "amount" : {
                    "value" : 25.0,
                    "currency" : "USD"
                  },
                  "equivAmount" : {
                    "value" : 100,
                    "currency" : "AED"
                  }
                }
              },
              "pricedAncillaryRef" : "pricedAnc2",
              "quantity" : 13
            },
            "baggageChargeReason" : {
              "weight" : {
                "value" : 13,
                "unit" : "KILOGRAM"
              },
              "type" : "EXCESS_TOTAL_WEIGHT"
            },
            "segmentRefs" : [ "s1", "s2" ],
            "baggageRestriction" : {
              "occurrenceLimit" : {
                "first" : -1,
                "last" : -1
              }
            }
          } ]
        }
      }, {
        "id" : "bp2",
        "baggageRef" : "B2"
      }, {
        "id" : "bp3",
        "baggageRef" : "B3"
      } ],
      "passengerRef" : "pbp1"
    } ]
  },
  "ancillaries" : {
    "ancillary" : [ {
      "id" : "ancillary_35",
      "group" : "BG",
      "reasonForIssuance" : {
        "value" : "BAGGAGE",
        "code" : "C"
      },
      "commercialName" : "WEIGHT SYSTEM CHARGE",
      "airline" : "EY",
      "specialService" : {
        "code" : "ASVC",
        "type" : "NOTALLOWED"
      },
      "vendor" : "ATP",
      "electronicMiscDocType" : {
        "value" : "FLIGHT_COUPON_ASSOCIATED",
        "code" : "2"
      },
      "bookingMethod" : {
        "value" : "SPECIAL_SERVICE_REQUEST",
        "code" : "01"
      },
      "weight" : [ {
        "value" : 13,
        "unit" : "KILOGRAM"
      }, {
        "value" : 29,
        "unit" : "POUND"
      } ],
      "ancillaryRules" : {
        "refundable" : false,
        "exchangeable" : true,
        "commissionable" : false,
        "interlineable" : true,
        "feeApplicationMethod" : {
          "value" : "PER_1KG_OVER_FREE_BAGGAGE_ALLOWANCE",
          "code" : "K"
        },
        "paperTicketRequired" : false
      },
      "serviceType" : {
        "value" : "CHARGES",
        "code" : "C"
      },
      "subCode" : "0DG"
    }, {
      "id" : "ancillary_34",
      "group" : "BG",
      "reasonForIssuance" : {
        "value" : "BAGGAGE",
        "code" : "C"
      },
      "commercialName" : "FREE BAGGAGE ALLOWANCE",
      "airline" : "EY",
      "vendor" : "ATP",
      "electronicMiscDocType" : {
        "value" : "FLIGHT_COUPON_ASSOCIATED",
        "code" : "2"
      },
      "bookingMethod" : {
        "value" : "ANY_ALLOWED",
        "code" : "BL"
      },
      "ancillaryRules" : {
        "refundable" : false,
        "exchangeable" : false,
        "paperTicketRequired" : false
      },
      "serviceType" : {
        "value" : "BAGGAGE_ALLOWANCE",
        "code" : "A"
      },
      "subCode" : "0DF"
    } ]
  },
  "pricedAncillaries" : {
    "id" : "pricedAncillaries1",
    "pricedAncillary" : [ {
      "id" : "pricedAnc2",
      "pricingLevel" : "PORTION",
      "ancillaryFee" : {
        "unavailable" : false,
        "taxesIncludedInBase" : false,
        "taxExempt" : false,
        "totalFee" : [ {
          "total" : {
            "equivAmount" : {
              "value" : 100,
              "currency" : "AED"
            }
          },
          "base" : {
            "amount" : {
              "value" : 25.0,
              "currency" : "USD"
            },
            "equivAmount" : {
              "value" : 100,
              "currency" : "AED"
            }
          },
          "discountCalculationRule" : "WITHOUT_DISCOUNTS"
        } ],
        "base" : {
          "amount" : {
            "value" : 25.0,
            "currency" : "USD"
          },
          "equivAmount" : {
            "value" : 100,
            "currency" : "AED"
          }
        }
      },
      "ancillaryPurchaseRules" : {
        "availableSince" : "1980-01-01",
        "availableUntil" : "9999-12-31"
      },
      "ancillaryRef" : "ancillary_35"
    }, {
      "id" : "pricedAnc1",
      "pricingLevel" : "PORTION",
      "ancillaryFee" : {
        "unavailable" : false,
        "taxesIncludedInBase" : false,
        "taxExempt" : false,
        "totalFee" : [ {
          "total" : {
            "equivAmount" : {
              "value" : 0,
              "currency" : "AED"
            }
          },
          "base" : {
            "amount" : {
              "value" : 0,
              "currency" : "AED"
            },
            "equivAmount" : {
              "value" : 0,
              "currency" : "AED"
            }
          },
          "discountCalculationRule" : "WITHOUT_DISCOUNTS"
        } ],
        "base" : {
          "amount" : {
            "value" : 0,
            "currency" : "AED"
          },
          "equivAmount" : {
            "value" : 0,
            "currency" : "AED"
          }
        }
      },
      "ancillaryPurchaseRules" : {
        "availableSince" : "1980-01-01",
        "availableUntil" : "9999-12-31"
      },
      "ancillaryRef" : "ancillary_34"
    } ]
  },
  "segments" : [ { }, { } ],
  "results" : [ {
    "baggageId" : "B1",
    "status" : {
      "type" : "SUCCESS"
    }
  }, {
    "baggageId" : "B2",
    "status" : {
      "type" : "SUCCESS"
    }
  }, {
    "baggageId" : "B3",
    "status" : {
      "type" : "SUCCESS"
    }
  } ]
}

/dcci/baggage/book

Request: HTTP GET

{
  "returnSession" : true
}

Response:

{
  "reservation" : {
    "id" : "res1",
    "version" : "7093c2ab4a1cde8d81324ac2fa0ed3d3eb5c0b6436a047a0",
    "passengers" : {
      "passenger" : [ {
        "id" : "p01.01",
        "syntheticIdentifier" : "8qwwc59Tn8h4D6erDW65nU2WHHXCCMX/pkTLfpbEXVVc2gQY5zvsSwM4DNvW91YCtwdvsT
				/rsTRAubCtS6TtMw==",
        "personName" : {
          "prefix" : "MR",
          "first" : "CRAIG",
          "last" : "WILLIAMS",
          "raw" : "WILLIAMS/CRAIG MR"
        },
        "type" : {
          "value" : "ADULT"
        },
        "contactDetails" : {
          "address" : [ {
            "id" : "a1",
            "street1" : "OPOLSKA",
            "postalCode" : "33321",
            "country" : "PL",
            "city" : "KRAKOW",
            "stateProvince" : "GA",
            "type" : "RESIDENCE"
          }, {
            "id" : "a2",
            "street1" : "OPOLSKA",
            "postalCode" : "33321",
            "country" : "PL",
            "city" : "KRAKOW",
            "stateProvince" : "GA",
            "type" : "DESTINATION"
          } ]
        },
        "emergencyContact" : [ {
          "id" : "ec1",
          "name" : "CRAIG WILLIAMS",
          "countryCode" : "US",
          "contactDetails" : "3177191212"
        } ],
        "passengerDocument" : [ {
          "document" : {
            "id" : "id1",
            "number" : "RWE66WP2",
            "personName" : {
              "first" : "CRAIG",
              "last" : "WILLIAMS"
            },
            "nationality" : "US",
            "dateOfBirth" : "1999-12-03",
            "issuingCountry" : "US",
            "expiryDate" : "2020-04-23",
            "gender" : "MALE",
            "type" : "PASSPORT"
          }
        }, {
          "document" : {
            "id" : "id2",
            "number" : "MDCDUHMO",
            "placeOfBirth" : "AE",
            "applicableCountry" : "AE",
            "issuingPlace" : "AE",
            "issueDate" : "2015-08-10",
            "type" : "VISA"
          }
        } ],
        "ticket" : [ {
          "ticketNumber" : {
            "number" : "6072139134341"
          },
          "issued" : true,
          "ticketCoupon" : [ {
            "couponNumber" : "1",
            "baggageDisclosure" : {
              "checkedInBaggage" : {
                "baggageAllowanceDefinition" : [ {
                  "totalWeight" : [ {
                    "value" : 35,
                    "unit" : "KILOGRAM"
                  } ],
                  "allowanceSource" : "TICKET"
                } ]
              }
            },
            "fareBasisCode" : "YOWBH/YF",
            "segmentRef" : "s1",
            "status" : "OK"
          }, {
            "couponNumber" : "2",
            "baggageDisclosure" : {
              "checkedInBaggage" : {
                "baggageAllowanceDefinition" : [ {
                  "totalWeight" : [ {
                    "value" : 35,
                    "unit" : "KILOGRAM"
                  } ],
                  "allowanceSource" : "TICKET"
                } ]
              }
            },
            "fareBasisCode" : "YOWBH/YF",
            "segmentRef" : "s2",
            "status" : "OK"
          } ]
        } ],
        "passengerSegments" : {
          "passengerSegment" : [ {
            "id" : "p01.01.s1",
            "passengerFlight" : [ {
              "id" : "p01.01.s1.f1",
              "flightRefs" : [ "f1" ],
              "checkedIn" : false
            } ],
            "segmentRef" : "s1"
          }, {
            "id" : "p01.01.s2",
            "passengerFlight" : [ {
              "id" : "p01.01.s2.f2",
              "flightRefs" : [ "f2" ],
              "checkedIn" : false
            } ],
            "segmentRef" : "s2"
          } ]
        },
        "weightCategory" : "ADULT_MALE",
        "airExtra" : [ {
          "id" : "ae1",
          "syntheticIdentifier" : "TGwGn+YY0z0qyfBp1xvRuA==",
          "feeApplicationIndicator" : "K",
          "ancillary" : {
            "id" : "anc1",
            "group" : "BG",
            "reasonForIssuance" : {
              "value" : "BAGGAGE",
              "code" : "C"
            },
            "commercialName" : "WEIGHT SYSTEM CHARGE",
            "airline" : "EY",
            "specialService" : {
              "code" : "ASVC",
              "type" : "NOTALLOWED"
            },
            "vendor" : "ATP",
            "electronicMiscDocType" : {
              "value" : "FLIGHT_COUPON_ASSOCIATED",
              "code" : "2"
            },
            "bookingMethod" : {
              "value" : "SPECIAL_SERVICE_REQUEST",
              "code" : "01"
            },
            "weight" : [ {
              "value" : 13,
              "unit" : "KILOGRAM"
            }, {
              "value" : 29,
              "unit" : "POUND"
            } ],
            "ancillaryRules" : {
              "refundable" : false,
              "exchangeable" : true,
              "commissionable" : false,
              "interlineable" : true,
              "feeApplicationMethod" : {
                "value" : "PER_1KG_OVER_FREE_BAGGAGE_ALLOWANCE",
                "code" : "K"
              },
              "paperTicketRequired" : false
            },
            "serviceType" : {
              "value" : "CHARGES",
              "code" : "C"
            },
            "subCode" : "0DG"
          },
          "paymentStatus" : {
            "value" : "PENDING",
            "statusCode" : "HD"
          },
          "passengerSegmentRefs" : [ "p01.01.s1", "p01.01.s2" ],
          "type" : "ANCILLARY",
          "quantity" : 13
        } ],
        "fiscalCode" : "ADT",
        "nameNumber" : "01.01"
      }, {
        "id" : "p02.01",
        "syntheticIdentifier" : "XNoEGOc77EsDOAzb1vdWAjOUj+eUjEhOWn5KyWEiZWo=",
        "personName" : {
          "prefix" : "MRS",
          "first" : "JOY",
          "last" : "EVANS",
          "raw" : "EVANS/JOY MRS"
        },
        "type" : {
          "value" : "INFANT"
        },
        "dateOfBirth" : "2019-07-03",
        "passengerRef" : "p01.01",
        "contactDetails" : {
          "address" : [ {
            "id" : "a5",
            "street1" : "OPOLSKA",
            "postalCode" : "33321",
            "country" : "PL",
            "city" : "KRAKOW",
            "stateProvince" : "GA",
            "type" : "RESIDENCE"
          }, {
            "id" : "a6",
            "street1" : "OPOLSKA",
            "postalCode" : "33321",
            "country" : "PL",
            "city" : "KRAKOW",
            "stateProvince" : "GA",
            "type" : "DESTINATION"
          } ]
        },
        "passengerDocument" : [ {
          "document" : {
            "id" : "id5",
            "number" : "1NCGXBM4",
            "personName" : {
              "first" : "JOY",
              "last" : "EVANS"
            },
            "nationality" : "US",
            "dateOfBirth" : "1999-12-03",
            "issuingCountry" : "US",
            "expiryDate" : "2022-04-12",
            "gender" : "MALE",
            "type" : "PASSPORT"
          }
        }, {
          "document" : {
            "id" : "id6",
            "number" : "6NKLB3AL",
            "placeOfBirth" : "AE",
            "applicableCountry" : "AE",
            "issuingPlace" : "AE",
            "issueDate" : "2018-04-17",
            "type" : "VISA"
          }
        } ],
        "ticket" : [ {
          "ticketNumber" : {
            "number" : "6072139134342"
          },
          "ticketCoupon" : [ {
            "couponNumber" : "1",
            "segmentRef" : "s1",
            "status" : "OK"
          }, {
            "couponNumber" : "2",
            "segmentRef" : "s2",
            "status" : "OK"
          } ]
        } ],
        "passengerSegments" : {
          "passengerSegment" : [ {
            "id" : "p02.01.s1",
            "passengerFlight" : [ {
              "id" : "p02.01.s1.f1",
              "flightRefs" : [ "f1" ],
              "checkedIn" : false
            } ],
            "segmentRef" : "s1"
          }, {
            "id" : "p02.01.s2",
            "passengerFlight" : [ {
              "id" : "p02.01.s2.f2",
              "flightRefs" : [ "f2" ],
              "checkedIn" : false
            } ],
            "segmentRef" : "s2"
          } ]
        },
        "weightCategory" : "INFANT",
        "fiscalCode" : "INF",
        "nameNumber" : "02.01"
      } ]
    },
    "itinerary" : {
      "itineraryPart" : [ {
        "id" : "ip1",
        "segment" : [ {
          "id" : "s1",
          "status" : {
            "value" : "CONFIRMED",
            "code" : "HK"
          },
          "flightDetail" : [ {
            "id" : "f1",
            "estimatedDepartureTime" : "2019-12-03T17:50:00+03:00",
            "estimatedArrivalTime" : "2019-12-03T20:00:00+04:00",
            "departureFlightScheduleStatus" : "ON_TIME",
            "boardingTime" : "2019-12-03T17:05:00+03:00",
            "departureCountry" : "BH",
            "arrivalCountry" : "AE",
            "commuter" : false,
            "airline" : "EY",
            "flightNumber" : "376",
            "departureAirport" : "BAH",
            "departureTime" : "2019-12-03T17:50:00+03:00",
            "arrivalAirport" : "AUH",
            "arrivalTime" : "2019-12-03T20:00:00+04:00",
            "operatingAirline" : "EY",
            "operatingAirlineName" : "ETIHAD AIRWAYS",
            "operatingFlightNumber" : "376",
            "equipment" : "320"
          } ],
          "fareInfo" : {
            "bookingClass" : "Y"
          },
          "baggageCheckInRules" : {
            "petAllowed" : false,
            "lateCheckIn" : true,
            "homePrintedBagTagRestricted" : {
              "type" : "RESTRICTED",
              "message" : "Home Printed Bag Tag is not allowed for given airline."
            }
          },
          "number" : "3"
        }, {
          "id" : "s2",
          "status" : {
            "value" : "CONFIRMED",
            "code" : "HK"
          },
          "flightDetail" : [ {
            "id" : "f2",
            "estimatedDepartureTime" : "2019-12-04T02:40:00+04:00",
            "estimatedArrivalTime" : "2019-12-04T03:00:00+01:00",
            "departureFlightScheduleStatus" : "ON_TIME",
            "boardingTime" : "2019-12-04T01:40:00+04:00",
            "departureCountry" : "AE",
            "arrivalCountry" : "IT",
            "commuter" : false,
            "airline" : "EY",
            "flightNumber" : "85",
            "departureAirport" : "AUH",
            "departureTime" : "2019-12-04T02:40:00+04:00",
            "arrivalAirport" : "FCO",
            "arrivalTime" : "2019-12-04T06:20:00+01:00",
            "operatingAirline" : "EY",
            "operatingAirlineName" : "ETIHAD AIRWAYS",
            "operatingFlightNumber" : "85",
            "equipment" : "388"
          } ],
          "fareInfo" : {
            "bookingClass" : "Y"
          },
          "baggageCheckInRules" : {
            "petAllowed" : true,
            "lateCheckIn" : true,
            "homePrintedBagTagRestricted" : {
              "type" : "RESTRICTED",
              "message" : "Home Printed Bag Tag is not allowed for given airline."
            }
          },
          "number" : "6"
        } ],
        "type" : "OUTBOUND"
      } ]
    },
    "pricing" : {
      "airExtraPricings" : {
        "airExtraPricing" : [ {
          "id" : "apr1",
          "airExtraRefs" : [ "ae1" ],
          "pricingLevel" : "PORTION",
          "unitFee" : {
            "total" : {
              "equivAmount" : {
                "value" : 100,
                "currency" : "AED"
              }
            },
            "base" : {
              "amount" : {
                "value" : 25.0,
                "currency" : "USD"
              },
              "equivAmount" : {
                "value" : 100,
                "currency" : "AED"
              }
            }
          },
          "totalFee" : {
            "total" : {
              "equivAmount" : {
                "value" : 1300,
                "currency" : "AED"
              }
            },
            "base" : {
              "amount" : {
                "value" : 325.0,
                "currency" : "USD"
              },
              "equivAmount" : {
                "value" : 1300,
                "currency" : "AED"
              }
            }
          }
        } ]
      }
    },
    "recordLocator" : "DICGMB"
  },
  "bookingDetails" : [ {
    "chargeIds" : [ "charge1" ],
    "airExtraIds" : [ "ae1" ],
    "baggageId" : "B1"
  } ],
  "results" : [ {
    "update" : {
      "value" : "ae1",
      "context" : "PASSENGER_BAGGAGE_CHARGE",
      "operation" : "ADD"
    },
    "status" : [ {
      "type" : "SUCCESS"
    } ]
  } ]
}