Mihaly Dallos created FINERACT-1947:
---------------------------------------

             Summary: API validation should follow REST pattern
                 Key: FINERACT-1947
                 URL: https://issues.apache.org/jira/browse/FINERACT-1947
             Project: Apache Fineract
          Issue Type: Improvement
            Reporter: Mihaly Dallos


The API validation ignores the entity ids which aren't for the primary entity. 
An example is the repayment reversal: PUT 
{{/loans/1/transactions/2?command=undo}} , where loan id: *{{1}}* has nothing 
to do with transaction id {*}{{2}}{*}, nevertheless it's accepted.
{panel}
*Acceptance criteria*
 * If unrelated entities are referred in the API call, there should be {{http 
404}} response
{panel}



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

Reply via email to