POST /dispatch/assign/{movementId}
Assigns/updates assignments of equipment for the given movement.
Roles that can access this endpoint are Users.
Parameters
name |
description |
type |
default |
type |
movementId |
ID of the movement to be updated |
path
|
|
String
|
driver1 |
ID of the first driver to be assigned |
query
|
|
String
|
driver2 |
ID of the second driver to be assigned |
query
|
|
String
|
tractor |
ID of the tractor to be assigned |
query
|
|
String
|
trailer1 |
ID of the first trailer to be assigned |
query
|
|
String
|
trailer2 |
ID of the second trailer to be assigned |
query
|
|
String
|
trailer3 |
ID of the third trailer to be assigned |
query
|
|
String
|
overrideExistingPreassignment |
whether the existing preassignment for the trailer will be overridden |
query
|
false |
Boolean
|
overrideLinkedMoves |
whether the existing preassignments of linked moves for the trailer will be overridden |
query
|
false |
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