Updates a RowTractor record for the given data.
Roles that can access this endpoint are Users.
name | description | type | default | type |
---|---|---|---|---|
tractor | the data to use when updating the existing Tractor record | body of type: application/xml application/json | RowTractor | |
includeComments | if related Comment records should be included | query | false | Boolean |
the updated RowTractor record
Additional attributes:
__fleetDescr
This value represents the description of the fleet, found in the tractor.fleet_id
field.__payOwnerDescr
This value represents the description of the pay owner flag, found in the tractor.pay_owner
field.__typeOfDescr
This value represents the description of the tractor type, found in the tractor.type_of
field.__serviceStatusDescr
This value represents the description of the service status, found in the tractor.service_status
field.__statusDescr
This value represents the description of the status, found in the tractor.status
field.__currentMovementId
This value represents the ID of the tractor's current movement.__lastPosition
This value represents the description of the last position for the tractor.__latitude
This value represents the latitude of the last position for the tractor.__longitude
This value represents the longitude of the last position for the tractor.RowDriver
This element represent the primary associated with the tractor, by the tractor.driver1_id
field.
The element contains a __name
attribute with the value driver1
.RowDriver
This element represent the team associated with the tractor, by the tractor.driver2_id
field.
The element contains a __name
attribute with the value driver2
.RowUsers
This element represent the dispatcher associated with the tractor, by the tractor.dispatcher
field.
The element contains a __name
attribute with the value dispatcherUser
.RowComments
These elements represent the comments associated with the tractor.
The element contains a __name
attribute with the value comments
.
*Note this is only returned if the includeComments
Query Parameter is passed as true.