Compare commits
2 Commits
306065dcbd
...
d42aad87bd
Author | SHA1 | Date | |
---|---|---|---|
d42aad87bd | |||
415ee8ef30 |
@ -23,8 +23,8 @@ export class CodeListItemService {
|
|||||||
return this.httpClient.get<ICodeListItem[]>(`${this.ApiEndpoint()}/api/v1/codelistitems/`, { params: params });
|
return this.httpClient.get<ICodeListItem[]>(`${this.ApiEndpoint()}/api/v1/codelistitems/`, { params: params });
|
||||||
}
|
}
|
||||||
|
|
||||||
postCodeListItem(codeListItem: ICodeListItem): Observable<ICodeListItem> {
|
postCodeListItem(codeList: string, codeListItem: ICodeListItem): Observable<ICodeListItem> {
|
||||||
return this.httpClient.post<ICodeListItem>(`${this.ApiEndpoint()}/api/v1/codelistitems/${codeListItem.codeList}`, codeListItem);
|
return this.httpClient.post<ICodeListItem>(`${this.ApiEndpoint()}/api/v1/codelistitems/${codeList}`, codeListItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
putCodeListItem(codeListItem: ICodeListItem): Observable<ICodeListItem> {
|
putCodeListItem(codeListItem: ICodeListItem): Observable<ICodeListItem> {
|
||||||
|
Loading…
Reference in New Issue
Block a user