{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-client-mansoq-web-teleicu-src-pages-encounters-encounterlist-tsx","title":"Encounter List client API reference · mansoq-web-teleicu","summary":"2 client route/call declarations with path parameters, named payload/response types and source references. Exact server acceptance and permissions require the matched backend contract.","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":"Client contract scope","body":"These 2 declarations come from **repositories/teleicu/mansoq-web-teleicu/src/pages/Encounters/EncounterList.tsx**. Client types and noAuth flags describe the caller; they do not authorize a server action. Dynamic paths and missing backend matches are retained as review work, not repaired into invented endpoints."},{"title":"Operation map","body":"| Client method | HTTP method | Path pattern | Resolution |\n| --- | --- | --- | --- |\n| queryFn | GET | `/api/v1/facility/{facilityId}/organizations/{organizationId}/` | literal |\n| queryFn | GET | `/api/v1/users/{username}/` | literal |"},{"title":"queryFn","body":"**GET /api/v1/facility/{facilityId}/organizations/{organizationId}/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `facilityId`, `organizationId`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**response type:** `not statically declared`. manual contract review required.\n\n**Operational limitation:** request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use."},{"title":"queryFn","body":"**GET /api/v1/users/{username}/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `username`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**response type:** `not statically declared`. manual contract review required.\n\n**Operational limitation:** request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use."}],"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-web-teleicu/src/pages/Encounters/EncounterList.tsx","line":403,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/teleicu/mansoq-web-teleicu/src/pages/Encounters/EncounterList.tsx","line":419,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["frontend-operation-a89b4d6e5dc75b9456","frontend-operation-b8ac16d9fc81bd37f3"]},"backend":{"resources":[],"operations":[],"methodEvidence":[],"schemas":[],"frameworkSettings":[]},"frontend":{"operations":[{"id":"frontend-operation-a89b4d6e5dc75b9456","repository":"repositories/teleicu/mansoq-web-teleicu","apiModule":"repositories/teleicu/mansoq-web-teleicu/src/pages/Encounters/EncounterList.tsx","operationKey":"queryFn","method":"GET","path":"/api/v1/facility/{facilityId}/organizations/{organizationId}/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/teleicu/mansoq-web-teleicu/src/pages/Encounters/EncounterList.tsx","line":403,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"facilityId","type":"path string; semantic ID type requires contract confirmation","required":true},{"name":"organizationId","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":null,"response":{"type":"not statically declared","schemaIds":[],"reviewStatus":"manual contract review required"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-aca201726c1d5301:GET:retrieve","backend-resource-d52e3dc3efb1c7e4:GET:retrieve"],"sourceFamily":"alternative/legacy frontend source","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-b8ac16d9fc81bd37f3","repository":"repositories/teleicu/mansoq-web-teleicu","apiModule":"repositories/teleicu/mansoq-web-teleicu/src/pages/Encounters/EncounterList.tsx","operationKey":"queryFn","method":"GET","path":"/api/v1/users/{username}/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/teleicu/mansoq-web-teleicu/src/pages/Encounters/EncounterList.tsx","line":419,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"username","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":null,"response":{"type":"not statically declared","schemaIds":[],"reviewStatus":"manual contract review required"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-d478b9e7c8e40160:GET:retrieve","backend-resource-35ab081f23510898:GET:retrieve"],"sourceFamily":"alternative/legacy frontend source","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"}],"schemas":[]},"services":{"operations":[]},"boundaries":[]}