v1
latestOpenAPI 3.1.02026-07-2420077.8 KBRetrieve a Trip by ID
Get a single trip with the Trip ID
get/trips/{id}
Path parameters
idinteger required
Response
200
Example response
{
"id": "75",
"trip_name": "E2E cancel Openrail train ticket",
"start": "2025-04-18T10:57:38.762779+00:00",
"start_datetime_utc": "2025-04-18T08:57:38.762779+00:00",
"start_datetime_local": "2025-04-18T10:57:38.762779+02:00",
"end": "2025-04-18T10:57:38.762779+00:00",
"end_datetime_utc": "2025-04-18T08:57:38.762779+00:00",
"end_datetime_local": "2025-04-18T10:57:38.762779+02:00",
"status": "booked",
"modified": "2025-04-15T10:57:38.777869+00:00",
"start_location": {
"name": "Barcelona",
"address": "Barcelona - Barcelona, ES",
"latitude": "41.382270729",
"longitude": "2.177385092"
},
"end_location": {
"name": "Madrid",
"address": "Madrid - Madrid, ES",
"latitude": "40.416824000",
"longitude": "-3.703733000"
},
"booker_id": "18"
}