Skip to main content
POST
Save route

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, see Authentication for more detail.

Body

application/json
id
string

Id of the route, required when updating an existing route

Example:

"mrt_12345"

waypoints
object[] | null
status
enum<string>

Status of the route

Available options:
ACTIVE,
INACTIVE,
REMOVED
Example:

"ACTIVE"

customData
object | null

Custom JSON in which you can store any data with max length of 2000 characters

Example:

Response

Success

result
enum<string>

The result of the action performed.

Available options:
SUCCESS,
FAILURE
data
object

The data generated by the action performed.