From: José A. H. <al...@ar...> - 2024-02-08 19:50:01
|
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hello! <div><br></div><div>In general the payload is the same as the POST Loan request, but maybe you are missing the Fineract-Platform-TenantId header</div><div><br></div><div>Thanks and best regards</div><div>Alberto</div><div><br id="lineBreakAtBeginningOfSignature"><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On 8 Feb 2024, at 11:36 a.m., Dinesh Pattnaik <din...@fi...> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> Hi Team,</div> <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> <br> </div> <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> Can you please help us with the payload for this API ?</div> <div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> <br> </div> <div class="elementToProof"><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);"><a href="https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateLoanSchedule" target="_blank" id="OWA43d9d51f-8050-921b-ba32-f3a026178e11" class="OWAAutoLink" title="https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateloanschedule" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="0" style="margin: 0px; background-color: rgb(255, 255, 255); text-align: left;">api/v1/loans?command=calculateLoanSchedule</a></span></div> <div class="elementToProof"><br> </div> <div class="elementToProof"><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 class="elementToProof"><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> <div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> <br> </div> <div id="Signature"> <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);"><div><Outlook-nlqucwa4.png></div></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/" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="1" style="margin: 0px;">https://www.finbraine.com</a></span></p> </div> </div> </div> <div id="appendonsend"></div> <hr style="display:inline-block;width:98%" tabindex="-1"> <div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dinesh Pattnaik <din...@fi...><br> <b>Sent:</b> Wednesday, February 7, 2024 5:57 PM<br> <b>To:</b> mif...@li... <mif...@li...><br> <b>Subject:</b> Re: Getting issue on API</font> <div> </div> </div> <div dir="ltr"> <div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> <br> </div> <div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> <br> </div> <div class="x_elementToProof"><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 class="x_elementToProof" 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" target="_blank" id="OWAf9c2669d-1ca2-95d0-6652-fbb04158f549" class="x_x_fui-Link x_x____1rxvrpe x_x_f2hkw1w x_x_f3rmtva x_x_f1ewtqcl x_x_fyind8e x_x_f1k6fduh x_x_f1w7gpdv x_x_fk6fouc x_x_fjoy568 x_x_figsok6 x_x_f1hu3pq6 x_x_f11qmguv x_x_f19f4twv x_x_f1tyq0we x_x_f1g0x7ka x_x_fhxju0i x_x_f1qch9an x_x_f1cnd47f x_x_fqv5qza x_x_f1vmzxwi x_x_f1o700av x_x_f13mvf36 x_x_f1cmlufx x_x_f9n3di6 x_x_f1ids18y x_x_f1tx3yz7 x_x_f1deo86v x_x_f1eh06m1 x_x_f1iescvh x_x_fhgqx19 x_x_f1olyrje x_x_f1p93eir x_x_f1nev41a x_x_f1h8hb77 x_x_f1lqvz6u x_x_f10aw75t x_x_fsle3fq x_x_f17ae5zn x_x_OWAAutoLink" title="https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateloanschedule" rel="noreferrer noopener" data-auth="NotApplicable" data-linkindex="0" 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 class="x_elementToProof" 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 id="x_Signature"> <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)"><div><Outlook-3p2uhjlz.png></div></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/" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="1" style="margin:0px">https://www.finbraine.com</a></span></p> </div> <div id="x_appendonsend"></div> <hr tabindex="-1" style="display:inline-block; width:98%"> <div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><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 class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> Hi Team,</div> <div class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> <br> </div> <div class="x_x_elementToProof" 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 class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> <br> </div> <p class="x_x_elementToProof" 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" target="_blank" id="OWA7b63cf44-1f21-8872-9346-92cc1a037bfb" class="x_x_fui-Link x_x____1rxvrpe x_x_f2hkw1w x_x_f3rmtva x_x_f1ewtqcl x_x_fyind8e x_x_f1k6fduh x_x_f1w7gpdv x_x_fk6fouc x_x_fjoy568 x_x_figsok6 x_x_f1hu3pq6 x_x_f11qmguv x_x_f19f4twv x_x_f1tyq0we x_x_f1g0x7ka x_x_fhxju0i x_x_f1qch9an x_x_f1cnd47f x_x_fqv5qza x_x_f1vmzxwi x_x_f1o700av x_x_f13mvf36 x_x_f1cmlufx x_x_f9n3di6 x_x_f1ids18y x_x_f1tx3yz7 x_x_f1deo86v x_x_f1eh06m1 x_x_f1iescvh x_x_fhgqx19 x_x_f1olyrje x_x_f1p93eir x_x_f1nev41a x_x_f1h8hb77 x_x_f1lqvz6u x_x_f10aw75t x_x_fsle3fq x_x_f17ae5zn x_x_OWAAutoLink" title="https://20.204.155.23:8443/fineract-provider/api/v1/loans?command=calculateloanschedule" rel="noreferrer noopener" 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 class="x_x_elementToProof" 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 class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> <br> </div> <div class="x_x_elementToProof" 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 id="x_x_Signature"> <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)"><div><Outlook-kg42gqdy.png></div></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/" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="1" style="margin:0px">https://www.finbraine.com</a></span></p> </div> </div> </div> <span>Mifos-developer mailing list</span><br><span>mif...@li...</span><br><span>Unsubscribe or change settings at:</span><br><span>https://lists.sourceforge.net/lists/listinfo/mifos-developer</span></div></blockquote></div></body></html> |