Skip to content

Tour Commander API (1.0.0)

Part of Bettermile Route API responsible for tour management

Languages
Servers
Dev API

https://dev.routes.bettermile.com/

Operations

Sequence

Operations on the sequence level

Operations

Waypoint

Operations on the waypoint level

Operations
Operations

Custom Job

Operations on custom jobs

Operations

Custom Waypoint

Operations on custom waypoints

Operations

Request

Creates a custom waypoint by grouping provided jobs together

Security
ApiKeyAuth
Path
tourIdstring(uuid)required

Unique tour identifier (generated by Better Route backend)

Bodyapplication/json
jobIdsJobInternalIds (object) or JobExternalIds (object)
One of:

IDs of the jobs to be added under the custom waypoint

addressAddress (object) or NullValue (null)
Any of:

An address

curl -i -X POST \
  'https://dev.routes.bettermile.com/v1/tours/{tourId}/custom-waypoints' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{}'

Responses

Successfully created a custom waypoint

Bodyapplication/json
waypointIdstring(uuid)

Internal ID of the created custom waypoint

Response
application/json
{ "waypointId": "6eeaf5f6-415c-49ff-97fc-2d3cc3a134f5" }

Request

Deletes a custom waypoint, allowing the backend to regroup the jobs from this waypoint freely.

Security
ApiKeyAuth
Path
tourIdstring(uuid)required

Unique tour identifier (generated by Better Route backend)

waypointIdstring(uuid)required

Unique waypoint identifier (generated by Better Route backend)

curl -i -X DELETE \
  'https://dev.routes.bettermile.com/v1/tours/{tourId}/custom-waypoints/{waypointId}' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Successfully deleted the custom waypoint

Bodyapplication/json
dataobject
Example: {}
Response
application/json
{ "data": {} }