Merged PR 2431: Add case details API grouping facade

Add case details API grouping facade

Related work items: #23754
This commit is contained in:
Robert Bond
2026-06-25 09:22:12 +00:00
parent f9f78548b0
commit a1b89d19b8
10 changed files with 347 additions and 5 deletions
+4 -4
View File
@@ -5,7 +5,7 @@ import { getJson, requestJson } from "../clients/endpointClient";
import { buildFileQuery, withBaseUrl } from "../clients/fileRouteBuilder";
export const getCaseMessage = (searchString) => {
const route = buildFileQuery("/api/endpoint/getcasemessage_api", {
const route = buildFileQuery("/api/cases/get-case-message", {
id: searchString
});
@@ -13,7 +13,7 @@ export const getCaseMessage = (searchString) => {
};
export const getIncidentbyID = (searchString) => {
const route = buildFileQuery("/api/endpoint/getincidentbyid_api", {
const route = buildFileQuery("/api/cases/get-incident-by-id", {
searchString
});
@@ -37,7 +37,7 @@ export const getPartSavedAppeal = (searchString) => {
};
export const getSIPSEvents = async (caseid) => {
const route = buildFileQuery("/api/endpoint/getsipsevents_api", {
const route = buildFileQuery("/api/cases/get-sips-events", {
caseid
});
@@ -45,7 +45,7 @@ export const getSIPSEvents = async (caseid) => {
};
export const getSIPSMedia = async (caseid) => {
const route = buildFileQuery("/api/endpoint/getsipsmedia_api", {
const route = buildFileQuery("/api/cases/get-sips-media", {
caseid
});