manage fees api integration updates

This commit is contained in:
Cyril Joseph 2025-06-09 22:26:31 -03:00
parent e527a971ea
commit 9719351a46
6 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ export class BasicFeeService {
constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { } constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { }
getBasicFees(spid: number): Observable<BasicFee[]> { getBasicFees(spid: number): Observable<BasicFee[]> {
return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetBasicFeeRates?P_SPID=${spid}&P_ACTIVE_INACTIVE=ACTIVE`).pipe( return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetBasicFeeRates/${spid}/ACTIVE`).pipe(
map(response => this.mapToBasicFees(response))); map(response => this.mapToBasicFees(response)));
} }

View File

@ -16,7 +16,7 @@ export class CarnetFeeService {
constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { } constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { }
getFeeCommissions(spid: number): Observable<CarnetFee[]> { getFeeCommissions(spid: number): Observable<CarnetFee[]> {
return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetFeeComm?P_SPID=${spid}&P_ACTIVE_INACTIVE=ACTIVE`).pipe( return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetFeeComm/${spid}/ACTIVE`).pipe(
map(response => this.mapToFeeCommissions(response))); map(response => this.mapToFeeCommissions(response)));
} }

View File

@ -16,7 +16,7 @@ export class ContinuationSheetFeeService {
constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { } constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { }
getContinuationSheets(spid: number): Observable<ContinuationSheetFee[]> { getContinuationSheets(spid: number): Observable<ContinuationSheetFee[]> {
return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetCsFeeRates?P_SPID=${spid}&P_ACTIVE_INACTIVE=ACTIVE`).pipe( return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetCsFeeRates/${spid}/ACTIVE`).pipe(
map(response => this.mapToContinuationSheetFee(response))); map(response => this.mapToContinuationSheetFee(response)));
} }

View File

@ -16,7 +16,7 @@ export class CounterfoilFeeService {
constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { } constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { }
getCounterfoils(spid: number): Observable<CounterfoilFee[]> { getCounterfoils(spid: number): Observable<CounterfoilFee[]> {
return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetCfFeeRates?P_SPID=${spid}&P_ACTIVE_INACTIVE=ACTIVE`).pipe( return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetCfFeeRates/${spid}/ACTIVE`).pipe(
map(response => this.mapToCounterFoilFee(response))); map(response => this.mapToCounterFoilFee(response)));
} }

View File

@ -16,7 +16,7 @@ export class ExpeditedFeeService {
constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { } constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { }
getExpeditedFees(spid: number): Observable<ExpeditedFee[]> { getExpeditedFees(spid: number): Observable<ExpeditedFee[]> {
return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetEfFeeRates?P_SPID=${spid}&P_ACTIVE_INACTIVE=ACTIVE`).pipe( return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetEfFeeRates/${spid}/ACTIVE`).pipe(
map(response => this.mapToExpeditedFee(response))); map(response => this.mapToExpeditedFee(response)));
} }

View File

@ -16,7 +16,7 @@ export class SecurityDepositService {
constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { } constructor(private http: HttpClient, private userService: UserService, private commonService: CommonService) { }
getSecurityDeposits(spid: number): Observable<SecurityDeposit[]> { getSecurityDeposits(spid: number): Observable<SecurityDeposit[]> {
return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetBondRates?P_SPID=${spid}&P_ACTIVE_INACTIVE=ACTIVE`).pipe( return this.http.get<any[]>(`${this.apiUrl}/${this.apiDb}/GetBondRates/${spid}/ACTIVE`).pipe(
map(response => this.mapToSecurityDeposit(response))); map(response => this.mapToSecurityDeposit(response)));
} }