PUT /tractors/create
Creates a new RowTractor record for the given Tractor data.
Roles that can access this endpoint are Users.
Parameters
| name |
description |
type |
default |
type |
| tractor |
the data to use when creating the new tractor |
body of type: application/xml application/json
|
|
RowTractor
|
Result
RowTractor
of type:
application/xml
application/json
the created 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.
Child Elements:
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.
Try It Out
Request