Gateway GRPC
Create a new route
post/v2/organisations/{organisation_id}/routes
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
{
"locations": [
{
"latitude": 17.385,
"longitude": 78.4867,
"type": 1,
"address": "Hyderabad A"
},
{
"latitude": 17.6868,
"longitude": 83.2185,
"type": 2,
"address": "Vizag B"
},
{
"latitude": 16.5062,
"longitude": 80.648,
"type": 2,
"address": "Vijayawada C"
},
{
"latitude": 15.8281,
"longitude": 78.0373,
"type": 1,
"address": "Kurnool D"
}
],
"route_name": "GRPC Test Route 6",
"movement_history_data": {
"vehicle_id": "019aa01c-a1a9-7fae-961b-23845147892e",
"start_time": "1",
"end_time": "1",
"start_index": "2",
"end_index": "2"
}
}Response
Route created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.