gpt4 book ai didi

java - FineRact API Post recurringdepositaccount 不起作用,并且 Fineract 文档中也未涵盖它

转载 作者:行者123 更新时间:2023-12-02 00:38:33 25 4
gpt4 key购买 nike

postman 中的fineract Post recurringdepositaccount api 响应错误消息:

{
"timestamp": 1568640270686,
"status": 500,
"error": "Internal Server Error",
"exception": "java.lang.NullPointerException",
"message": null,
"path": "/fineract-provider/api/v1/recurringdepositaccounts"
}

这是我的请求正文:

{
"clientId": 67,
"productId": 6,
"locale": "en",
"dateFormat": "dd MMMM yyyy",
"submittedOnDate": "13 September 2019",
"depositPeriodFrequencyId":1,
"depositPeriod":1,
"recurringFrequencyType":1,
"recurringFrequency":1,
"mandatoryRecommendedDepositAmount":1000,
"isCalendarInherited":false,
"preClosurePenalApplicable":false,
"isMandatoryDeposit":true,
"allowWithdrawal": false,
"adjustAdvanceTowardsFuturePayments":false
}

最佳答案

我可以在 https://demo.openmf.org/api-docs/apiLive.htm#rdaccounts 找到文档(向下滚动到所有 GET 示例之外,到达 POST 部分)声明以下必填字段:

clientId or groupId,
productId,
submittedOnDate,
depositPeriod,
depositPeriodFrequencyId,
recurringFrequency,
recurringFrequencyType,
depositAmount,
isCalendarInherited,
mandatoryRecommendedDepositAmount

其中您似乎缺少depositAmount

关于java - FineRact API Post recurringdepositaccount 不起作用,并且 Fineract 文档中也未涵盖它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57958142/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com