From: VICTOR M. R. R. <vic...@fi...> - 2024-02-08 17:34:36
|
Check the swagger https://sandbox.mifos.community/fineract-provider/swagger-ui/index.html#/ Make sure you are including in the headers the fineract-tenant-id and the authorization El jue, 8 feb 2024 a las 11:21, Dinesh Pattnaik (< din...@fi...>) escribió: > Hi Team, > > Can you please help us with the payload for this API ? > > api/v1/loans?command=calculateLoanSchedule > <https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule> > > Thanks, > > > *Dinesh Pattnaik* > > Senior Software Engineer > > +91- 9556666878 > > > https://www.finbraine.com <https://finbraine.com/> > ------------------------------ > *From:* Dinesh Pattnaik <din...@fi...> > *Sent:* Wednesday, February 7, 2024 5:57 PM > *To:* mif...@li... < > mif...@li...> > *Subject:* Re: Getting issue on API > > > > Hi Team, > > I have tried below mentioned API along with payload. I am facing with some > errors with message "*Bad Request*". Can you please help us with the > valid payload for below url ? > > > https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule > > { > "productId": 20, > "dateFormat": "dd MMMM yyyy", > "clientId": 623, > "locale": "en_US", > "principal": "719.2", > "loanType": "individual", > "loanTermFrequency": 1, > "loanTermFrequencyType": 2, > "numberOfRepayments": 3, > "repaymentEvery": 1, > "repaymentFrequencyType": 2, > "interestRatePerPeriod": 13.34, > "amortizationType": 1, > "interestType": 1, > "interestCalculationPeriodType": 1, > "expectedDisbursementDate": "05 February 2024", > "transactionProcessingStrategyId": 1, > "submittedOnDate": "05 February 2024" > } > > Thanks, > > *Dinesh Pattnaik* > > Senior Software Engineer > > +91- 9556666878 > > > https://www.finbraine.com <https://finbraine.com/> > ------------------------------ > *From:* Dinesh Pattnaik > *Sent:* Wednesday, February 7, 2024 5:19 PM > *To:* mif...@li... < > mif...@li...> > *Subject:* Getting issue on API > > Hi Team, > > I have tried below mentioned API along with payload. I am facing with some > errors with message "*Bad Request*". Can you please check and let me know. > > > https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule > > { > "productId": 20, > "dateFormat": "dd MMMM yyyy", > "clientId": 623, > "locale": "en_US", > "principal": "719.2", > "loanType": "individual", > "loanTermFrequency": 1, > "loanTermFrequencyType": 2, > "numberOfRepayments": 3, > "repaymentEvery": 1, > "repaymentFrequencyType": 2, > "interestRatePerPeriod": 13.34, > "amortizationType": 1, > "interestType": 1, > "interestCalculationPeriodType": 1, > "expectedDisbursementDate": "05 February 2024", > "transactionProcessingStrategyId": 1, > "submittedOnDate": "05 February 2024" > } > > Thanks, > > *Dinesh Pattnaik* > > Senior Software Engineer > > +91- 9556666878 > > > https://www.finbraine.com <https://finbraine.com/> > Mifos-developer mailing list > mif...@li... > Unsubscribe or change settings at: > https://lists.sourceforge.net/lists/listinfo/mifos-developer > |