From: A A <ab...@gm...> - 2024-02-08 17:02:06
|
<div dir="auto">Hello<div><br></div><div>Please add tenant identifier. </div><div><br></div><div>Add this at the end of your URL:</div><div><span style="font-family: sans-serif;">&&tenantIdentifier=default&pretty=true</span></div><div><span style="font-family: sans-serif;"><br></span></div><div><span style="font-family: sans-serif;"><br></span></div><div>https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule</div><div><br></div><div>IT will work for you. </div><div>Regards, </div><div><br></div><div>Abiy A. </div><div><br><br>Sent from my Huawei phone</div></div><div style="line-height:1.5"><br><br>-------- Original message --------<br>From: Dinesh Pattnaik <din...@fi...><br>Date: Thu, Feb 8, 2024, 7:38 PM<br>To: mif...@li...<br>Subject: Re: [Mifos-developer] Getting issue on API<br><blockquote><div dir="ltr"> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> <br /> </div> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> <br /> </div> <div><span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">Hi Team,</span></div> <div style="text-align:left;text-indent:0px;background-color:rgb( 255 , 255 , 255 );margin:0px"> <span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"><br /> </span></div> <div style="text-align:left;text-indent:0px;background-color:rgb( 255 , 255 , 255 );margin:0px"> <span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">I have tried below mentioned API along with payload. I am facing with some errors with message "<b>Bad Request</b>". </span><span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:16px;color:rgb( 0 , 0 , 0 );background-color:rgb( 255 , 255 , 255 )">Can you please help us with the valid payload for below url ?</span></div> <div style="text-align:left;text-indent:0px;background-color:rgb( 255 , 255 , 255 );margin:0px"> <span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"><br /> </span></div> <p style="text-align:left;text-indent:0px;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"><a href="https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule" style="margin:0px">https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule</a></span></p> <p style="text-align:left;text-indent:0px;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">{<!-- --><br /> "productId": 20,<br /> "dateFormat": "dd MMMM yyyy",<br /> "clientId": 623,<br /> "locale": "en_US",<br /> "principal": "719.2",<br /> "loanType": "individual",<br /> "loanTermFrequency": 1,<br /> "loanTermFrequencyType": 2,<br /> "numberOfRepayments": 3,<br /> "repaymentEvery": 1,<br /> "repaymentFrequencyType": 2,<br /> "interestRatePerPeriod": 13.34,<br /> "amortizationType": 1,<br /> "interestType": 1,<br /> "interestCalculationPeriodType": 1,<br /> "expectedDisbursementDate": "05 February 2024",<br /> "transactionProcessingStrategyId": 1,<br /> "submittedOnDate": "05 February 2024"<br /> }</span></p> <div style="text-align:left;text-indent:0px;background-color:rgb( 255 , 255 , 255 );margin:0px"> <span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"><br /> </span></div> <div style="text-align:left;text-indent:0px;background-color:rgb( 255 , 255 , 255 );margin:0px"> <span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">Thanks,</span></div> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> <br /> </div> <div> <p style="margin-top:0px;margin-bottom:0px"><span style="font-family:'arial' , sans-serif;font-size:13.31px;color:rgb( 1 , 76 , 142 )"><b>Dinesh Pattnaik</b></span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 );font-weight:700">Senior Software Engineer</span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 )">+91- 9556666878</span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 )"><br /> </span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 )"><img style="max-width:800px;margin-top:0px;margin-bottom:0px" src="cid:d1261ce2-fec7-44e5-9093-f43b7c8777f6" /></span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 17 , 85 , 204 )"><a href="https://finbraine.com/" style="margin:0px">https://www.finbraine.com</a></span></p> </div> <div></div> <hr style="display:inline-block;width:98%" /> <div dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dinesh Pattnaik<br /> <b>Sent:</b> Wednesday, February 7, 2024 5:19 PM<br /> <b>To:</b> mif...@li... <mif...@li...><br /> <b>Subject:</b> Getting issue on API</font> <div> </div> </div> <div dir="ltr"> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> Hi Team,</div> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> <br /> </div> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> I have tried below mentioned API along with payload. I am facing with some errors with message "<b>Bad Request</b>". Can you please check and let me know.</div> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> <br /> </div> <p style="margin-top:0px;margin-bottom:0px"><span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"><a href="https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule" style="margin-top:0px;margin-bottom:0px">https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule</a></span></p> <p><span style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">{<!-- --><br /> "productId": 20,<br /> "dateFormat": "dd MMMM yyyy",<br /> "clientId": 623,<br /> "locale": "en_US",<br /> "principal": "719.2",<br /> "loanType": "individual",<br /> "loanTermFrequency": 1,<br /> "loanTermFrequencyType": 2,<br /> "numberOfRepayments": 3,<br /> "repaymentEvery": 1,<br /> "repaymentFrequencyType": 2,<br /> "interestRatePerPeriod": 13.34,<br /> "amortizationType": 1,<br /> "interestType": 1,<br /> "interestCalculationPeriodType": 1,<br /> "expectedDisbursementDate": "05 February 2024",<br /> "transactionProcessingStrategyId": 1,<br /> "submittedOnDate": "05 February 2024"<br /> }</span></p> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> <br /> </div> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> Thanks,</div> <div style="font-family:'aptos' , 'aptos_embeddedfont' , 'aptos_msfontservice' , 'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )"> <br /> </div> <div> <p style="margin-top:0px;margin-bottom:0px"><span style="font-family:'arial' , sans-serif;font-size:13.31px;color:rgb( 1 , 76 , 142 )"><b>Dinesh Pattnaik</b></span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 );font-weight:700">Senior Software Engineer</span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 )">+91- 9556666878</span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 )"><br /> </span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 1 , 76 , 142 )"><img style="max-width:800px;margin-top:0px;margin-bottom:0px" src="cid:8a864209-27e0-4fc6-99e6-b5f3de82e26e" /></span></p> <p style="direction:ltr;text-align:left;line-height:1.38;background-color:rgb( 255 , 255 , 255 );margin-top:0px;margin-bottom:0px"> <span style="font-family:'arial' , sans-serif;font-size:10pt;color:rgb( 17 , 85 , 204 )"><a href="https://finbraine.com/" style="margin:0px">https://www.finbraine.com</a></span></p> </div> </div> </div> </blockquote></div> |