Ralph Hopman created FINERACT-2606:
--------------------------------------

             Summary: Add support for rejecting loan reschedule requests via 
Batch API
                 Key: FINERACT-2606
                 URL: https://issues.apache.org/jira/browse/FINERACT-2606
             Project: Apache Fineract
          Issue Type: Improvement
          Components: Loan
            Reporter: Ralph Hopman
            Assignee: Ralph Hopman


I need to be able to reject loan reschedule requests through the batch API, so 
that I can manage loan reschedule workflows without making individual API calls.

Currently, the batch API supports approving loan reschedule requests. This 
story extends that functionality to also support rejecting them.
 * The batch API will support a new endpoint: \{{POST /v1/rescheduleloans/ 
{id}?command=reject}}

 * When a reject command is sent through the batch API, it will delegate to the 
existing {{RescheduleLoansApiResource.updateLoanRescheduleRequest()}} method 
with the "reject" command parameter
 * The endpoint will return HTTP 200 OK with the reschedule request response 
body
 * The reject command strategy will follow the same pattern as the existing 
approve loan reschedule command strategy
 * Unit tests will cover the new endpoint registration and strategy resolution



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

Reply via email to