You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Mihaly Dallos (Jira)" <ji...@apache.org> on 2023/07/05 14:08:00 UTC

[jira] [Created] (FINERACT-1947) API validation should follow REST pattern

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)