POST
/
v1
/
jobs
/
{jobId}
/
tasks
/
{taskId}
/
delivery_incident
curl --request POST \
  --url https://api.sandbox.usenash.com/v1/jobs/{jobId}/tasks/{taskId}/delivery_incident \
  --header 'Content-Type: application/json' \
  --data '{
  "raiseIncident": true,
  "incidentNotes": "<string>",
  "incidentType": "COURIER_NOTES",
  "incidentSubtype": "arrived_late",
  "incidentFileUrl": "<string>",
  "incidentFileUrls": [
    "<string>"
  ]
}'
{
  "jobId": "<string>",
  "taskId": "<string>",
  "raiseIncident": true,
  "incidentNotes": "<string>",
  "incidentType": "<string>",
  "incidentSubtype": "<string>",
  "incidentFileUrl": "<string>",
  "incidentFileUrls": [
    "<string>"
  ],
  "refundRequestId": "<string>"
}

Path Parameters

jobId
string
required

job id

taskId
string
required

task id

Body

application/json

Response

200
application/json
OK

The response is of type object.