committed by
Abhay Chawla
parent
c2bd5d1444
commit
357b3731cc
@@ -105,6 +105,10 @@ export class ClientsService {
|
||||
return this.http.get(`/clients/${parentEntityId}/documents/${documentId}/attachment`, { responseType: 'blob' });
|
||||
}
|
||||
|
||||
uploadClientDocument(clientId: string, documentData: any) {
|
||||
return this.http.post(`/clients/${clientId}/documents`, documentData);
|
||||
}
|
||||
|
||||
deleteClientDocument(parentEntityId: string, documentId: string) {
|
||||
return this.http.delete(`/clients/${parentEntityId}/documents/${documentId}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user