GET /tractors/new
Creates a tractor object with all configured defaults set. This doesn't create a record
in the database. Instead, callers of this method can edit the returned object and then
pass it back to the create method to actually insert the record in the database.
Roles that can access this endpoint are Users.
Parameters
This method has no parameters.
Result
RowTractor
of type:
application/xml
application/json
a RowTractor record with all appropriate defaults set
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