From c61a4fe7f42a46e480ae9c9dc3f9bbd2e8a772db Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Thu, 9 Feb 2023 17:33:27 +0100 Subject: [PATCH] Aw4645 Add get item to admin service --- projects/common/src/fm/services/admin.service.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/common/src/fm/services/admin.service.ts b/projects/common/src/fm/services/admin.service.ts index de4ecf5..1e8b60f 100644 --- a/projects/common/src/fm/services/admin.service.ts +++ b/projects/common/src/fm/services/admin.service.ts @@ -16,6 +16,10 @@ export class AdminService { return this.appConfig.getConfig("apiEndPoint"); } + getItem(code: string): Observable { + return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/admin/${code}`); + } + getItemList(itemType?: string, dataFilter?: any, level?: number, atItemLocationItemCode?: string, indexed?: boolean, validToday?: boolean): Observable { var params = new HttpParams(); if(itemType) params = params.append("it", itemType);