Hermeseus

Flight baggage allowance

Read the baggage allowance per segment for an itinerary.

POST/Air/AirBaggages

Access requires the permission air_baggages

Pass the FareSourceCode of a fare to see the checked baggage allowance on each leg.

Path parameters

None.

Query parameters

None.

Body parameters

NameTypeRequiredDescription
SessionIdstringYesYour session id.
FareSourceCodestringYesA fare from search.

Request

curl -X POST https://api.hermeseus.com/api/Air/AirBaggages \
  -H "Content-Type: application/json" \
  -d '{
    "SessionId": "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f",
    "FareSourceCode": "dHA6ODc0NTE6ZmwxMjM0OjMyNw=="
  }'
const res = await fetch("https://api.hermeseus.com/api/Air/AirBaggages", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    SessionId: "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f",
    FareSourceCode: "dHA6ODc0NTE6ZmwxMjM0OjMyNw=="
  })
});

const data = await res.json();
import requests

res = requests.post(
    "https://api.hermeseus.com/api/Air/AirBaggages",
    json={
        "SessionId": "8f3c81d2-4a5b-4c6d-9e0f-1a2b3c4d5e6f",
        "FareSourceCode": "dHA6ODc0NTE6ZmwxMjM0OjMyNw==",
    },
)

data = res.json()

Response

FieldTypeDescription
Successbooleantrue on success.
BaggageInfoesarray of objectOne entry per segment. See below.
ServicesarrayExtra-baggage services, when offered.
Errorobjectnull on success.
BaggageInfoes[] object
FieldTypeDescription
DeparturestringDeparture airport code of the segment.
ArrivalstringArrival airport code of the segment.
FlightNostringFlight number.
BaggagestringAllowance, for example 2PC or 30KG.
{
  "Success": true,
  "BaggageInfoes": [
    {
      "Departure": "IST",
      "Arrival": "DXB",
      "FlightNo": "764",
      "Baggage": "2PC"
    }
  ],
  "Services": [],
  "Error": null
}

Errors

CodeMeaningFix
Err0102002Invalid FareSourceCode.Use a code from the latest search.