/drivers
|
|
|
GET /drivers
|
Users
|
Retrieves a List of Drivers with a full or partial match to given value. |
GET /drivers/historyReport
|
Drivers
|
Produces a driver history report. |
GET /drivers/new
|
Users
|
Creates a driver 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 /drivers/rollingStops
|
Drivers
|
Retrieves a rolling List of RowStop objects for a driver.
Under typical circumstances, this list will included:
1: Cleared first stop of the current movement if in transit or
&emsp &emsp Cleared last stop of the current movement if delivered.
2: Next uncleared stop.
3 - given stopCount: Upcoming first and last stops of the current and preassigned movements.
|
GET /drivers/search
|
Users
|
Searches the database for drivers matching the given request parameters. |
GET /drivers/userSavedSearch
|
Users
|
Retrieves a List of RowDriver objects based on an existing saved search. |
GET /drivers/{id}
|
Users, Drivers
|
Retrieves the Driver record with the given ID. |
GET /drivers/{id}/assignments
|
Users, Drivers
|
|
GET /drivers/{id}/current
|
Users, Drivers
|
Retrieves the current movement record for the given driver ID. |
GET /drivers/{id}/lastStop
|
Users, Drivers
|
Retrieves the last stop of the driver's last preassignment
(or if none, the driver's current assignment). |
GET /drivers/{id}/picture
|
Users, Drivers
|
Retrieves the driver's profile picture, if it exists. |
GET /drivers/{id}/preassignments
|
Users, Drivers
|
Retrieves preassignments for the driver with the specified ID. |
GET /drivers/{id}/revenueReport
|
Users
|
Produces a driver revenue report. |
GET /drivers/{id}/scorecardReport
|
Users, Drivers
|
Produces the driver scorecard report. |
POST /drivers/{id}/confirmNotDriving
|
Drivers
|
Notes that the given driver has confirmed he's not driving while using the application. |
PUT /drivers/create
|
Users
|
Creates a new RowDriver record for the given Driver data. |