Resolve a case
POST/exceptions/:caseId/resolutions
Records the resolution code and the root cause and moves the case to
RESOLVED, its terminal state. note is optional. Resolving an
already-resolved case is a 409 case-already-resolved; any later
command on it is too. Requires an Idempotency-Key. Publishes
ExceptionResolved.
Request
Responses
- 200
- 400
- 404
- 409
- 500
The case is resolved (terminal).
Response Headers
true when this response is the stored answer of an earlier request with the same Idempotency-Key and the same method, path and body (the handler did not run again). Absent on the first execution. The stored answer is replayed for 24 hours after the first execution; past that window the key is free again and a repeat executes anew.
Malformed JSON body, an unknown field, an invalid path, query or header parameter, or a NUL byte in a body.
No case has this id, or the path holds a NUL byte.
The case is in the wrong state for the command, another request changed it first, or the Idempotency-Key was already used with a different request (idempotency-key-reused; within the 24-hour replay window — past it the key is free again).
Unexpected server error.