Update Job by JobID/ExternalIdentifier and Job Configuration ID
Changed onUpdate a specific package within a batch job. Use the job configuration ID to target a particular package's details.
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 or External Identifier
Job Configuration ID (for updating a package in a batch job)
Request body
Example request
{
"pickupAddressComponents": {
"number": "1600",
"street": "Pennsylvania Avenue NW",
"county": "Washington",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US",
"latitude": 38.8948949,
"longitude": -77.0371581
},
"dropoffAddressComponents": {
"number": "1600",
"street": "Pennsylvania Avenue NW",
"county": "Washington",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US",
"latitude": 38.8948949,
"longitude": -77.0371581
},
"packageRequirements": [
"photo_proof_of_delivery",
"age_verification_on_delivery"
],
"packageMinimumVehicleSize": "car"
}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 - info
added the new
cargo_bikeenum value to the request property - 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