Gateway GRPC
Import trips
post/v2/organisations/{organisation_id}/trips/import
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
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
Per-trip import results
Changes
No recorded changes to this operation across all 1 revision of this API.