Report the final result of an RPA dispatch
PATCH/v1/his-rpa-dispatches/:originEventId/status
Report back the outcome of an RPA dispatch to your HIS. This is the acknowledgement your bot sends once it has finished processing a dispatch, identified by the pair (origin_event_id, agreement_code).
agreement_code and his (the HIS type that processed the dispatch, e.g. hosvital) are required.
How the final status is decided: status accepts COMPLETED, but if error_description is present and not empty the status is forced to ERROR regardless of what you send in status. To report success, leave error_description out entirely. error_description is capped at 1000 characters.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 422
- 500
NO CONTENT
Bad Request
Unauthorized
Forbidden
Dispatch not found
Validation error
Internal Server Error