Dhananjay Bhagat created FINERACT-2487:
------------------------------------------

             Summary: interestPostingPeriodType is mandatory but missing from 
Recurring Deposit Product create API documentation
                 Key: FINERACT-2487
                 URL: https://issues.apache.org/jira/browse/FINERACT-2487
             Project: Apache Fineract
          Issue Type: Improvement
          Components: Savings
    Affects Versions: 1.15.0
            Reporter: Dhananjay Bhagat


When creating a Recurring Deposit Product using the POST 
/v1/recurringdepositproducts endpoint, the backend validation requires the 
parameter "interestPostingPeriodType".
 
If the parameter is omitted, the API returns a 400 Bad Request with validation 
error.
 
However, this field is not documented as mandatory in the API documentation.
h3. Steps to Reproduce:

1. Call POST /v1/recurringdepositproducts.
2. Provide all required parameters except "interestPostingPeriodType". 
h3. Current Result:
{code:java}
400 Bad Request
"The parameter `interestPostingPeriodType` is mandatory."
{code}
h3. Required Change:

The API documentation should list "interestPostingPeriodType" under mandatory 
parameters.
h3. Impact:

API consumers relying on documentation may send invalid requests with the 
current documentation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to