GET /mcmessages/units/q
Retrieves the proper MCUnit for the given movement. This method
looks for a unit having the same ID as the tractor. If not found,
then it looks for a unit having the same ID as the first driver.
Roles that can access this endpoint are Users.
Parameters
name |
description |
type |
default |
type |
movementId |
the ID of the movement |
query
|
|
String
|
Result
RowMcUnit
of type:
application/xml
application/json
the MCUnit for the given movement
Additional attributes:
__isActive
This value represents whether the MC Unit is active
Child Elements:
RowDriver
This element represent the driver associated with the MC Unit.
The element contains a __name
attribute with the value driver
.
@see
RowMcUnit#getRowMcUnit(RowMovement)
Try It Out
Request