{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-mansoq-hcx-preauthonsubmitview-44fc99eb","title":"Pre Auth On Submit View API reference · mansoq-hcx","summary":"Static source contract for Pre Auth On Submit View: 1 declared or inherited operation mappings, schema/field evidence and authorization/refusal references. Deployment and behavioral review remain explicit.","module":"IT & integrations","roles":["IT administrator","Developer","Integration engineer"],"facilities":["All configured facility types"],"kind":"reference","minutes":3,"prerequisites":["Use the API contract from the installed deployment and an authorized synthetic test environment.","Confirm facility/organization scope, action permissions and optional app enablement.","This reference is static source evidence; complete payload, authorization, failure and end-to-end review remains recorded as pending."],"steps":[],"sections":[{"title":"Declared route and availability","body":"This resource is declared in **mansoq-hcx** at `/api/{installed_plugin_prefix}/preauth/on_submit`. plugin/local mount; actual prefix and enablement require deployment verification A registered path and an indexed handler do not prove deployment availability, user permission or production readiness."},{"title":"Operation map","body":"| Method | Path | Action | Evidence |\n| --- | --- | --- | --- |\n| POST | `/api/{installed_plugin_prefix}/preauth/on_submit` | post | explicit Django path/view declaration |"},{"title":"post · POST","body":"**POST /api/{installed_plugin_prefix}/preauth/on_submit** — action `post`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n\nDirectly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):\n\n| Location | Field | Declared/inferred read type | Requiredness evidence |\n| --- | --- | --- | --- |\n| body | `payload` | not declared at read site | direct indexing; validation may be upstream |\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Class policy declarations:** permission_classes: AllowAny; authentication_classes: .\n\n**Explicit response statuses in observed code:** status.HTTP_202_ACCEPTED. Other branches/framework exception handling may differ."},{"title":"Integration review checklist","body":"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."}],"troubleshooting":[{"problem":"A declared route is unavailable or a request is rejected","solution":"Compare the installed revision, actual API schema, optional plugin mount, HTTP-method restrictions and recorded validation/permission evidence. Do not bypass a refusal or send a production transaction to test documentation."}],"sources":[{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py","line":49,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["backend-path-3f045c7d44fc99eb","backend-path-3f045c7d44fc99eb:POST:post"]},"backend":{"resources":[{"id":"backend-path-3f045c7d44fc99eb","declaredPath":"preauth/on_submit","dynamicPath":false,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"conditions":[],"kind":"view","view":"PreAuthOnSubmitView","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.listener.PreAuthOnSubmitView","actionMapping":null,"operationIds":["backend-path-3f045c7d44fc99eb:POST:post"],"path":"/api/{installed_plugin_prefix}/preauth/on_submit","mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","reviewStatus":"direct route enumerated; behavioral review pending"}],"operations":[{"id":"backend-path-3f045c7d44fc99eb:POST:post","resourceId":"backend-path-3f045c7d44fc99eb","repository":"repositories/teleicu/mansoq-hcx","boundary":"optional-plugin/local-service","method":"POST","path":"/api/{installed_plugin_prefix}/preauth/on_submit","declaredPattern":"preauth/on_submit","action":"post","viewset":"PreAuthOnSubmitView","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.listener.PreAuthOnSubmitView","detail":null,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py","line":49,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"explicit Django path/view declaration","decoratorStatus":null,"decoratorPolicy":{},"methodEvidenceIds":["repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py:49:post"],"schemaIds":{},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["AllowAny"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py","line":45,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"kind":"authentication_classes","declaration":[],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py","line":46,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]}],"methodEvidence":[{"id":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py:49:post","name":"post","owner":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.listener.PreAuthOnSubmitView","summary":"","source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py","line":49,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[{"name":"payload","in":"body","type":"not declared at read site","required":"direct indexing; validation may be upstream","readStyle":"indexed","source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[{"value":null,"symbol":"status.HTTP_202_ACCEPTED","source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/listener.py","line":68,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"}],"schemas":[],"frameworkSettings":[]},"frontend":{"operations":[],"schemas":[]},"services":{"operations":[]},"boundaries":[]}