Backend resource · STATIC DECLARATIONS
Integration Endpoint API reference · mansoq-core
Static source contract for Integration Endpoint: 9 declared or inherited operation mappings, schema/field evidence and authorization/refusal references. Deployment and behavioral review remain explicit.
Static API contract — behavior review pending. Source baseline f6e9f05f76d4.
Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.
Declared route and availability
This resource is declared in mansoq-core at /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/. verified core mount in config/urls.py A registered path and an indexed handler do not prove deployment availability, user permission or production readiness.
Connection endpoints, one per environment, with their certificates.
Operation map
| Method | Path | Action | Evidence |
|---|---|---|---|
| GET | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/ |
list | declared/inherited method |
| GET | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/ |
retrieve | declared/inherited method |
| GET | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/certificate/ |
certificate | @action declaration |
| POST | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/rotate_certificate/ |
rotate_certificate | @action declaration |
| POST | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/test_connection/ |
test_connection | @action declaration |
| POST | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/replay/ |
replay | @action declaration |
| GET | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/errors/ |
errors | @action declaration |
| GET | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/export/ |
export | @action declaration |
| GET | /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/activation_states/ |
activation_states | @action declaration |
list · GET
GET /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/ — action list. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
retrieve · GET
GET /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/ — action retrieve. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
certificate · GET
Expiry as a countdown, because expiry blocks submission.
GET /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/certificate/ — action certificate. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
rotate_certificate · POST
Rotate the certificate. On a frozen row that means a new version.
POST /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/rotate_certificate/ — action rotate_certificate. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_edit_rcm_configuration_in_facility, can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Explicit response statuses in observed code: 201. Other branches/framework exception handling may differ.
Declared refusal/error evidence: PermissionDenied: Cannot edit RCM configuration; ValidationError: Request body must be an object; ValidationError (dynamic detail; inspect source); PermissionDenied: Cannot read RCM configuration.
Conditional gates: certificate_subject in data; certificate_not_after in data.
test_connection · POST
Pre-flight only. Nothing is transmitted, in any environment.
The four refusals assert_live_submission_allowed raises are
reported individually rather than as one failure, because each has a
different owner: activation is a decision, certification is a process,
the pinned package is a procurement fact and an open gate is a
research task.
POST /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/test_connection/ — action test_connection. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
replay · POST
Plan an identity-preserving resend. Nothing is transmitted.
The attempt ceiling is read from configuration and is refused when it is not established: a resend loop with an invented ceiling is how a stuck transaction becomes an unbounded one instead of a support ticket.
POST /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/replay/ — action replay. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_edit_rcm_configuration_in_facility, can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot edit RCM configuration; ValidationError: Request body must be an object; ValidationError (dynamic detail; inspect source); PermissionDenied: Cannot read RCM configuration.
errors · GET
Recorded transport and business errors, by pointer, never by payload.
"Inspect errors" is one of SET-11's four core actions, so the selection
is an error selection. The previous predicate —
exclude(operation_outcome={}, http_status=None) — excluded only the
rows that were both outcome-free and status-free, which is every
exchange that ever reached the payer: a successful 200 carries an
http status and was listed as an error. An operator reading that screen
is triaging successes.
An error is an HTTP failure class or a recorded OperationOutcome.
Nothing here reads status/transport_status/business_status:
those are open TEXT columns with no published vocabulary, and picking
values out of them would hard-code a classification the instruments do
not state.
GET /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/{external_id}/errors/ — action errors. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | message_type |
not declared at read site | not established |
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
export · GET
The integration configuration, exportable and provably secret-free.
The same guard that protects the screen protects this, because ch. 31 names the UI and the export together and the export is the one that leaves the building.
GET /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/export/ — action export. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
activation_states · GET
The seven states and what each permits, for the screen to render.
GET /api/v1/facility/{facility_external_id}/rcm/integration/endpoints/activation_states/ — action activation_states. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
Integration review checklist
Confirm the installed route and full schema; review authentication, organization/facility scoping, all accepted fields, value-state and date/time semantics, idempotency, pagination, response/exception branches and the allowed correction/reversal workflow. Test positive and negative cases with synthetic data. This source reference does not establish external certification or replace an illustrated user procedure.
Pinned source evidence
Links require access to the private source repository.
- repositories/platform/mansoq-core/config/api_router.py:983
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:80
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:121
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:89
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/operations_base.py:629
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:113
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:104
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:263
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/operations_base.py:591
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:127
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:140
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:157
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:271
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:289
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:216
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:302
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:295
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:316
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:242
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:324
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:294
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:374
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:411
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:431
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:481
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/integration.py:520