From: Dinesh P. <din...@fi...> - 2024-02-08 17:11:36
|
Hi Abiyat, Thank you for your help. But there is no luck with the below urls. Can you please check and let me know. https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule&&tenantIdentifier=default&pretty=true https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule&tenantIdentifier=default&pretty=true Thanks & Regards, Dinesh Pattnaik Senior Software Engineer +91- 9556666878 [cid:98d796e8-70e8-4f04-b213-91f5e2a14954] https://www.finbraine.com<https://finbraine.com/> ________________________________ From: A A <ab...@gm...> Sent: Thursday, February 8, 2024 10:30 PM To: Dinesh Pattnaik <din...@fi...>; mif...@li... <mif...@li...> Subject: Re:[Mifos-developer] Getting issue on API Hello Please add tenant identifier. Add this at the end of your URL: &&tenantIdentifier=default&pretty=true https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule IT will work for you. Regards, Abiy A. Sent from my Huawei phone -------- Original message -------- From: Dinesh Pattnaik <din...@fi...> Date: Thu, Feb 8, 2024, 7:38 PM To: mif...@li... Subject: Re: [Mifos-developer] 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 [cid:d1261ce2-fec7-44e5-9093-f43b7c8777f6] 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 [cid:8a864209-27e0-4fc6-99e6-b5f3de82e26e] https://www.finbraine.com<https://finbraine.com/> |