{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-mansoq-core-batchrequestview-b08a1a0f","title":"Batch Request View API reference · mansoq-core","summary":"Static source contract for Batch Request 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-core** at `/api/v1/batch_requests/`. verified core mount in config/urls.py 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/v1/batch_requests/` | create | declared/inherited method |"},{"title":"create · POST","body":"**POST /api/v1/batch_requests/** — action `create`. static contract extracted; runtime/permission/payload behavior review pending.\n\n**decorator request: BatchRequest**. Declared fields below; inherited fields are retained in the schema inventory.\n\n| Field | Type | Required | Constraints |\n| --- | --- | --- | --- |\n| requests | list[Request] | true | min_length: 1 |\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**Explicit response statuses in observed code:** 400, 500. 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/platform/mansoq-core/config/api_router.py","line":217,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":33,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":40,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["backend-resource-5e3f5697b08a1a0f","backend-resource-5e3f5697b08a1a0f:POST:create"]},"backend":{"resources":[{"id":"backend-resource-5e3f5697b08a1a0f","localPrefix":"batch_requests","viewset":"BatchRequestView","classId":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.BatchRequestView","basename":"batch-requests","source":{"path":"repositories/platform/mansoq-core/config/api_router.py","line":217,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"conditions":[],"repository":"repositories/platform/mansoq-core","classSource":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":33,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","path":"/api/v1/batch_requests/","mountStatus":"verified core mount in config/urls.py","operationIds":["backend-resource-5e3f5697b08a1a0f:POST:create"],"unresolvedViewset":false,"reviewStatus":"registered resource enumerated; behavioral review pending"}],"operations":[{"id":"backend-resource-5e3f5697b08a1a0f:POST:create","resourceId":"backend-resource-5e3f5697b08a1a0f","repository":"repositories/platform/mansoq-core","boundary":"primary-core","method":"POST","path":"/api/v1/batch_requests/","declaredPattern":"/api/v1/batch_requests/","action":"create","viewset":"BatchRequestView","classId":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.BatchRequestView","detail":false,"allowedByDeclaredHttpMethods":true,"mountStatus":"verified core mount in config/urls.py","routeEvidence":{"path":"repositories/platform/mansoq-core/config/api_router.py","line":217,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":40,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"declared/inherited method","methodEvidenceIds":["repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py:40:create"],"schemaIds":{"decorator request":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.BatchRequest"},"classPermissionEvidence":[],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[]}],"methodEvidence":[{"id":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py:40:create","name":"create","owner":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.BatchRequestView","summary":"","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":40,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[{"value":400,"symbol":null,"source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":70,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"value":500,"symbol":null,"source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":72,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"conditions":[],"schemaIds":["repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.BatchRequest"],"schemaUsages":[{"purpose":"decorator request","schemaId":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.BatchRequest","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"}],"schemas":[{"id":"repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.BatchRequest","name":"BatchRequest","source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"kind":"Python declared schema/model evidence","fields":[{"name":"requests","type":"list[Request]","required":true,"hasDefault":true,"source":{"path":"repositories/platform/mansoq-core/mansoq/emr/api/viewsets/batch_request.py","line":20,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"constraints":{"min_length":1}}],"validation":[],"baseTypes":["BaseModel"],"reviewStatus":"declared fields extracted; runtime validation review pending","referencedSchemaIds":["repositories/platform/mansoq-core:mansoq.emr.api.viewsets.batch_request.Request"]}],"frameworkSettings":[{"name":"DEFAULT_AUTHENTICATION_CLASSES","value":["config.authentication.CustomJWTAuthentication","config.authentication.CustomBasicAuthentication","rest_framework.authentication.SessionAuthentication","rest_framework.authentication.TokenAuthentication"],"source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"},{"name":"DEFAULT_PERMISSION_CLASSES","value":["rest_framework.permissions.IsAuthenticated","mansoq.security.utils.permission_class.MansoqAuthentication"],"source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"},{"name":"DEFAULT_PAGINATION_CLASS","value":"mansoq.utils.pagination.mansoq_pagination.MansoqLimitOffsetPagination","source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"},{"name":"PAGE_SIZE","value":14,"source":{"path":"repositories/platform/mansoq-core/config/settings/base.py","line":372,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"scope":"source default; deployment overrides and action-level policies may differ"}]},"frontend":{"operations":[],"schemas":[]},"services":{"operations":[]},"boundaries":[]}