POST /dispatch/{stopId}/createServiceFailure
Handles the changes needed to be made when a driver reports a service failure.
If the {@link DriverStopReport#getAppliesToGroup()} variable is true
,
then this stop plus others in the same group will all receive service failure
records.
See {@link RowStop#buildGroupingKey()} for what constitutes a group of stops.
Currently, this only works for LTL movements. In the future, we will use this
method for drivers to report their arrivals on truckload movements as well.
Roles that can access this endpoint are Drivers.
Parameters
name |
description |
type |
default |
type |
stopId |
the ID of the stop to mark arrived (not currently used) |
path
|
|
String
|
report |
the DriverStopReport with all fields on the root
object populated plus:
- any OS&D data, including full color pictures for damages
- the consignee's signature (or probably more often just the consignee's
name) indicating who at the consignee was at fault
|
body of type: application/xml application/json
|
|
DriverStopReport
|
Result
void
Try It Out
Request