Gateway GRPC

Get Suggested Route

post/v2/organisations/{organisation_id}/routes/suggested

Request

  • Base URL
    https://api.cautio.in (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

organisation_idstring required
Example:019aa01c-a1a9-7fae-961b-23845147892e

Organisation ID

Request body

costingstring required

Costing method for the route

unitsstring required

Units for the route

Example request

{
  "locations": [
    {
      "latitude": 25.5941,
      "longitude": 85.1376,
      "type": 1
    },
    {
      "latitude": 22.5744,
      "longitude": 88.3629,
      "type": 2
    },
    {
      "latitude": 12.9629,
      "longitude": 77.5775,
      "type": 1
    }
  ],
  "costing": "auto",
  "units": "kilometers"
}

Response

Suggested route fetched successfully

Changes

No recorded changes to this operation across all 1 revision of this API.