POST
/ext/dispatch/{id}/status
curl \
--request POST 'https://dev.hubz.nyotek.com/ext/dispatch/{id}/status' \
--header "Content-Type: application/json" \
--data '{"status":"cancelled","ref_id":"15ed2668-f118-40c3-a52c-8ad90fe11ed7","ref_type":"user"}'
Request examples
{
"status": "cancelled",
"ref_id": "15ed2668-f118-40c3-a52c-8ad90fe11ed7",
"ref_type": "user"
}
Response examples (401)
{
"error": "generic error",
"error_desc": "identifier 45 not found"
}
Response examples (404)
{
"error": "generic error",
"error_desc": "identifier 45 not found"
}
Response examples (500)
{
"error": "generic error",
"error_desc": "identifier 45 not found"
}