diff --git a/projects/common/src/fm/services/item.service.ts b/projects/common/src/fm/services/item.service.ts index 3871b03..e205230 100644 --- a/projects/common/src/fm/services/item.service.ts +++ b/projects/common/src/fm/services/item.service.ts @@ -154,4 +154,12 @@ export class ItemService { if (unfinishedOnly) params = params.append("unfinishedOnly", unfinishedOnly.toString()); return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/${itemcode}/tasks`, { params: params }); } + + getItemListUsingRelationship(itemType: string, relationshipItemType: string, relationshipDataFilter: any): Observable { + var params = new HttpParams(); + params = params.append("it", itemType); + params = params.append("rsit", relationshipItemType); + params = params.append("rsdf", JSON.stringify(relationshipDataFilter)); + return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/userelationship`, { params: params }); + } } \ No newline at end of file