Merged PR 2428: Add documents API grouping facade slice
Add documents API grouping facade slice Related work items: #23754
This commit is contained in:
@@ -201,7 +201,7 @@ export const getBasicSearchDetailsPaged = async (
|
||||
|
||||
export const getSearchDocumentDetails = (incidentID) => {
|
||||
return getJson(
|
||||
"/api/endpoint/getsearchdocumentdetails_api?incidentid=" + incidentID
|
||||
"/api/documents/get-search-document-details?incidentid=" + incidentID
|
||||
).catch((error) => {
|
||||
consoleLogger(error);
|
||||
throw error;
|
||||
@@ -210,7 +210,7 @@ export const getSearchDocumentDetails = (incidentID) => {
|
||||
|
||||
export const getSearchDocumentTypes = (incidentID) => {
|
||||
return getJson(
|
||||
"/api/endpoint/getsearchdocumentTypes_api?incidentid=" + incidentID
|
||||
"/api/documents/get-search-document-types?incidentid=" + incidentID
|
||||
).catch((error) => {
|
||||
consoleLogger(error);
|
||||
});
|
||||
@@ -225,7 +225,7 @@ export const getSearchDocumentDetailsPaged = (
|
||||
documentType
|
||||
) => {
|
||||
return getJson(
|
||||
"/api/endpoint/getsearchdocumentdetailspaged_api?incidentid=" +
|
||||
"/api/documents/get-search-document-details-paged?incidentid=" +
|
||||
incidentID +
|
||||
"&pageNumber=" +
|
||||
pageNumber +
|
||||
|
||||
Reference in New Issue
Block a user