go back to MovementService

POST /movements/{id}/acceptOffer

Accepts the movement and preassigns the driver to it, depending on the dispatch control setting.

Roles that can access this endpoint are Drivers.

Parameters

name description type default type
id ID of the movement path String
driverId ID of the driver who accepted the offer query String
sessionId ID of the session for the offer query String
findNearDistance find near distance of the accepted load query BigDecimal
proratedRevenue prorated revenue of the accepted load query BigDecimal
estimatedPay estimated pay of the accepted load query BigDecimal

Result

Response of type: application/xml application/json

a String indicating if the operation was successful

Try It Out

Request

- Authentication Help
- String
- String
- String
- BigDecimal
- BigDecimal
- BigDecimal