Gateway GRPC
Edit a trip
put/v2/organisations/{organisation_id}/trips/{trip_id}
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
trip_idstring required
Example:019e0197-4c63-71a9-a1e5-5a28583237fb
Trip ID
Request body
Example request
{
"route_id": "019e0190-5842-7da0-8efe-e58e20acf2a5",
"trip_name": "Morning Shuttle",
"vehicles": [
{
"vehicle_id": "019aa01c-a1a9-7fae-961b-23845147892e",
"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
}
]
}
]
}Response
Trip edited successfully
Changes
No recorded changes to this operation across all 1 revision of this API.