REST API Approval Interface

Under development

Introduction

In the future there will be much more integrations with Mifos using the REST API. This feature provides and intermediate step to Audit and Approve/Reject execution of REST API calls.

The targeted REST API are all except read only (GET). The calls which make changes to the Mifos data.

Setup (Enabling REST API Approval Interface)

There are two settings which are required to enable this feature in Mifos and make it usable.

1) applicationConfiguration.custom.properties

# Mutability: always
# Type: Boolean (true/false)
# REST configuration to enable/disable approval interface
REST.approvalRequired=true

2) Roles and Permission

    Admin Tab -> Roles and permissions -> (Select Role) -> Bulk (category) -> Can approve REST API

Usage 

Admin Tab -> Manage Imports and Exports -> REST API Approval

You can Approve/Reject REST API calls which were made to Mifos and edit parameters for those calls before approving/rejecting them.

On the client side (who has made the REST call) will receive json showing that approval is in queue and they can later query the status of the approval.

{
 "approvalId":8,
 "status":"interrupt",
 "cause":"The call has been interrupt for approval"
}