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
| Name | Type | Required | Description |
|---|---|---|---|
SessionId | string | Yes | Your session id. |
FareSourceCode | string | Yes | A 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
| Field | Type | Description |
|---|---|---|
Success | boolean | true on success. |
BaggageInfoes | array of object | One entry per segment. See below. |
Services | array | Extra-baggage services, when offered. |
Error | object | null on success. |
{
"Success": true,
"BaggageInfoes": [
{
"Departure": "IST",
"Arrival": "DXB",
"FlightNo": "764",
"Baggage": "2PC"
}
],
"Services": [],
"Error": null
}Errors
| Code | Meaning | Fix |
|---|---|---|
Err0102002 | Invalid FareSourceCode. | Use a code from the latest search. |

