Skip Navigation

Baggage Calculation

Each Airline allows Passengers to take some baggage for a flight. It may happen that an Airline allows to take some bags:

  • For free.
  • Requiring payment for some additional bags outside the baggage allowance.
  • Requiring payment for each checked-in bag.

Those rules are usually complicated and based on different criteria such as itinerary, number of segments and Passenger's details (Frequent Flyer level, Special Service Requests (SSRs,) etc.).

Digital Connect Check-In POST /dcci/baggage/calculate service allows to calculate the potential charges for the bags which Passenger would like to check-in:

{ 
  "returnSession": false, 
  "currency": "CAD", 
  "passengers": [ 
    { 
      "id": "p01.01", 
      "baggage": [ 
        { 
          "id": "b01", 
          "weight": { 
            "value": 20, 
            "unit": "KILOGRAM" 
          } 
        }, 
        { 
          "id": "b02", 
          "weight": { 
            "value": 21, 
            "unit": "KILOGRAM" 
          } 
        }      ] 
    } 
  ] 
}

Each response contains the details which allow POS to inform the Passenger about:

  • The allowance definition, which has been taken by a calculator as a base, of what kind of bags the Passenger can take for free.
  • The information if the bags are included in the allowance or additional payment is required.
  • The information about the required charges which are mandatory for the Passenger to check-in some bags.

In some cases, the calculator is not able to determine correct charges for those bags which are not considered as in the allowance. In such case a Passenger needs to see an Agent before checking-in bags since the correct charges needs to be applied. Agent applications can display a list of all potential charges. Basing on this list an Agent chooses the most accurate charge and applies that charge for the bag.

Calculation Types

Each airline approaches calculations of baggage charges separately so the /dcci/baggage/price service supports the following types of calculation:

  • Piece
  • Total weight
  • Piece/weight

The calculation type can be found in the /dcci/baggage/price response at the main level:

{ 
  "calculationType" : "TOTAL_WEIGHT", 
  "priceBaggagePassenger" : [ { 
    "id" : "pbp1", 
    "ticketNumber" : { 
      "number" : "6072136596128" 
    }, 
{...} 
} 

Note:  This information is available in the /dcci/baggage/price response starting from 2.x version with the following configuration key: s4ci.feature.pricingConfiguration.calculationType.enabled

Baggage Pooling

In some cases, free baggage allowance might not be optimally used by the Passengers traveling in larger groups such as family traveling for vacations. Because of that some Airlines allow Passengers to share their baggage allowance inside their group.