go back Home

TrailerService

This service provides operations for retrieving and managing trailers. Access to several individually-scoped reports is available too.

Operations

name role description
GET /trailers Users Retrieves a List of Trailers with a full or partial match to the given value.
GET /trailers/near Users, Drivers Returns {@link List} of Trailer-specific data in the form of ReadOnlyRow records, where the trailer is within 100 miles of the provided latitude and longitude.
GET /trailers/new Users Creates a trailer 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.
GET /trailers/search Users Searches the database for trailers matching the given request parameters.
GET /trailers/userSavedSearch Users Retrieves a List of RowTrailer objects based on an existing saved search.
GET /trailers/{id} Users Retrieves the Trailer record with the given ID.
GET /trailers/{id}/preassignments Users Retrieves preassignments for the trailer with the specified ID.
GET /trailers/{id}/previousOrders Drivers Retrieves a List of RowOrders objects the trailer was previously assigned to.
GET /trailers/{id}/revenueReport Users Produces a trailer revenue report.
PUT /trailers/create Users Creates a new RowTrailer record for the given data.
PUT /trailers/update Users Updates a RowTrailer record for the given data.