Migration of the route GET /v3/proposals/{proposal_id}/transport_details to the route GET /v4/proposals/{proposal_id}/transport_details
- Obsolète
- 1 juin 2025
- 1 route liée
Context
Upgrade from GET - GET /v3/proposals/{proposal_id}/transport_details to GET - GET /v4/proposals/{proposal_id}/transport_details
⭐ 3 Key benefits :
- Add a new field
unitto precise the luggage weight unit - No longer display the weight unit of the luggage
- The luggage unit will now be specific to each locale, by default it is KG
Impacts
Route to call :
- GET -
GET /v4/proposals/{proposal_id}/transport_details
Output
[
{
"way": "INBOUND",
"total_duration_in_min": 745,
"travel_sections": [
{
"departure": {
"city": {
"id": "PAR",
"label": "PARIS"
},
"date": "20160812",
"time": "17:00:00",
"location": {
"id": "CDG",
"label": "PARIS-ROISSY CDG",
"terminal_code": "2A"
}
},
"arrival": {
"city": {
"id": "PAR",
"label": "PARIS"
},
"date": "20160812",
"time": "17:00:00",
"location": {
"id": "CDG",
"label": "PARIS-ROISSY CDG",
"terminal_code": "2A"
}
},
"transport": {
"type": "PLANE",
"company": {
"operator": {
"id": "SQ",
"label": "SINGAPORE AIRLINES",
"logo": "http://www.airfrance.fr/logo",
"_links": [
{
"rel": "self",
"method": "GET",
"href": "https://api.clubmed.com/products",
"label": "A label"
}
]
},
"exploiter": {
"id": "SQ",
"label": "SINGAPORE AIRLINES",
"logo": "http://www.airfrance.fr/logo",
"_links": [
{
"rel": "self",
"method": "GET",
"href": "https://api.clubmed.com/products",
"label": "A label"
}
]
}
},
"travel_number": "SQ1234",
! "baggage": {
! "quantity": 2,
! "weight": "23kg",
+ "unit":"kg"
},
"vehicle_type": "BOEING 747",
"class": "PLANE_ECONOMY",
"reference": "SQ1234",
"fare_class": "U"
},
"technical_stops": 0,
"connection_duration_in_min": 130,
"stopover_duration_in_min": 130,
"duration_in_min": 250,
"clubmed_transport": false,
"flight_code": "THEO9E",
"cancellation_policy_type": "THEO"
}
]
}
]