Reassign task by Job ID and Task ID
Changed onCancel the current delivery attempt and create a new task for reassignment. A new task is created on the same job configuration, allowing a different provider to fulfill the delivery.
Request
- Base URLhttps://api.sandbox.usenash.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
job id
task id
Request body
Example request
{
"pickupStartTime": "2021-01-01T00:00:00Z",
"pickupEndTime": "2021-01-01T00:15:00Z",
"dropoffStartTime": "2021-01-01T00:30:00Z",
"dropoffEndTime": "2021-01-01T01:00:00Z",
"deliveryMode": "now"
}Response
OK
Changes
- breaking
response property
route/anyOf[subschema #1: RouteSerializer]/statusHistory/anyOf[subschema #1]/items/additionalProperties/list-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
route/anyOf[subschema #1: RouteSerializer]/stops/items/distanceFromPreviouslist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - breaking
response property
route/anyOf[subschema #1: RouteSerializer]/stops/items/durationFromPreviouslist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - breaking
response property
route/anyOf[subschema #1: RouteSerializer]/stops/items/serviceTimelist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - warning
added the new
cargo_bikeenum value to the///response property for the response status - warning
added the new
cargo_bikeenum value to the////response property for the response status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/////////////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- breaking