Gateway GRPC
Get Trips
get/v2/organisations/{organisation_id}/trips
Request
- Base URLhttps://api.cautio.in (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
organisation_idstring required
Example:019aa01c-a1a9-7fae-961b-23845147892e
Organisation ID
Query parameters
limitnumber
Example:10
Number of items per page
pagenumber
Example:1
Page number
trip_idstring
Example:019e0197-4c63-71a9-a1e5-5a28583237fb
Trip ID
route_idstring
Example:019e0190-5842-7da0-8efe-e58e20acf2a5
Route ID
Response
Trip details retrieved successfully
Example response
{
"trips": [
{
"vehicles": [
{
"frequency": {
"day": [
0,
1,
4
],
"start_time": "10:00:00",
"end_time": "12:00:00",
"end_day_offset": 1
},
"frequencies": [
{
"day": [
0,
1,
4
],
"start_time": "10:00:00",
"end_time": "12:00:00",
"end_day_offset": 1
}
]
}
]
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 100,
"has_next": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.