[ 
https://issues.apache.org/jira/browse/FINERACT-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dhananjay Bhagat updated FINERACT-2487:
---------------------------------------
    Description: 
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.

  was:
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.


> 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
>            Priority: Minor
>              Labels: beginner-friendly
>
> 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