v1
latestOpenAPI 3.0.02026-07-24189145350.1 KBRoutes
Add 1 or more Routes
Endpoint to add Routes
post/routes
Request body
Response
Route/s added On Error, meta object will contain an error array with these possible values
Error codes:
| Code | Description | Field |
|---|---|---|
| 2010 | Activity type not found or not allowed for this user | |
| 2021 | Poi code not found or not allowed for this user | |
| 2022 | Order code not found or not allowed for this user | |
| 2040 | Driver id not found or not allowed for this user | |
| 2041 | Companion id not found or not allowed for this user | |
| 2042 | Device id not found or not allowed for this user | |
| 2043 | Invalid status | |
| 2044 | Driver's id and companion's id can't be equals |