diff --git a/projects/common/src/fm/services/codelistitem.service.ts b/projects/common/src/fm/services/codelistitem.service.ts index 3900080..54c3cfe 100644 --- a/projects/common/src/fm/services/codelistitem.service.ts +++ b/projects/common/src/fm/services/codelistitem.service.ts @@ -23,6 +23,10 @@ export class CodeListItemService { return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/codelistitems/`, { params: params }); } + getCodeListItem(codeList: string, code: string): Observable { + return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/codelistitems/${codeList}/${code}`); + } + postCodeListItem(codeListItem: ICodeListItem): Observable { return this.httpClient.post(`${this.ApiEndpoint()}/api/v1/codelistitems/${codeListItem.codeList}`, codeListItem); }