POST /dispatch/{stopId}/declineOffer
Handles the changes needed to be made when a driver declines an offered stop. If
the {@link DriverStopReport#getAppliesToGroup()} variable is true
,
then this stop plus others in the same group will be declined together.
See {@link RowStop#buildGroupingKey()} for what constitutes a group of stops.
Currently, this only works for LTL movements.
Roles that can access this endpoint are Drivers.
Parameters
name |
description |
type |
default |
type |
stopId |
the ID of the stop to declined (not currently used) |
path
|
|
String
|
report |
the {@link DriverStopReport} with all fields on the root object populated |
body of type: application/xml application/json
|
|
DriverStopReport
|
Result
void
Try It Out
Request