Train: DEFRA π¬π§
Sample API Requests
A. Without audit mode (for pre-booking/quotes)
{
"expand": ["items"],
"items": [
{
"audit": false,
"type": "train",
"external_reference": "test_1",
"origin": "BER",
"destination": "FRA",
"number_of_travelers": 3,
"train_type": "national",
"methodology": "DEFRA",
"energy_scope": "ttw",
"methodology_version": "2024"
}
]
}B. With audit mode (for finalized/post-booking calculations)
API Request Items
Origin/Destination Formats (Enriched)
Default Values
Sample API Response
Versions
Bibliography
Last updated