POST /dispatch/cancel/{movementId}
Cancels an in-progress or delivered movement, given it is the current movement for the driver.
Roles that can access this endpoint are Users.
Parameters
name |
description |
type |
default |
type |
movementId |
ID of the movement to be canceled |
path
|
|
String
|
leaveTrailerAssigned |
whether to leave the trailer assigned to this movement |
query
|
|
Boolean
|
deleteEmpty |
whether to delete previously created empties from the last loaded movement |
query
|
|
Boolean
|
Result
Response
of type:
text/plain
a response object containing an HTTP response code and string representing success or failure of the web service call
Try It Out
Request