Soft-delete an existing HIS inbound pre-appointment
DELETE/v1/checkin/appointments/his-inbound/:externalAppointmentId
Soft-deletes a pre-appointment identified by (provider from the token, external_appointment_id) along with its charges and documents (S3 objects are left intact). Only pre-appointments created by the HIS inbound integration (source HIS_INBOUND) can be deleted. If the pre-appointment is already CANCELLED, this operation is an idempotent no-op and still returns 204. If it is COMPLETED, the deletion is rejected. Requires valid OAuth2 authentication.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 502
Pre-appointment soft-deleted, or already CANCELLED (idempotent no-op)
Bad Request: the pre-appointment was not created by the HIS inbound integration (source is not HIS_INBOUND).
Unauthorized: missing or invalid Bearer token
Forbidden: your credentials are not authorised for this operation
Pre-appointment not found for the given external_appointment_id and provider
Conflict: the pre-appointment is COMPLETED and cannot be deleted
Bad Gateway: RCM API is unavailable or network timeout occurred.