You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2020/07/13 22:54:53 UTC

[fineract] branch develop updated: FINERACT-835: Complete work on automatically generating Swagger docs

This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new acca72f  FINERACT-835: Complete work on automatically generating Swagger docs
acca72f is described below

commit acca72f83d6772927b0406a0a4261509c93708dd
Author: Petri Tuomola <pe...@tuomola.org>
AuthorDate: Thu Jul 9 10:04:22 2020 +0300

    FINERACT-835: Complete work on automatically generating Swagger docs
---
 fineract-provider/build.gradle                     |     4 +-
 .../config/swagger/fineract-input.json             |    16 +
 fineract-provider/dependencies.gradle              |     3 +-
 .../core/boot/WebFrontEndConfiguration.java        |    14 +-
 .../main/resources/static/swagger-ui/response.json | 55427 -------------------
 5 files changed, 31 insertions(+), 55433 deletions(-)

diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index cacb3d1..1c7a6fa 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -124,9 +124,8 @@ dependencyManagement {
         dependency 'com.github.spotbugs:spotbugs-annotations:4.0.6'
         dependency 'javax.cache:cache-api:1.1.1'
         dependency 'org.mock-server:mockserver-junit-jupiter:5.10.0'
-
-        // If this is upgraded, you need to change path in WebFrontEndConfiguration
         dependency 'org.webjars.npm:swagger-ui-dist:3.28.0'
+        dependency 'org.webjars:webjars-locator-core:0.46'
 
         dependency ('org.dom4j:dom4j:2.1.3') {
             exclude 'relaxngDatatype:relaxngDatatype' // already in com.sun.xml.bind:jaxb-osgi:2.3.0.1
@@ -201,6 +200,7 @@ resolve {
     prettyPrint = 'TRUE'
     classpath = sourceSets.main.runtimeClasspath
     outputDir = file("${buildDir}/classes/java/main/static/swagger-ui")
+    openApiFile = file("config/swagger/fineract-input.json")
 }
 
 // Configuration for JaCoCo code coverage task
diff --git a/fineract-provider/config/swagger/fineract-input.json b/fineract-provider/config/swagger/fineract-input.json
new file mode 100644
index 0000000..264ad56
--- /dev/null
+++ b/fineract-provider/config/swagger/fineract-input.json
@@ -0,0 +1,16 @@
+{
+  "openapi" : "3.0.3",
+  "info": {
+    "version": "1.4.0",
+    "title": "Apache Fineract",
+    "description": "Apache Fineract is a secure, multi-tenanted microfinance platform\n\nThe goal of the Apache Fineract API is to empower developers to build apps on top of the Apache Fineract Platform<br>The [reference app](https://cui.fineract.dev) (username: mifos, password: password) works on the same demo tenant as the interactive links in this documentation\n\n- The API is organized around [REST](https://en.wikipedia.org/wiki/Representational_state_transfer)\n- Find out more about [...]
+    "termsOfService": "https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm",
+    "contact": {
+      "email": "dev@fineract.apache.org"
+    },
+    "license": {
+      "name": "Apache 2.0",
+      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
+    }
+  }
+}
diff --git a/fineract-provider/dependencies.gradle b/fineract-provider/dependencies.gradle
index 4e6c42e..3a84a62 100644
--- a/fineract-provider/dependencies.gradle
+++ b/fineract-provider/dependencies.gradle
@@ -79,7 +79,8 @@ dependencies {
             'javax.cache:cache-api',
 
             'com.github.spotbugs:spotbugs-annotations',
-            'io.swagger.core.v3:swagger-annotations'
+            'io.swagger.core.v3:swagger-annotations',
+            'org.webjars:webjars-locator-core'
             )
     implementation ('org.apache.activemq:activemq-broker') {
         exclude group: 'org.apache.geronimo.specs'
diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java
index 4b58a8a..03068f3 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/boot/WebFrontEndConfiguration.java
@@ -18,16 +18,21 @@
  */
 package org.apache.fineract.infrastructure.core.boot;
 
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.springframework.context.annotation.Configuration;
 import org.springframework.web.servlet.config.annotation.EnableWebMvc;
 import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
 import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
 import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
+import org.webjars.WebJarAssetLocator;
 
 @EnableWebMvc
 @Configuration
 public class WebFrontEndConfiguration implements WebMvcConfigurer {
 
+    private static final Logger LOG = LoggerFactory.getLogger(WebFrontEndConfiguration.class);
+
     private static final String[] CLASSPATH_RESOURCE_LOCATIONS = { "classpath:/static/", "classpath:/public/" };
 
     @Override
@@ -36,9 +41,12 @@ public class WebFrontEndConfiguration implements WebMvcConfigurer {
             registry.addResourceHandler("/**").addResourceLocations(CLASSPATH_RESOURCE_LOCATIONS);
         }
 
-        // TODO: The below path should be version agnostic
-        String[] SWAGGER_RESOURCE_LOCATIONS = { "classpath:/static/swagger-ui/",
-                "classpath:/META-INF/resources/webjars/swagger-ui-dist/3.26.0/" };
+        WebJarAssetLocator locator = new WebJarAssetLocator();
+        String fullPathToSwaggerUiJs = locator.getFullPath("swagger-ui.js");
+        LOG.info("Found Swagger UI at {}", fullPathToSwaggerUiJs);
+        String fullPathToSwaggerUi = fullPathToSwaggerUiJs.substring(0, fullPathToSwaggerUiJs.lastIndexOf("/") + 1);
+
+        String[] SWAGGER_RESOURCE_LOCATIONS = { "classpath:/static/swagger-ui/", "classpath:" + fullPathToSwaggerUi };
 
         registry.addResourceHandler("/swagger-ui/**").addResourceLocations(SWAGGER_RESOURCE_LOCATIONS);
     }
diff --git a/fineract-provider/src/main/resources/static/swagger-ui/response.json b/fineract-provider/src/main/resources/static/swagger-ui/response.json
deleted file mode 100644
index 90c5ea4..0000000
--- a/fineract-provider/src/main/resources/static/swagger-ui/response.json
+++ /dev/null
@@ -1,55427 +0,0 @@
-{
-    "swagger": "2.0",
-    "info": {
-        "description": "Apache Fineract is a secure, multi-tenanted microfinance platform. <br />              The goal of the Apache Fineract API is to empower developers to build apps on top of the Apache Fineract Platform. The reference app [  https://demo.openmf.org  ] (username: mifos, password: password) works on the same demo tenant as the interactive links in this documentation.              <br/>The API                 is organized around REST [ https://en.wikipedia.org/wiki/Rep [...]
-        "version": "1.0.0",
-        "title": "Apache Fineract API Documentation",
-        "termsOfService": "https://demo.openmf.org/api-docs/apiLive.htm",
-        "contact": {
-            "name": "https://gitter.im/openMF/mifos"
-        }
-    },
-    "host": "https://demo.openmf.org",
-    "basePath": "/fineract-provider/api/v1",
-    "tags": [
-        {
-            "name": "Periodic Accrual Accounting",
-            "description": "Periodic Accrual is to accrue the loan income till the specific date or till batch job scheduled time.\n"
-        },
-        {
-            "name": "Accounting Closure",
-            "description": "An accounting closure indicates that no more journal entries may be logged (or reversed) in the system, either manually or via the portfolio with an entry date prior to the defined closure date\n\nField Descriptions\nclosingDate\nThe date for which the accounting closure is defined\nofficeId\nThe identifer of the branch for which accounting has been closed\ncomments\nDescription associated with an Accounting closure"
-        },
-        {
-            "name": "Mapping Financial Activities to Accounts",
-            "description": "Organization Level Financial Activities like Asset and Liability Transfer can be mapped to GL Account. Integrated accounting takes these accounts into consideration when an Account transfer is made between a savings to loan/savings account and vice-versa\n\nField Descriptions\nfinancialActivityId\nThe identifier of the Financial Activity\nglAccountId\nThe identifier of a GL Account ( Ledger Account) which shall be used as the default account for the selected F [...]
-        },
-        {
-            "name": "General Ledger Account",
-            "description": "Ledger accounts represent an Individual account within an Organizations Chart Of Accounts(COA) and are assigned a name and unique number by which they can be identified. \nAll transactions relating to a company's assets, liabilities, owners' equity, revenue and expenses are recorded against these accounts"
-        },
-        {
-            "name": "Journal Entries",
-            "description": "A journal entry refers to the logging of transactions against general ledger accounts. A journal entry may consist of several line items, each of which is either a \"debit\" or a \"credit\". The total amount of the debits must equal the total amount of the credits or the journal entry is said to be \"unbalanced\" \n\nA journal entry directly changes the account balances on the general ledger"
-        },
-        {
-            "name": "Provisioning Entries",
-            "description": "This defines the Provisioning Entries for all active loan products\n\nField Descriptions\ndate\nDate on which day provisioning entries should be created\ncreatejournalentries\nBoolean variable whether to add journal entries for generated provisioning entries\n"
-        },
-        {
-            "name": "Accounting Rules",
-            "description": "It is typical scenario in MFI's that non accountants pass journal entries on a regular basis. For Ex: A branch office might deposit their entire cash at hand to their Bank account at the end of a working day. The branch office users might not understand enough of accounting to figure out which account needs to get credited and which account needs to be debited to represent this transaction.\n\nEnter accounting rules, an abstraction on top of manual Journal ent [...]
-        },
-        {
-            "name": "AdhocQuery Api",
-            "description": ""
-        },
-        {
-            "name": "Batch API",
-            "description": "The Apache Fineract Batch API enables a consumer to access significant amounts of data in a single call or to make changes to several objects at once. Batching allows a consumer to pass instructions for several operations in a single HTTP request. A consumer can also specify dependencies between related operations. Once all operations have been completed, a consolidated response will be passed back and the HTTP connection will be closed.\n\nThe Batch API takes [...]
-        },
-        {
-            "name": "Audits",
-            "description": "Every non-read Mifos API request is audited. A fully processed request can not be changed or deleted. See maker checker api for situations where an audit is not fully processed.\n\nPermissions: To search and look at audit entries a user needs to be attached to a role that has one of the ALL_FUNCTIONS, ALL_FUNCTIONS_READ or READ_AUDIT permissions.\n\nData Scope: A user can only see audits that are within their data scope. However, 'head office' users can see al [...]
-        },
-        {
-            "name": "Maker Checker (or 4-eye) functionality",
-            "description": ""
-        },
-        {
-            "name": "Account number format",
-            "description": "Account number preferences are used to describe custom formats for account numbers associated with Customer, Loan and Savings accounts."
-        },
-        {
-            "name": "Cache",
-            "description": "The following settings are possible for cache:\n\nNo Caching: caching turned off\nSingle node: caching on for single instance deployments of platorm (works for multiple tenants but only one tomcat)\nBy default caching is set to No Caching. Switching between caches results in the cache been clear e.g. from Single node to No cache and back again would clear down the single node cache."
-        },
-        {
-            "name": "Code Values",
-            "description": "Code and code values: Codes represent a specific category of data, their code values are a specific instance of that category.\n\nCodes are mostly system defined which means the code itself comes out of the box and cannot be modified however its code values can be. e.g. 'Customer Identifier', it defaults to a code value of 'Passport' but could be 'Drivers License, National Id' etc"
-        },
-        {
-            "name": "Codes",
-            "description": "Code and code values: Codes represent a specific category of data, their code values are a specific instance of that category.\n\nCodes are mostly system defined which means the code itself comes out of the box and cannot be modified however its code values can be. e.g. 'Customer Identifier', it defaults to a code value of 'Passport' but could be 'Drivers License, National Id' etc"
-        },
-        {
-            "name": "External Services",
-            "description": "External Services Configuration related to set of supported configurations for third party services like Amazon S3 and SMTP:\n\nS3 (Amazon S3):\ns3_access_key -\ns3_bucket_name -\ns3_secret_key -\n\n\nSMTP (Email Service):\nusername -\npassword -\nhost -\nport -\nuseTLS -"
-        },
-        {
-            "name": "Global Configuration",
-            "description": "Global configuration related to set of supported enable/disable configurations:\n\nmaker-checker - defaults to false - if true turns on maker-checker functionality\nreschedule-future-repayments - defaults to false - if true reschedules repayemnts which falls on a non-working day to configured repayment rescheduling rule\nallow-transactions-on-non_workingday - defaults to false - if true allows transactions on non-working days\nreschedule-repayments-on-holidays [...]
-        },
-        {
-            "name": "Data Tables",
-            "description": "The datatables API allows you to plug-in your own tables (MySql) that have a relationship to a Apache Fineract core table. For example, you might want to add some extra client fields and record information about each of the clients' family members. Via the API you can create, read, update and delete entries for each 'plugged-in' table. The API checks for permission and for 'data scoping' (only data within the users' office hierarchy can be managed by the user) [...]
-        },
-        {
-            "name": "Entity Data Table",
-            "description": "This defines Entity-Datatable Check."
-        },
-        {
-            "name": "Reports",
-            "description": "Non-core reports can be added, updated and deleted."
-        },
-        {
-            "name": "Run Reports",
-            "description": ""
-        },
-        {
-            "name": "Documents",
-            "description": "Multiple Documents (a combination of a name, description and a file) may be attached to different Entities like Clients, Groups, Staff, Loans, Savings and Client Identifiers in the system\n\nNote: The currently allowed Entities are\n\nClients: URL Pattern as clients\nStaff: URL Pattern as staff\nLoans: URL Pattern as loans\nSavings: URL Pattern as savings\nClient Identifiers: URL Pattern as client_identifiers\nGroups: URL Pattern as groups"
-        },
-        {
-            "name": "Hooks",
-            "description": "Hooks are a mechanism to trigger custom code on the occurence of events. "
-        },
-        {
-            "name": "Scheduler",
-            "description": ""
-        },
-        {
-            "name": "MIFOSX-BATCH JOBS",
-            "description": "Batch jobs (also known as cron jobs on Unix-based systems) are a series of back-end jobs executed on a computer at a particular time defined in job's cron expression.\n\n At any point, you can view the list of batch jobs scheduled to run along with other details specific to each job. Manually you can execute the jobs at any point of time.\n\n The scheduler status can be either \"Active\" or \"Standby\". If the scheduler status is Active, it indicates that all  [...]
-        },
-        {
-            "name": "Report Mailing Jobs",
-            "description": "This resource allows you to create a scheduled job that runs a report and sents it by email to specified email addresses.\n\nThe scheduled job can be configured to run once or on a regular basis (once a day, twice a week, etc)"
-        },
-        {
-            "name": "List Report Mailing Job History",
-            "description": ""
-        },
-        {
-            "name": "Authentication HTTP Basic",
-            "description": "An API capability that allows client applications to verify authentication details using HTTP Basic Authentication."
-        },
-        {
-            "name": "Fetch authenticated user details",
-            "description": ""
-        },
-        {
-            "name": "Mix Report",
-            "description": ""
-        },
-        {
-            "name": "Mix Taxonomy",
-            "description": ""
-        },
-        {
-            "name": "Mix Mapping",
-            "description": ""
-        },
-        {
-            "name": "Notification",
-            "description": ""
-        },
-        {
-            "name": "Holidays",
-            "description": "Some MFI's span large regions where different branch offices might observe different holidays. They need the ability to define holidays for specific branch offices and be able to set the repayment rule to follow during those holidays.\n\nThe reschedule of repayments to repaymentsRescheduledTo date during defined holidays is turned on/off by enabling/disabling reschedule-repayments-on-holidays in Global configurations.\n\nAllow Repayment transactions on a defin [...]
-        },
-        {
-            "name": "Currency",
-            "description": "Application related configuration around viewing/updating the currencies permitted for use within the MFI."
-        },
-        {
-            "name": "Offices",
-            "description": "Offices are used to model an MFIs structure. A hierarchical representation of offices is supported. There will always be at least one office (which represents the MFI or an MFIs head office). All subsequent offices added must have a parent office."
-        },
-        {
-            "name": "Provisioning Category",
-            "description": ""
-        },
-        {
-            "name": "Provisioning Criteria",
-            "description": "This defines the Provisioning Criteria"
-        },
-        {
-            "name": "Staff",
-            "description": "Allows you to model staff members. At present the key role of significance is whether this staff member is a loan officer or not."
-        },
-        {
-            "name": "Cashiers",
-            "description": ""
-        },
-        {
-            "name": "Teller Cash Management",
-            "description": "Teller cash management which will allow an organization to manage their cash transactions at branches or head office more effectively."
-        },
-        {
-            "name": "Cashier Journals",
-            "description": ""
-        },
-        {
-            "name": "Working days",
-            "description": "The days of the week that are workdays.\n\nRescheduling of repayments when it falls on a non-working is turned on /off by enable/disable reschedule-future-repayments parameter in Global configurations\n\nAllow transactions on non-working days is configurable by enabling/disbaling the allow-transactions-on-non_workingday parameter in Global configurations."
-        },
-        {
-            "name": "Account Transfers",
-            "description": "Ability to be able to transfer monetary funds from one account to another.\n\nNote: At present only savings account to savings account transfers are supported."
-        },
-        {
-            "name": "Standing Instructions",
-            "description": "Standing instructions (or standing orders) refer to instructions a bank account holder (\"the payer\") gives to his or her bank to pay a set amount at regular intervals to another's (\"the payee's\") account.\n\nNote: At present only savings account to savings account and savings account to Loan account transfers are permitted."
-        },
-        {
-            "name": "Standing Instructions History",
-            "description": "The list capability of history can support pagination and sorting."
-        },
-        {
-            "name": "Share Account",
-            "description": "Share accounts are instances of a praticular share product created for an individual. An application process around the creation of accounts is also supported."
-        },
-        {
-            "name": "Entity Field Configuration",
-            "description": "Entity Field configuration API is a generic and extensible \nwherein various entities and subentities can be related.\nAlso it gives the user an ability to enable/disable fields,\nadd regular expression for validation"
-        },
-        {
-            "name": "Charges",
-            "description": "Its typical for MFIs to add extra costs for their financial products. These are typically Fees or Penalties.\n\nA Charge on fineract platform is what we use to model both Fees and Penalties.\n\nAt present we support defining charges for use with Client accounts and both loan and saving products."
-        },
-        {
-            "name": "Clients Address",
-            "description": "Address module is an optional module and can be configured into the system by using GlobalConfiguration setting: enable-address. In order to activate Address module, we need to enable the configuration, enable-address by setting its value to true."
-        },
-        {
-            "name": "Client Charges",
-            "description": "It is typical for MFI's to directly associate charges with an implicit Client account. These can be either fees or penalties\n\nClient Charges are client specific instances of Charges. Refer Charges for documentation of the various properties of a charge, Only additional properties ( specific to the context of a Charge being associated with a Client account) are described here"
-        },
-        {
-            "name": "Client Identifier",
-            "description": "Client Identifiers refer to documents that are used to uniquely identify a customer\nEx: Drivers License, Passport, Ration card etc "
-        },
-        {
-            "name": "Client Transaction",
-            "description": "Client Transactions refer to transactions made directly againt a Client's internal account. Currently, these transactions are only created as a result of charge payments/waivers. You are allowed to undo a transaction, however you cannot explicitly create one. "
-        },
-        {
-            "name": "Client",
-            "description": "Clients are people and businesses that have applied (or may apply) to an MFI for loans.\n\nClients can be created in Pending or straight into Active state."
-        },
-        {
-            "name": "Loan Collateral",
-            "description": "In lending agreements, collateral is a borrower's pledge of specific property to a lender, to secure repayment of a loan. The collateral serves as protection for a lender against a borrower's default - that is, any borrower failing to pay the principal and interest under the terms of a loan obligation. If a borrower does default on a loan (due to insolvency or other event), that borrower forfeits (gives up) the property pledged as collateral - and the lender t [...]
-        },
-        {
-            "name": "Floating Rates",
-            "description": "It lets you create, list, retrieve and upload the floating rates"
-        },
-        {
-            "name": "Centers",
-            "description": "Centers along with Groups are used to provided a distinctive banking distribution channel used in microfinance. Its common in areas such as Southern Asia to use Centers and Group as administrative units in grameen style lending. Typically groups will contain one to five people and centers themselves will be made of anywhere between 2-10 groups."
-        },
-        {
-            "name": "Groups",
-            "description": "Groups are used to provide a distinctive banking distribution channel used in microfinances throughout the world. The Group is an administrative unit. It can contain as few as 5 people or as many as 40 depending on how its used.\n\nDifferent styles of group lending - Joint-Liability Group, Grameen Model (Center-Group), Self-Help Groups, Village/Communal Banks)"
-        },
-        {
-            "name": "Interest Rate Slab (A.K.A interest bands)",
-            "description": "The slabs a.k.a interest bands are associated with Interest Rate Chart. These bands allow to define different interest rates for different deposit term periods."
-        },
-        {
-            "name": "Interest Rate Chart",
-            "description": "This defines an interest rate scheme that can be associated to a term deposit product. This will have a slab (band or range) of deposit periods and the associated interest rates applicable along with incentives for each band."
-        },
-        {
-            "name": "Loan Charges",
-            "description": "Its typical for MFIs to add extra costs for their loan products. They can be either Fees or Penalties.\n\nLoan Charges are instances of Charges and represent either fees and penalties for loan products. Refer Charges for documentation of the various properties of a charge, Only additional properties ( specific to the context of a Charge being associated with a Loan) are described here"
-        },
-        {
-            "name": "Loan Rescheduling",
-            "description": "Loan Term Variations provides the ability to change due dates, amounts and number of instalments before loan approval."
-        },
-        {
-            "name": "Loan Transactions",
-            "description": "Capabilities include loan repayment's, interest waivers and the ability to 'adjust' an existing transaction. An 'adjustment' of a transaction is really a 'reversal' of existing transaction followed by creation of a new transaction with the provided details."
-        },
-        {
-            "name": "Loans",
-            "description": "The API concept of loans models the loan application process and the loan contract/monitoring process.\n\nField Descriptions\naccountNo\nThe account no. associated with this loan. Is auto generated if not provided at loan application creation time.\nexternalId\nA place to put an external reference for this loan e.g. The ID another system uses.\nIf provided, it must be unique.\nfundId\nOptional: For associating a loan with a given fund.\nloanOfficerId\nOptional [...]
-        },
-        {
-            "name": "Loan Products",
-            "description": "A Loan product is a template that is used when creating a loan. Much of the template definition can be overridden during loan creation."
-        },
-        {
-            "name": "Notes",
-            "description": "Notes API allows to enter notes for supported resources."
-        },
-        {
-            "name": "Payment Type",
-            "description": "This defines the payment type"
-        },
-        {
-            "name": "Fixed Deposit Account",
-            "description": "Fixed Deposit accounts are instances of a praticular fixed deposit product created. An application process around the creation of accounts is also supported."
-        },
-        {
-            "name": "Fixed Deposit Product",
-            "description": "This is one of the advanced term deposit product offered by MFI's. The Fixed Deposit Products (aka FD) product offerings are modeled using this API.\n\nThe FD products are deposit accounts which are held for a fixed term – like 1 year, 2 years etc.\n\nWhen creating fixed deposit accounts, the details from the fixed deposit product are used to auto fill details of the fixed deposit account application process."
-        },
-        {
-            "name": "Recurring Deposit Account Transactions",
-            "description": "Transactions possible on a recurring deposit account."
-        },
-        {
-            "name": "Recurring Deposit Account",
-            "description": "Recurring Deposit accounts are instances of a praticular recurring deposit product created. An application process around the creation of accounts is also supported."
-        },
-        {
-            "name": "Recurring Deposit Product",
-            "description": "Recurring Deposits are a special kind of Term Deposits offered by MFI's. The Recurring Deposit Products (aka RD) product offerings are modeled using this API.\n\nRecurring Deposits help people with regular incomes to deposit a fixed amount every month (specified recurring frequency) into their Recurring Deposit account.\n\nWhen creating recurring deposit accounts, the details from the recurring deposit product are used to auto fill details of the recurring dep [...]
-        },
-        {
-            "name": "Savings Charges",
-            "description": "Its typical for MFIs to add maintenance and operating charges. They can be either Fees or Penalties.\n\nSavings Charges are instances of Charges and represent either fees and penalties for savings products. Refer Charges for documentation of the various properties of a charge, Only additional properties ( specific to the context of a Charge being associated with a Savings account) are described here"
-        },
-        {
-            "name": "Savings Account",
-            "description": "Savings accounts are instances of a particular savings product created for an individual or group. An application process around the creation of accounts is also supported."
-        },
-        {
-            "name": "Savings Product",
-            "description": "An MFIs savings product offerings are modeled using this API.\nWhen creating savings accounts, the details from the savings product are used to auto fill details of the savings account application process."
-        },
-        {
-            "name": "Search API",
-            "description": "Search API allows to search scoped resources clients, loans and groups on specified fields."
-        },
-        {
-            "name": "Self Account transfer",
-            "description": ""
-        },
-        {
-            "name": "Self Third Party Transfer",
-            "description": ""
-        },
-        {
-            "name": "Self Client",
-            "description": ""
-        },
-        {
-            "name": "Self Loans",
-            "description": ""
-        },
-        {
-            "name": "Pocket",
-            "description": ""
-        },
-        {
-            "name": "Self Loan Products",
-            "description": "A Loan product is a template that is used when creating a loan. Much of the template definition can be overridden during loan creation.\n\nField Descriptions\nname\nName associated with loan product on system.\nshortName\nShort name associated with a loan product. \nAn abbreviated version of the name, used in reports or menus where space is limited, such as Collection Sheets.\ndescription\nFor providing helpful description of product offering.\nfundId\nFor ass [...]
-        },
-        {
-            "name": "Self Service Registration",
-            "description": ""
-        },
-        {
-            "name": "Self Run Report",
-            "description": "This resource allows you to run and receive output from pre-defined Apache Fineract reports.\n\nThe default output is a JSON formatted \"Generic Resultset\". The Generic Resultset contains Column Heading as well as Data information. However, you can export to CSV format by simply adding \"&exportCSV=true\" to the end of your URL.\n\nIf Pentaho reports have been pre-defined, they can also be run through this resource. Pentaho reports can return HTML, PDF or CSV [...]
-        },
-        {
-            "name": "Self Savings Account",
-            "description": ""
-        },
-        {
-            "name": "Self Authentication",
-            "description": "Authenticates the credentials provided and returns the set roles and permissions allowed"
-        },
-        {
-            "name": "Self User",
-            "description": ""
-        },
-        {
-            "name": "Self User Details",
-            "description": ""
-        },
-        {
-            "name": "Self Share Accounts",
-            "description": ""
-        },
-        {
-            "name": "Self Score Card",
-            "description": ""
-        },
-        {
-            "name": "Self Spm",
-            "description": ""
-        },
-        {
-            "name": "Self Dividend",
-            "description": ""
-        },
-        {
-            "name": "Tax Components",
-            "description": "This defines the Tax Components"
-        },
-        {
-            "name": "Tax Group",
-            "description": "This defines the Tax Group"
-        },
-        {
-            "name": "SPM API - LookUp Table",
-            "description": "The Apache Fineract SPM API provides the ability to create custom surveys to collect social performance measurentment data or any additional questionnaire a financial institute want to collect."
-        },
-        {
-            "name": "Score Card",
-            "description": ""
-        },
-        {
-            "name": "Spm-Surveys",
-            "description": ""
-        },
-        {
-            "name": "User Generated Documents",
-            "description": "User Generated Documents(alternatively, Templates) are used for end-user features such as custom user defined document generation (AKA UGD). They are based on {{ moustache }} templates. Think of them as a sort of built-in \"mail merge\" functionality.\n\nUser Generated Documents (and other types of templates) can aggregate data from several Apache Fineract back-end API calls via mappers. Mappers can even access non-Apache Fineract REST services from other serv [...]
-        },
-        {
-            "name": "Password preferences",
-            "description": "This API enables management of password policy for user administration.\n\nThere is no Apache Fineract functionality for creating a validation policy. The validation policies come pre-installed.\n\nValidation policies may be updated"
-        },
-        {
-            "name": "Permissions",
-            "description": "An API capability to support management of application permissions for user administration.\n\nThere is no Apache Fineract functionality for creating or deleting permissions. Permissions come pre-installed.\n\nPermissions are not updated, except in the case of enabling or disabling non-read transactions for Maker Checker functionality"
-        },
-        {
-            "name": "Roles",
-            "description": "An API capability to support management of application roles for user administration."
-        },
-        {
-            "name": "Users",
-            "description": "An API capability to support administration of application users."
-        },
-        {
-            "name": "SMS Campaigns"
-        },
-        {
-            "name": "CreditBureau Configuration"
-        },
-        {
-            "name": "Entity Datatable Check"
-        },
-        {
-            "name": "DomainNameapiv1{entity}{entityId}images"
-        },
-        {
-            "name": "DomainNameapiv1entitytoentitymapping"
-        },
-        {
-            "name": "SMS"
-        },
-        {
-            "name": "Likelihood"
-        },
-        {
-            "name": "Poverty Line"
-        },
-        {
-            "name": "Survey"
-        },
-        {
-            "name": "interoperation"
-        },
-        {
-            "name": "Mix Mapping "
-        },
-        {
-            "name": "officetransactions"
-        },
-        {
-            "name": "Collection Sheet"
-        },
-        {
-            "name": "Funds"
-        },
-        {
-            "name": "Products"
-        },
-        {
-            "name": "Self Account Transfer"
-        },
-        {
-            "name": "Self Run Report "
-        }
-    ],
-    "schemes": [
-        "https"
-    ],
-    "paths": {
-        "/runaccruals": {
-            "post": {
-                "tags": [
-                    "Periodic Accrual Accounting"
-                ],
-                "summary": "Executes Periodic Accrual Accounting",
-                "description": "Mandatory Fields\n\ntillDate\n",
-                "operationId": "executePeriodicAccrualAccounting",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "Request Body\n\nField Descriptions: \ntillDate: \nwhich specifies periodic accruals should happen till the given Date",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/runaccrualsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK"
-                    }
-                }
-            }
-        },
-        "/glclosures": {
-            "get": {
-                "tags": [
-                    "Accounting Closure"
-                ],
-                "summary": "List Accounting closures",
-                "description": "Example Requests:\n\nglclosures",
-                "operationId": "retrieveAllClosures",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "description": "officeId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetGLClosureResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Accounting Closure"
-                ],
-                "summary": "Create an Accounting Closure",
-                "description": "Mandatory Fields\nofficeId,closingDate",
-                "operationId": "createGLClosure",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "Request Body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostGLCLosuresRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostGlClosuresResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/glclosures/{glClosureId}": {
-            "get": {
-                "tags": [
-                    "Accounting Closure"
-                ],
-                "summary": "Retrieve an Accounting Closure",
-                "description": "Example Requests:\n\nglclosures/1\n\n\n/glclosures/1?fields=officeName,closingDate",
-                "operationId": "retreiveClosure",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "glClosureId",
-                        "in": "path",
-                        "description": "glClosureId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetGLClosureResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Accounting Closure"
-                ],
-                "summary": "Update an Accounting closure",
-                "description": "Once an accounting closure is created, only the comments associated with it may be edited",
-                "operationId": "updateGLClosure",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "glClosureId",
-                        "in": "path",
-                        "description": "glClosureId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "Request body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutGlClosuresRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutGlClosuresResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Accounting Closure"
-                ],
-                "summary": "Delete an accounting closure",
-                "description": "Note: Only the latest accounting closure associated with a branch may be deleted.",
-                "operationId": "deleteGLClosure",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "glClosureId",
-                        "in": "path",
-                        "description": "glclosureId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteGlClosuresResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/financialactivityaccounts/{mappingId}": {
-            "get": {
-                "tags": [
-                    "Mapping Financial Activities to Accounts"
-                ],
-                "summary": "Retrieve a Financial Activity to Account Mapping\n",
-                "description": "Example Requests:\n\nfinancialactivityaccounts/1",
-                "operationId": "retreive",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "mappingId",
-                        "in": "path",
-                        "description": "mappingId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetFinancialActivityAccountsResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Mapping Financial Activities to Accounts"
-                ],
-                "summary": "Update a Financial Activity to Account Mapping",
-                "description": "the API updates the Ledger account linked to a Financial Activity \n",
-                "operationId": "updateGLAccount",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "mappingId",
-                        "in": "path",
-                        "description": "mappingId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "Request body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostFinancialActivityAccountsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutFinancialActivityAccountsResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Mapping Financial Activities to Accounts"
-                ],
-                "summary": "Delete a Financial Activity to Account Mapping",
-                "description": "",
-                "operationId": "deleteGLAccount",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "mappingId",
-                        "in": "path",
-                        "description": "mappingId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteFinancialActivityAccountsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/financialactivityaccounts": {
-            "get": {
-                "tags": [
-                    "Mapping Financial Activities to Accounts"
-                ],
-                "summary": "List Financial Activities to Accounts Mappings",
-                "description": "Example Requests:\n\nfinancialactivityaccounts",
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetFinancialActivityAccountsResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Mapping Financial Activities to Accounts"
-                ],
-                "summary": "Create a new Financial Activity to Accounts Mapping",
-                "description": "Mandatory Fields\nfinancialActivityId, glAccountId",
-                "operationId": "createGLAccount",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "Request body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostFinancialActivityAccountsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostFinancialActivityAccountsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/financialactivityaccounts/template": {
-            "get": {
-                "tags": [
-                    "Mapping Financial Activities to Accounts"
-                ],
-                "operationId": "retrieveTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/glaccounts/{glAccountId}": {
-            "get": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "summary": "Retrieve a General Ledger Account",
-                "description": "Example Requests:\n\nglaccounts/1\n\n\nglaccounts/1?template=true\n\n\nglaccounts/1?fields=name,glCode\n\n\nglaccounts/1?fetchRunningBalance=true",
-                "operationId": "retreiveAccount",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "glAccountId",
-                        "in": "path",
-                        "description": "glAccountId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "fetchRunningBalance",
-                        "in": "query",
-                        "description": "fetchRunningBalance",
-                        "required": false,
-                        "type": "boolean"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetGLAccountsResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "summary": "Update an Accounting closure",
-                "description": "Once an accounting closure is created, only the comments associated with it may be edited\n\n",
-                "operationId": "updateGLAccount",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "glAccountId",
-                        "in": "path",
-                        "description": "glAccountId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PutGLAccountsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutGLAccountsResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "summary": "Delete an accounting closure",
-                "description": "Note: Only the latest accounting closure associated with a branch may be deleted.",
-                "operationId": "deleteGLAccount",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "glAccountId",
-                        "in": "path",
-                        "description": "glAccountId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteGLAccountsRequest"
-                        }
-                    }
-                }
-            }
-        },
-        "/glaccounts": {
-            "get": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "summary": "List General Ledger Accounts",
-                "description": "ARGUMENTS\ntype Integer optional manualEntriesAllowed boolean optional usage Integer optional disabled boolean optional parentId Long optional tagId Long optional\nExample Requests:\n\nglaccounts\n\n\nglaccounts?type=1&manualEntriesAllowed=true&usage=1&disabled=false\n\nglaccounts?fetchRunningBalance=true",
-                "operationId": "retrieveAllAccounts",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "type",
-                        "in": "query",
-                        "description": "type",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "searchParam",
-                        "in": "query",
-                        "description": "searchParam",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "usage",
-                        "in": "query",
-                        "description": "usage",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "manualEntriesAllowed",
-                        "in": "query",
-                        "description": "manualEntriesAllowed",
-                        "required": false,
-                        "type": "boolean"
-                    },
-                    {
-                        "name": "disabled",
-                        "in": "query",
-                        "description": "disabled",
-                        "required": false,
-                        "type": "boolean"
-                    },
-                    {
-                        "name": "fetchRunningBalance",
-                        "in": "query",
-                        "description": "fetchRunningBalance",
-                        "required": false,
-                        "type": "boolean"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetGLAccountsResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "summary": "Create a General Ledger Account",
-                "description": "Note: You may optionally create Hierarchical Chart of Accounts by using the \"parentId\" property of an Account\nMandatory Fields: \nname, glCode, type, usage and manualEntriesAllowed",
-                "operationId": "createGLAccount",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostGLAccountsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostGLAccountsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/glaccounts/template": {
-            "get": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "summary": "Retrieve GL Accounts Template",
-                "description": "This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:\n\nField Defaults\nAllowed Value Lists\nExample Request:\n\nglaccounts/template\nglaccounts/template?type=1\n\ntype is optional and integer value from 1 to 5.\n\n1.Assets \n2.Liabilities \n3.Equity \n4.Income \n5.Expenses",
-                "operationId": "retrieveNewAccountDetails",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "type",
-                        "in": "query",
-                        "description": "type",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetGLAccountsTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/glaccounts/downloadtemplate": {
-            "get": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "operationId": "getGlAccountsTemplate",
-                "produces": [
-                    "application/vnd.ms-excel"
-                ],
-                "parameters": [
-                    {
-                        "name": "dateFormat",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "default": {
-                        "description": "successful operation"
-                    }
-                }
-            }
-        },
-        "/glaccounts/uploadtemplate": {
-            "post": {
-                "tags": [
-                    "General Ledger Account"
-                ],
-                "operationId": "postGlAccountsTemplate",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "parameters": [
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "required": false,
-                        "type": "file"
-                    },
-                    {
-                        "name": "locale",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/journalentries/{journalEntryId}": {
-            "get": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "summary": "Retrieve a single Entry",
-                "description": "Example Requests:\n\njournalentries/1\n\n\n\njournalentries/1?fields=officeName,glAccountId,entryType,amount\n\njournalentries/1?runningBalance=true\n\njournalentries/1?transactionDetails=true",
-                "operationId": "retreiveJournalEntryById",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "journalEntryId",
-                        "in": "path",
-                        "description": "journalEntryId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "runningBalance",
-                        "in": "query",
-                        "description": "runningBalance",
-                        "required": false,
-                        "type": "boolean"
-                    },
-                    {
-                        "name": "transactionDetails",
-                        "in": "query",
-                        "description": "transactionDetails",
-                        "required": false,
-                        "type": "boolean"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/JournalEntryData"
-                        }
-                    }
-                }
-            }
-        },
-        "/journalentries": {
-            "get": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "summary": "List Journal Entries",
-                "description": "The list capability of journal entries can support pagination and sorting.\n\nExample Requests:\n\njournalentries\n\njournalentries?transactionId=PB37X8Y21EQUY4S\n\njournalentries?officeId=1&manualEntriesOnly=true&fromDate=1 July 2013&toDate=15 July 2013&dateFormat=dd MMMM yyyy&locale=en\n\njournalentries?fields=officeName,glAccountName,transactionDate\n\njournalentries?offset=10&limit=50\n\njournalentries?orderBy=transactionId&sortOrder=DESC\n\njournalent [...]
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "description": "officeId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "glAccountId",
-                        "in": "query",
-                        "description": "glAccountId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "manualEntriesOnly",
-                        "in": "query",
-                        "description": "manualEntriesOnly",
-                        "required": false,
-                        "type": "boolean"
-                    },
-                    {
-                        "name": "fromDate",
-                        "in": "query",
-                        "description": "fromDate",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "toDate",
-                        "in": "query",
-                        "description": "toDate",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "transactionId",
-                        "in": "query",
-                        "description": "transactionId",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityType",
-                        "in": "query",
-                        "description": "entityType",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "description": "offset",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "description": "limit",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "description": "orderBy",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "description": "sortOrder",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "locale",
-                        "in": "query",
-                        "description": "locale",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "query",
-                        "description": "dateFormat",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "loanId",
-                        "in": "query",
-                        "description": "loanId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "savingsId",
-                        "in": "query",
-                        "description": "savingsId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "runningBalance",
-                        "in": "query",
-                        "description": "runningBalance",
-                        "required": false,
-                        "type": "boolean"
-                    },
-                    {
-                        "name": "transactionDetails",
-                        "in": "query",
-                        "description": "transactionDetails",
-                        "required": false,
-                        "type": "boolean"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/JournalEntryData"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "summary": "Create \"Balanced\" Journal Entries",
-                "description": "Note: A Balanced (simple) Journal entry would have atleast one \"Debit\" and one \"Credit\" entry whose amounts are equal \nCompound Journal entries may have \"n\" debits and \"m\" credits where both \"m\" and \"n\" are greater than 0 and the net sum or all debits and credits are equal \n\n\nMandatory Fields\nofficeId, transactionDate\n\n\ncredits- glAccountId, amount, comments\n\n \ndebits-  glAccountId, amount, comments\n\n \nOptional Fields\npaymentType [...]
-                "operationId": "createGLJournalEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "description": "command",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/JournalEntryCommand"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostJournalEntriesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/journalentries/{transactionId}": {
-            "post": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "summary": "Update Running balances for Journal Entries",
-                "description": "This API calculates the running balances for office. If office ID not provided this API calculates running balances for all offices. \nMandatory Fields\nofficeId",
-                "operationId": "createReversalJournalEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "transactionId",
-                        "in": "path",
-                        "description": "transactionId",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "description": "command",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostJournalEntriesTransactionIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostJournalEntriesTransactionIdResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/journalentries/provisioning": {
-            "get": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "operationId": "retrieveJournalEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "entryId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/journalentries/openingbalance": {
-            "get": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "operationId": "retrieveOpeningBalance",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "currencyCode",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/journalentries/downloadtemplate": {
-            "get": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "operationId": "getJournalEntriesTemplate",
-                "produces": [
-                    "application/vnd.ms-excel"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "default": {
-                        "description": "successful operation"
-                    }
-                }
-            }
-        },
-        "/journalentries/uploadtemplate": {
-            "post": {
-                "tags": [
-                    "Journal Entries"
-                ],
-                "operationId": "postJournalEntriesTemplate",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "parameters": [
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "required": false,
-                        "type": "file"
-                    },
-                    {
-                        "name": "locale",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/provisioningentries": {
-            "get": {
-                "tags": [
-                    "Provisioning Entries"
-                ],
-                "summary": "List all Provisioning Entries",
-                "description": "",
-                "operationId": "retrieveAllProvisioningEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "description": "offset",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "description": "limit",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/ProvisioningEntryData"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Provisioning Entries"
-                ],
-                "summary": "Create new Provisioning Entries",
-                "description": "Creates a new Provisioning Entries\n\nMandatory Fields\ndate\ndateFormat\nlocale\nOptional Fields\ncreatejournalentries",
-                "operationId": "createProvisioningEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostProvisioningEntriesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostProvisioningEntriesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/provisioningentries/{entryId}": {
-            "get": {
-                "tags": [
-                    "Provisioning Entries"
-                ],
-                "summary": "Retrieves a Provisioning Entry",
-                "description": "Returns the details of a generated Provisioning Entry.",
-                "operationId": "retrieveProvisioningEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entryId",
-                        "in": "path",
-                        "description": "entryId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/ProvisioningEntryData"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Provisioning Entries"
-                ],
-                "summary": "Recreates Provisioning Entry",
-                "description": "Recreates Provisioning Entry | createjournalentry.",
-                "operationId": "modifyProvisioningEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entryId",
-                        "in": "path",
-                        "description": "entryId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "description": "command=createjournalentry\ncommand=recreateprovisioningentry",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PutProvisioningEntriesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutProvisioningEntriesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/provisioningentries/entries": {
-            "get": {
-                "tags": [
-                    "Provisioning Entries"
-                ],
-                "operationId": "retrieveProviioningEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entryId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "productId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "categoryId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/LoanProductProvisioningEntryData"
-                        }
-                    }
-                }
-            }
-        },
-        "/accountingrules": {
-            "get": {
-                "tags": [
-                    "Accounting Rules"
-                ],
-                "summary": "Retrieve Accounting Rules",
-                "description": "Returns the list of defined accounting rules.\n\nExample Requests:\n\naccountingrules",
-                "operationId": "retrieveAllAccountingRules",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetAccountRulesResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Accounting Rules"
-                ],
-                "summary": "Create/Define a Accounting rule",
-                "description": "Define a new Accounting rule.\n\nMandatory Fields\nname, officeId,\naccountToDebit OR debitTags,\naccountToCredit OR creditTags.\n\nOptional Fields\ndescription",
-                "operationId": "createAccountingRule",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostAccountingRulesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostAccountingRulesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/accountingrules/{accountingRuleId}": {
-            "get": {
-                "tags": [
-                    "Accounting Rules"
-                ],
-                "summary": "Retrieve a Accounting rule",
-                "description": "Returns the details of a defined Accounting rule.\n\nExample Requests:\n\naccountingrules/1",
-                "operationId": "retreiveAccountingRule",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountingRuleId",
-                        "in": "path",
-                        "description": "accountingRuleId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/AccountingRuleData"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Accounting Rules"
-                ],
-                "summary": "Update a Accounting Rule",
-                "description": "Updates the details of a Accounting rule.",
-                "operationId": "updateAccountingRule",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountingRuleId",
-                        "in": "path",
-                        "description": "accountingRuleId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PutAccountingRulesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutAccountingRulesResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Accounting Rules"
-                ],
-                "summary": "Delete a Accounting Rule",
-                "description": "Deletes a Accounting rule.",
-                "operationId": "deleteAccountingRule",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountingRuleId",
-                        "in": "path",
-                        "description": "accountingRuleId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteAccountingRulesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/accountingrules/template": {
-            "get": {
-                "tags": [
-                    "Accounting Rules"
-                ],
-                "summary": "Retrieve Accounting Rule Details Template",
-                "description": "This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:\n\nField Defaults\nAllowed Value Lists\nExample Request:\n\naccountingrules/template",
-                "operationId": "retrieveTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetAccountRulesTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/adhocquery/{adHocId}": {
-            "get": {
-                "tags": [
-                    "AdhocQuery Api"
-                ],
-                "operationId": "retrieveAdHocQuery",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "adHocId",
-                        "in": "path",
-                        "description": "adHocId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "AdhocQuery Api"
-                ],
-                "operationId": "update",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "adHocId",
-                        "in": "path",
-                        "description": "adHocId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "AdhocQuery Api"
-                ],
-                "operationId": "deleteAdHocQuery",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "adHocId",
-                        "in": "path",
-                        "description": "adHocId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/adhocquery": {
-            "get": {
-                "tags": [
-                    "AdhocQuery Api"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "AdhocQuery Api"
-                ],
-                "operationId": "createAdHocQuery",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/adhocquery/template": {
-            "get": {
-                "tags": [
-                    "AdhocQuery Api"
-                ],
-                "operationId": "template",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/batches": {
-            "post": {
-                "tags": [
-                    "Batch API"
-                ],
-                "summary": "Batch requests in a single transaction",
-                "description": "The Apache Fineract Batch API is also capable of executing all the requests in a single transaction, by setting a Query Parameter, \"enclosingTransaction=true\". So, if one or more of the requests in a batch returns an erroneous response all of the Data base transactions made by other successful requests will be rolled back.\n\nIf there has been a rollback in a transaction then a single response will be provided, with a '400' status code and a body consist [...]
-                "operationId": "handleBatchRequests",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "enclosingTransaction",
-                        "in": "query",
-                        "description": "enclosingTransaction",
-                        "required": false,
-                        "type": "boolean",
-                        "default": false
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "request body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostBatchesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "Success",
-                        "schema": {
-                            "$ref": "#/definitions/BatchResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/audits": {
-            "get": {
-                "tags": [
-                    "Audits"
-                ],
-                "summary": "List Audits",
-                "description": "Get a 200 list of audits that match the criteria supplied and sorted by audit id in descending order, and are within the requestors' data scope. Also it supports pagination and sorting\n\nExample Requests:\n\naudits\n\naudits?fields=madeOnDate,maker,processingResult\n\naudits?makerDateTimeFrom=2013-03-25 08:00:00&makerDateTimeTo=2013-04-04 18:00:00\n\naudits?officeId=1\n\naudits?officeId=1&includeJson=true",
-                "operationId": "retrieveAuditEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "actionName",
-                        "in": "query",
-                        "description": "actionName",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityName",
-                        "in": "query",
-                        "description": "entityName",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "resourceId",
-                        "in": "query",
-                        "description": "resourceId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "makerId",
-                        "in": "query",
-                        "description": "makerId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "makerDateTimeFrom",
-                        "in": "query",
-                        "description": "makerDateTimeFrom",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "makerDateTimeTo",
-                        "in": "query",
-                        "description": "makerDateTimeTo",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "checkerId",
-                        "in": "query",
-                        "description": "checkerId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "checkerDateTimeFrom",
-                        "in": "query",
-                        "description": "checkerDateTimeFrom",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "checkerDateTimeTo",
-                        "in": "query",
-                        "description": "checkerDateTimeTo",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "processingResult",
-                        "in": "query",
-                        "description": "processingResult",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "description": "officeId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "groupId",
-                        "in": "query",
-                        "description": "groupId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "clientId",
-                        "in": "query",
-                        "description": "clientId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "loanid",
-                        "in": "query",
-                        "description": "loanid",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "savingsAccountId",
-                        "in": "query",
-                        "description": "savingsAccountId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "paged",
-                        "in": "query",
-                        "description": "paged",
-                        "required": false,
-                        "type": "boolean"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "description": "offset",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "description": "limit",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "description": "orderBy",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "description": "sortOrder",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetMakerCheckerResponse"
-                            }
-                        }
-                    }
-                }
-            }
-        },
-        "/audits/{auditId}": {
-            "get": {
-                "tags": [
-                    "Audits"
-                ],
-                "summary": "Retrieve an Audit Entry",
-                "description": "Example Requests:\n\naudits/20\naudits/20?fields=madeOnDate,maker,processingResult",
-                "operationId": "retrieveAuditEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "auditId",
-                        "in": "path",
-                        "description": "auditId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetMakerCheckerResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/audits/searchtemplate": {
-            "get": {
-                "tags": [
-                    "Audits"
-                ],
-                "summary": "Audit Search Template",
-                "description": "This is a convenience resource. It can be useful when building an Audit Search UI. \"appUsers\" are data scoped to the office/branch the requestor is associated with.\n\nExample Requests:\n\naudits/searchtemplate\naudits/searchtemplate?fields=actionNames",
-                "operationId": "retrieveAuditSearchTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetMakerCheckersSearchTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/makercheckers/searchtemplate": {
-            "get": {
-                "tags": [
-                    "Maker Checker (or 4-eye) functionality"
-                ],
-                "summary": "Maker Checker Search Template",
-                "description": "This is a convenience resource. It can be useful when building a Checker Inbox UI. \"appUsers\" are data scoped to the office/branch the requestor is associated with. \"actionNames\" and \"entityNames\" returned are those that the requestor has Checker approval permissions for.\n\nExample Requests:\n\nmakercheckers/searchtemplate\nmakercheckers/searchtemplate?fields=entityNames",
-                "operationId": "retrieveAuditSearchTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetMakerCheckersSearchTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/makercheckers/{auditId}": {
-            "post": {
-                "tags": [
-                    "Maker Checker (or 4-eye) functionality"
-                ],
-                "summary": "Approve Maker Checker Entry | Reject Maker Checker Entry",
-                "description": "",
-                "operationId": "approveMakerCheckerEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "auditId",
-                        "in": "path",
-                        "description": "auditId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "description": "command",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostMakerCheckersResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Maker Checker (or 4-eye) functionality"
-                ],
-                "summary": "Delete Maker Checker Entry",
-                "description": "",
-                "operationId": "deleteMakerCheckerEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "auditId",
-                        "in": "path",
-                        "description": "auditId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostMakerCheckersResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/makercheckers": {
-            "get": {
-                "tags": [
-                    "Maker Checker (or 4-eye) functionality"
-                ],
-                "summary": "List Maker Checker Entries",
-                "description": "Get a list of entries that can be checked by the requestor that match the criteria supplied.\n\nExample Requests:\n\nmakercheckers\n\nmakercheckers?fields=madeOnDate,maker,processingResult\n\nmakercheckers?makerDateTimeFrom=2013-03-25 08:00:00&makerDateTimeTo=2013-04-04 18:00:00\n\nmakercheckers?officeId=1\n\nmakercheckers?officeId=1&includeJson=true",
-                "operationId": "retrieveCommands",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "actionName",
-                        "in": "query",
-                        "description": "actionName",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityName",
-                        "in": "query",
-                        "description": "entityName",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "resourceId",
-                        "in": "query",
-                        "description": "resourceId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "makerId",
-                        "in": "query",
-                        "description": "makerId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "makerDateTimeFrom",
-                        "in": "query",
-                        "description": "makerDateTimeFrom",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "makerDateTimeTo",
-                        "in": "query",
-                        "description": "makerDateTimeTo",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "description": "officeId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "groupId",
-                        "in": "query",
-                        "description": "groupId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "clientId",
-                        "in": "query",
-                        "description": "clientId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "loanid",
-                        "in": "query",
-                        "description": "loanid",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "savingsAccountId",
-                        "in": "query",
-                        "description": "savingsAccountId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetMakerCheckerResponse"
-                            }
-                        }
-                    }
-                }
-            }
-        },
-        "/accountnumberformats": {
-            "get": {
-                "tags": [
-                    "Account number format"
-                ],
-                "summary": "List Account number formats",
-                "description": "Example Requests:\n\naccountnumberformats\n\n\naccountnumberformats?fields=accountType,prefixType",
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetAccountNumberFormatsIdResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Account number format"
-                ],
-                "summary": "Create an Account number format",
-                "description": "Note: You may associate a single Account number format for a given account type\nMandatory Fields for Account number formats\naccountType",
-                "operationId": "create",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostAccountNumberFormatsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostAccountNumberFormatsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/accountnumberformats/{accountNumberFormatId}": {
-            "get": {
-                "tags": [
-                    "Account number format"
-                ],
-                "summary": "Retrieve an Account number format",
-                "description": "Example Requests:\n\naccountnumberformats/1\n\n\naccountnumberformats/1?template=true\n\n\naccountnumberformats/1?fields=accountType,prefixType",
-                "operationId": "retrieveOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountNumberFormatId",
-                        "in": "path",
-                        "description": "accountNumberFormatId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetAccountNumberFormatsIdResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Account number format"
-                ],
-                "summary": "Update an Account number format",
-                "description": "",
-                "operationId": "update",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountNumberFormatId",
-                        "in": "path",
-                        "description": "accountNumberFormatId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutAccountNumberFormatsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutAccountNumberFormatsResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Account number format"
-                ],
-                "summary": "Delete an Account number format",
-                "description": "Note: Account numbers created while this format was active would remain unchanged.",
-                "operationId": "delete",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountNumberFormatId",
-                        "in": "path",
-                        "description": "accountNumberFormatId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteAccountNumberFormatsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/accountnumberformats/template": {
-            "get": {
-                "tags": [
-                    "Account number format"
-                ],
-                "summary": "Retrieve Account number format Template",
-                "description": "This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:\n\nField Defaults\nAllowed Value Lists\n\nExample Request:\n\naccountnumberformats/template",
-                "operationId": "retrieveTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetAccountNumberFormatsResponseTemplate"
-                        }
-                    }
-                }
-            }
-        },
-        "/caches": {
-            "get": {
-                "tags": [
-                    "Cache"
-                ],
-                "summary": "Retrieve Cache Types",
-                "description": "Returns the list of caches.\n\nExample Requests:\n\ncaches",
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetCachesResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Cache"
-                ],
-                "summary": "Switch Cache",
-                "description": "Switches the cache to chosen one.",
-                "operationId": "switchCache",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutCachesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutCachesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/smscampaigns": {
-            "get": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "summary": "List SMS Campaigns",
-                "description": "Example Requests:\n\nsmscampaigns",
-                "operationId": "retrieveAllEmails",
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "sqlSearch",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "summary": "Create a SMS Campaign",
-                "description": "Mandatory Fields\ncampaignName, campaignType, triggerType, providerId, runReportId, message\n\nMandatory Fields for Cash based on selected report id\nparamValue in json format",
-                "operationId": "createCampaign",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/CommandWrapper"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                }
-            }
-        },
-        "/smscampaigns/{campaignId}": {
-            "post": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "summary": "SMS Campaign",
-                "description": "Activates | Deactivates | Reactivates",
-                "operationId": "handleCommands",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "campaignId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "summary": "Update a Campaign",
-                "description": "",
-                "operationId": "updateCampaign",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "campaignId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/CommandWrapper"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "summary": "Delete a SMS Campaign",
-                "description": "Note: Only closed SMS Campaigns can be deleted",
-                "operationId": "delete",
-                "parameters": [
-                    {
-                        "name": "campaignId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                }
-            }
-        },
-        "/smscampaigns/{resourceId}": {
-            "get": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "summary": "Retrieve a SMS Campaign",
-                "description": "Example Requests:\n\nsmscampaigns/1\n",
-                "operationId": "retrieveCampaign",
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "resourceId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                }
-            }
-        },
-        "/smscampaigns/template": {
-            "get": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "summary": "Retrieve a SMS Campaign",
-                "description": "Example Requests:\n\nsmscampaigns/1\n\n\nsmscampaigns/1?template=true\n\n\nsmscampaigns/template",
-                "operationId": "template",
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                }
-            }
-        },
-        "/smscampaigns/preview": {
-            "post": {
-                "tags": [
-                    "SMS Campaigns"
-                ],
-                "operationId": "preview",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/codes/{codeId}/codevalues": {
-            "get": {
-                "tags": [
-                    "Code Values"
-                ],
-                "summary": "List Code Values",
-                "description": "Returns the list of Code Values for a given Code\n\nExample Requests:\n\ncodes/1/codevalues",
-                "operationId": "retrieveAllCodeValues",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeId",
-                        "in": "path",
-                        "description": "codeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "A List of Given response",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetCodeValuesDataResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Code Values"
-                ],
-                "summary": "Create a Code Value",
-                "description": "",
-                "operationId": "createCodeValue",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeId",
-                        "in": "path",
-                        "description": "codeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostCodeValuesDataRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostCodeValueDataResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/codes/{codeId}/codevalues/{codeValueId}": {
-            "get": {
-                "tags": [
-                    "Code Values"
-                ],
-                "summary": "Retrieve a Code Value",
-                "description": "Returns the details of a Code Value\n\nExample Requests:\n\ncodes/1/codevalues/1",
-                "operationId": "retrieveCodeValue",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeValueId",
-                        "in": "path",
-                        "description": "codeValueId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetCodeValuesDataResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Code Values"
-                ],
-                "summary": "Update a Code Value",
-                "description": "Updates the details of a code value.",
-                "operationId": "updateCodeValue",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeId",
-                        "in": "path",
-                        "description": "codeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "codeValueId",
-                        "in": "path",
-                        "description": "codeValueId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutCodeValuesDataRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutCodeValueDataResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Code Values"
-                ],
-                "summary": "Delete a Code Value",
-                "description": "Deletes a code value",
-                "operationId": "deleteCodeValue",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeId",
-                        "in": "path",
-                        "description": "codeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "codeValueId",
-                        "in": "path",
-                        "description": "codeValueId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteCodeValueDataResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/codes": {
-            "get": {
-                "tags": [
-                    "Codes"
-                ],
-                "summary": "Retrieve Codes",
-                "description": "Returns the list of codes.\n\nExample Requests:\n\ncodes",
-                "operationId": "retrieveCodes",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetCodesResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Codes"
-                ],
-                "summary": "Create a Code",
-                "description": "Creates a code. Codes created through api are always 'user defined' and so system defined is marked as false.",
-                "operationId": "createCode",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostCodesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostCodesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/codes/{codeId}": {
-            "get": {
-                "tags": [
-                    "Codes"
-                ],
-                "summary": "Retrieve a Code",
-                "description": "Returns the details of a Code.\n\nExample Requests:\n\ncodes/1",
-                "operationId": "retrieveCode",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeId",
-                        "in": "path",
-                        "description": "codeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetCodesResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Codes"
-                ],
-                "summary": "Update a Code",
-                "description": "Updates the details of a code if it is not system defined.",
-                "operationId": "updateCode",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeId",
-                        "in": "path",
-                        "description": "codeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutCodesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutCodesResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Codes"
-                ],
-                "summary": "Delete a Code",
-                "description": "Deletes a code if it is not system defined.",
-                "operationId": "deleteCode",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "codeId",
-                        "in": "path",
-                        "description": "codeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteCodesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/externalservice/{servicename}": {
-            "get": {
-                "tags": [
-                    "External Services"
-                ],
-                "summary": "Retrieve External Services Configuration",
-                "description": "Returns a external Service configurations based on the Service Name.\n\nService Names supported are S3 and SMTP.\n\nExample Requests:\n\nexternalservice/SMTP",
-                "operationId": "retrieveOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "servicename",
-                        "in": "path",
-                        "description": "servicename",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/ExternalServicesPropertiesData"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "External Services"
-                ],
-                "summary": "Update External Service",
-                "description": "Updates the external Service Configuration for a Service Name.\n\nExample: \n\nexternalservice/S3",
-                "operationId": "updateExternalServiceProperties",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "servicename",
-                        "in": "path",
-                        "description": "servicename",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutExternalServiceRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": ""
-                    }
-                }
-            }
-        },
-        "/configurations/{configId}": {
-            "get": {
-                "tags": [
-                    "Global Configuration"
-                ],
-                "summary": "Retrieve Global Configuration",
-                "description": "Returns a global enable/disable configurations.\n\nExample Requests:\n\nconfigurations/1",
-                "operationId": "retrieveOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "configId",
-                        "in": "path",
-                        "description": "configId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetGlobalConfigurationsResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Global Configuration"
-                ],
-                "summary": "Update Global Configuration",
-                "description": "Updates an enable/disable global configuration item.",
-                "operationId": "updateConfiguration",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "configId",
-                        "in": "path",
-                        "description": "configId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutGlobalConfigurationsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutGlobalConfigurationsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/configurations": {
-            "get": {
-                "tags": [
-                    "Global Configuration"
-                ],
-                "summary": "Retrieve Global Configuration | Retrieve Global Configuration for surveys",
-                "description": "Returns the list global enable/disable configurations.\n\nExample Requests:\n\nconfigurations\n\n\nReturns the list global enable/disable survey configurations.\n\nExample Requests:\n\nconfigurations/survey",
-                "operationId": "retrieveConfiguration",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "survey",
-                        "in": "query",
-                        "description": "survey",
-                        "required": false,
-                        "type": "boolean",
-                        "default": false
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "List of example \n response \nsurveys response   \ngiven below",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetGlobalConfigurationsResponse"
-                            }
-                        }
-                    }
-                }
-            }
-        },
-        "/CreditBureauConfiguration/organisationCreditBureau": {
-            "get": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "getOrganisationCreditBureau",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "updateCreditBureau",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/CreditBureauConfiguration/loanProduct": {
-            "get": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "fetchLoanProducts",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/CreditBureauConfiguration/mappings": {
-            "get": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "getCreditBureauLoanProductMapping",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "updateCreditBureauLoanProductMapping",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/CreditBureauConfiguration/organisationCreditBureau/{organisationCreditBureauId}": {
-            "post": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "addOrganisationCreditBureau",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "organisationCreditBureauId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/CreditBureauConfiguration/mappings/{CreditBureauId}": {
-            "post": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "createCreditBureauLoanProductMapping",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "CreditBureauId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/CreditBureauConfiguration": {
-            "get": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "getCreditBureau",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/CreditBureauConfiguration/config/{organisationCreditBureauId}": {
-            "get": {
-                "tags": [
-                    "CreditBureau Configuration"
-                ],
-                "operationId": "getConfiguration",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "organisationCreditBureauId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/datatables": {
-            "get": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "List Data Tables",
-                "description": "Lists registered data tables and the Apache Fineract Core application table they are registered to.\n\nARGUMENTS\n\napptable  - optional\nThe Apache Fineract core application table.\n\nExample Requests:\n\ndatatables?apptable=m_client\n\n\ndatatables",
-                "operationId": "getDatatables",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "apptable",
-                        "in": "query",
-                        "description": "apptable",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetDataTablesResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Create Data Table",
-                "description": "Create a new data table and registers it with the Apache Fineract Core application table.\n\nField Descriptions\n\nMandatory - datatableName : \n\nThe name of the Data Table.\n\nMandatory - apptableName\n\nApplication table name. Must be one of the following:\n\nm_client\n\nm_group\n\nm_loan\n\nm_office\n\nm_saving_account\n\nm_product_loan\n\nm_savings_product\n\nMandatory - columns  \nAn array of columns in the new Data Table.\n\nOptional - multiRow\n\nA [...]
-                "operationId": "createDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostDataTablesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostDataTablesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/datatables/register/{datatable}/{apptable}": {
-            "post": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Register Data Table",
-                "description": "Registers a data table with the Apache Fineract Core application table. This allows the data table to be maintained through the API. In case the datatable is a PPI (survey table), a parameter category should be pass along with the request. The API currently support one category (200)",
-                "operationId": "registerDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptable",
-                        "in": "path",
-                        "description": "apptable",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": false,
-                        "schema": {
-                            "$ref": "#/definitions/PostDataTablesRegisterDatatableAppTable"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/datatables/deregister/{datatable}": {
-            "post": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Deregister Data Table",
-                "description": "Deregisters a data table. It will no longer be available through the API.",
-                "operationId": "deregisterDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/datatables/{datatableName}": {
-            "put": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Update Data Table",
-                "description": "Modifies fields of a data table. If the apptableName parameter is passed, data table is deregistered and registered with the new application table.",
-                "operationId": "updateDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatableName",
-                        "in": "path",
-                        "description": "datatableName",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Delete Data Table",
-                "description": "Deletes a data table and deregisters it from the Apache Fineract Core application table.",
-                "operationId": "deleteDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatableName",
-                        "in": "path",
-                        "description": "datatableName",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteDataTablesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/datatables/{datatable}/{apptableId}/{datatableId}": {
-            "get": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "operationId": "getDatatableManyEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "datatableId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "order",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Update Entry in Data Table (One to Many)",
-                "description": "Updates the row (if it exists) of the data table.",
-                "operationId": "updateDatatableEntryOneToMany",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "description": "apptableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "datatableId",
-                        "in": "path",
-                        "description": "datatableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesAppTableIdDatatableIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesAppTableIdDatatableIdResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Delete Entry in Datatable (One to Many)",
-                "description": "Deletes the entry (if it exists) for data tables that are one to many with the application table.\n\n",
-                "operationId": "deleteDatatableEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "body",
-                        "x-example": "{}"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "description": "apptableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "datatableId",
-                        "in": "path",
-                        "description": "datatableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteDataTablesDatatableAppTableIdDatatableIdResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/datatables/{datatable}/{apptableId}": {
-            "get": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Retrieve Entry(s) from Data Table",
-                "description": "Gets the entry (if it exists) for data tables that are one to one with the application table. \nGets the entries (if they exist) for data tables that are one to many with the application table.\n\nNote: The 'fields' parameter is not available for datatables.\n\nARGUMENTS\norderoptional Specifies the order in which data is returned.genericResultSetoptional, defaults to false If 'true' an optimised JSON format is returned suitable for tabular display of data [...]
-                "operationId": "getDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "description": "apptableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "order",
-                        "in": "query",
-                        "description": "order",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetDataTablesAppTableIdResponse"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Create Entry in Data Table",
-                "description": "Adds a row to the data table.\n\nNote that the default datatable UI functionality converts any field name containing spaces to underscores when using the API. This means the field name \"Business Description\" is considered the same as \"Business_Description\". So you shouldn't have both \"versions\" in any data table.",
-                "operationId": "createDatatableEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "description": "apptableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostDataTablesAppTableIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostDataTablesAppTableIdResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Update Entry in Data Table (One to One)",
-                "description": "Updates the row (if it exists) of the data table.",
-                "operationId": "updateDatatableEntryOnetoOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "description": "apptableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesAppTableIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutDataTablesAppTableIdResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Delete Entry(s) in Data Table",
-                "description": "Deletes the entry (if it exists) for data tables that are one-to-one with the application table. \nDeletes the entries (if they exist) for data tables that are one-to-many with the application table.",
-                "operationId": "deleteDatatableEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "description": "apptableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteDataTablesDatatableAppTableIdResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/datatables/{datatable}": {
-            "get": {
-                "tags": [
-                    "Data Tables"
-                ],
-                "summary": "Retrieve Data Table Details",
-                "description": "Lists a registered data table details and the Apache Fineract Core application table they are registered to.",
-                "operationId": "getDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "datatable",
-                        "in": "path",
-                        "description": "datatable",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetDataTablesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/entityDatatableChecks/{entityDatatableCheckId}": {
-            "delete": {
-                "tags": [
-                    "Entity Datatable Check"
-                ],
-                "summary": "Delete Entity-Datatable Checks",
-                "description": "Deletes an existing Entity-Datatable Check",
-                "operationId": "deleteDatatable",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityDatatableCheckId",
-                        "in": "path",
-                        "description": "entityDatatableCheckId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteEntityDatatableChecksTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/entityDatatableChecks": {
-            "get": {
-                "tags": [
-                    "Entity Datatable Check"
-                ],
-                "summary": "List Entity-Datatable Checks",
-                "description": "The list capability of Entity-Datatable Checks can support pagination.\n\nOPTIONAL ARGUMENTS\noffset Integer optional, defaults to 0 Indicates the result from which pagination startslimit Integer optional, defaults to 200 Restricts the size of results returned. To override the default and return all entries you must explicitly pass a non-positive integer value for limit e.g. limit=0, or limit=-1\nExample Request:\n\nentityDatatableChecks?offset=0&limit=15",
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "status",
-                        "in": "query",
-                        "description": "status",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "entity",
-                        "in": "query",
-                        "description": "entity",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "productId",
-                        "in": "query",
-                        "description": "productId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "description": "offset",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "description": "limit",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetEntityDatatableChecksResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Entity Datatable Check"
-                ],
-                "summary": "Create Entity-Datatable Checks",
-                "description": "Mandatory Fields : \nentity, status, datatableName\n\nNon-Mandatory Fields : \nproductId",
-                "operationId": "createEntityDatatableCheck",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostEntityDatatableChecksTemplateRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostEntityDatatableChecksTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/entityDatatableChecks/template": {
-            "get": {
-                "tags": [
-                    "Entity Datatable Check"
-                ],
-                "summary": "Retrieve Entity-Datatable Checks Template",
-                "description": "This is a convenience resource useful for building maintenance user interface screens for Entity-Datatable Checks applications. The template data returned consists of:\n\nAllowed Value Lists\nExample Request:\n\nentityDatatableChecks/template",
-                "operationId": "getTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetEntityDatatableChecksTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/reports/{id}": {
-            "get": {
-                "tags": [
-                    "Reports"
-                ],
-                "summary": "Retrieve a Report\n",
-                "description": "Example Requests:\n\nreports/1\n\n\nreports/1?template=true",
-                "operationId": "retrieveReport",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "id",
-                        "in": "path",
-                        "description": "id",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetReportsResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Reports"
-                ],
-                "summary": "Update a Report",
-                "description": "Only the useReport value can be updated for core reports.",
-                "operationId": "updateReport",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "id",
-                        "in": "path",
-                        "description": "id",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutReportRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutReportResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Reports"
-                ],
-                "summary": "Delete a Report",
-                "description": "Only non-core reports can be deleted.",
-                "operationId": "deleteReport",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "id",
-                        "in": "path",
-                        "description": "id",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteReportsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/reports/template": {
-            "get": {
-                "tags": [
-                    "Reports"
-                ],
-                "summary": "Retrieve Report Template",
-                "description": "This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:\n\nField Defaults\nAllowed Value Lists\n\nExample Request : \n\nreports/template",
-                "operationId": "retrieveOfficeTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetReportsTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/reports": {
-            "get": {
-                "tags": [
-                    "Reports"
-                ],
-                "summary": "List Reports",
-                "description": "Lists all reports and their parameters.\n\nExample Request:\n\nreports",
-                "operationId": "retrieveReportList",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": ""
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Reports"
-                ],
-                "summary": "Create a Report",
-                "description": "",
-                "operationId": "createReport",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostRepostRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostReportsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/runreports/{reportName}": {
-            "get": {
-                "tags": [
-                    "Run Reports"
-                ],
-                "summary": "Running a Report",
-                "description": "This resource allows you to run and receive output from pre-defined Apache Fineract reports.\n\nReports can also be used to provide data for searching and workflow functionality.\n\nThe default output is a JSON formatted \"Generic Resultset\". The Generic Resultset contains Column Heading as well as Data information. However, you can export to CSV format by simply adding \"&exportCSV=true\" to the end of your URL.\n\nIf Pentaho reports have been pre-define [...]
-                "operationId": "runReport",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json",
-                    "text/csv",
-                    "application/vnd.ms-excel",
-                    "application/pdf",
-                    "text/html"
-                ],
-                "parameters": [
-                    {
-                        "name": "reportName",
-                        "in": "path",
-                        "description": "reportName",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "isSelfServiceUserReport",
-                        "in": "query",
-                        "description": "isSelfServiceUserReport",
-                        "required": false,
-                        "type": "boolean",
-                        "default": false
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetReportNameResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/{entityType}/{entityId}/documents/{documentId}/attachment": {
-            "get": {
-                "tags": [
-                    "Documents"
-                ],
-                "summary": "Retrieve Binary File associated with Document",
-                "description": "Request used to download the file associated with the document\n\nExample Requests:\n\nclients/1/documents/1/attachment\n\n\nloans/1/documents/1/attachment",
-                "operationId": "downloadFile",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/octet-stream"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityType",
-                        "in": "path",
-                        "description": "entityType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "documentId",
-                        "in": "path",
-                        "description": "documentId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "Not Shown: The corresponding Binary file"
-                    }
-                }
-            }
-        },
-        "/{entityType}/{entityId}/documents": {
-            "get": {
-                "tags": [
-                    "Documents"
-                ],
-                "summary": "List documents",
-                "description": "Example Requests:\n\nclients/1/documents\n\nclient_identifiers/1/documents\n\nloans/1/documents?fields=name,description",
-                "operationId": "retreiveAllDocuments",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityType",
-                        "in": "path",
-                        "description": "entityType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetEntityTypeEntityIdDocumentsResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Documents"
-                ],
-                "summary": "Create a Document",
-                "description": "Note: A document is created using a Multi-part form upload \n\nBody Parts\n\nname : \nName or summary of the document\n\ndescription : \nDescription of the document\n\nfile : \nThe file to be uploaded\n\nMandatory Fields : \nfile and description",
-                "operationId": "createDocument",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityType",
-                        "in": "path",
-                        "description": "entityType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "Content-Length",
-                        "in": "header",
-                        "description": "Content-Length",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "description": "file",
-                        "required": false,
-                        "type": "file"
-                    },
-                    {
-                        "name": "name",
-                        "in": "formData",
-                        "description": "name",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "description",
-                        "in": "formData",
-                        "description": "description",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "Not Shown (multi-part form data)",
-                        "schema": {
-                            "$ref": "#/definitions/PostEntityTypeEntityIdDocumentsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/{entityType}/{entityId}/documents/{documentId}": {
-            "get": {
-                "tags": [
-                    "Documents"
-                ],
-                "summary": "Retrieve a Document",
-                "description": "Example Requests:\n\nclients/1/documents/1\n\n\nloans/1/documents/1\n\n\nclient_identifiers/1/documents/1?fields=name,description",
-                "operationId": "getDocument",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityType",
-                        "in": "path",
-                        "description": "entityType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "documentId",
-                        "in": "path",
-                        "description": "documentId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetEntityTypeEntityIdDocumentsResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Documents"
-                ],
-                "summary": "Update a Document",
-                "description": "Note: A document is updated using a Multi-part form upload \nBody Parts\nname\nName or summary of the document\ndescription\nDescription of the document\nfile\nThe file to be uploaded",
-                "operationId": "updateDocument",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityType",
-                        "in": "path",
-                        "description": "entityType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "documentId",
-                        "in": "path",
-                        "description": "documentId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "Content-Length",
-                        "in": "header",
-                        "description": "Content-Length",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "description": "file",
-                        "required": false,
-                        "type": "file"
-                    },
-                    {
-                        "name": "name",
-                        "in": "formData",
-                        "description": "name",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "description",
-                        "in": "formData",
-                        "description": "description",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "Not Shown (multi-part form data)",
-                        "schema": {
-                            "$ref": "#/definitions/PutEntityTypeEntityIdDocumentsResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Documents"
-                ],
-                "summary": "Remove a Document",
-                "description": "",
-                "operationId": "deleteDocument",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityType",
-                        "in": "path",
-                        "description": "entityType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "documentId",
-                        "in": "path",
-                        "description": "documentId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteEntityTypeEntityIdDocumentsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/{entity}/{entityId}/images": {
-            "get": {
-                "tags": [
-                    "DomainNameapiv1{entity}{entityId}images"
-                ],
-                "operationId": "retrieveImage",
-                "consumes": [
-                    "text/plain",
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "text/plain"
-                ],
-                "parameters": [
-                    {
-                        "name": "entity",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "maxWidth",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "maxHeight",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "output",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "default": {
-                        "description": "successful operation"
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "DomainNameapiv1{entity}{entityId}images"
-                ],
-                "operationId": "addNewClientImage",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entity",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "Content-Length",
-                        "in": "header",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "required": false,
-                        "type": "file"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "DomainNameapiv1{entity}{entityId}images"
-                ],
-                "operationId": "updateClientImage",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entity",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "Content-Length",
-                        "in": "header",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "required": false,
-                        "type": "file"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "DomainNameapiv1{entity}{entityId}images"
-                ],
-                "operationId": "deleteClientImage",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entity",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/entitytoentitymapping/{mapId}/{fromId}/{toId}": {
-            "get": {
-                "tags": [
-                    "DomainNameapiv1entitytoentitymapping"
-                ],
-                "operationId": "getEntityToEntityMappings",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "mapId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "fromId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "toId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/entitytoentitymapping": {
-            "get": {
-                "tags": [
-                    "DomainNameapiv1entitytoentitymapping"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/entitytoentitymapping/{mapId}": {
-            "get": {
-                "tags": [
-                    "DomainNameapiv1entitytoentitymapping"
-                ],
-                "operationId": "retrieveOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "mapId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "DomainNameapiv1entitytoentitymapping"
-                ],
-                "operationId": "updateMap",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "mapId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "DomainNameapiv1entitytoentitymapping"
-                ],
-                "operationId": "delete",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "mapId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/entitytoentitymapping/{relId}": {
-            "post": {
-                "tags": [
-                    "DomainNameapiv1entitytoentitymapping"
-                ],
-                "operationId": "createMap",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "relId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/hooks/{hookId}": {
-            "get": {
-                "tags": [
-                    "Hooks"
-                ],
-                "summary": "Retrieve a Hook",
-                "description": "Returns the details of a Hook.\n\nExample Requests:\n\nhooks/1",
-                "operationId": "retrieveHook",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "hookId",
-                        "in": "path",
-                        "description": "hookId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetHookResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Hooks"
-                ],
-                "summary": "Update a Hook",
-                "description": "Updates the details of a hook.",
-                "operationId": "updateHook",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "hookId",
-                        "in": "path",
-                        "description": "hookId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutHookRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutHookResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Hooks"
-                ],
-                "summary": "Delete a Hook",
-                "description": "Deletes a hook.",
-                "operationId": "deleteHook",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "hookId",
-                        "in": "path",
-                        "description": "hookId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteHookResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/hooks": {
-            "get": {
-                "tags": [
-                    "Hooks"
-                ],
-                "summary": "Retrieve Hooks",
-                "description": "Returns the list of hooks.\n\nExample Requests:\n\nhooks",
-                "operationId": "retrieveHooks",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetHookResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Hooks"
-                ],
-                "summary": "Create a Hook",
-                "description": "The following parameters can be passed for the creation of a hook :-\n\nname - string - Required. The name of the template that is being called. (See /hooks/template for the list of valid hook names.)\n\nisActive - boolean - Determines whether the hook is actually triggered.\n\nevents - array - Determines what events the hook is triggered for.\n\nconfig - hash - Required. Key/value pairs to provide settings for this hook. These settings vary between the te [...]
-                "operationId": "createHook",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostHookRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostHookResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/hooks/template": {
-            "get": {
-                "tags": [
-                    "Hooks"
-                ],
-                "summary": "Retrieve Hooks Template",
-                "description": "This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:\n\nField Defaults\nAllowed Value Lists\nExample Request:\n\nhooks/template",
-                "operationId": "template",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetHookTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/scheduler": {
-            "get": {
-                "tags": [
-                    "Scheduler"
-                ],
-                "summary": "Retrieve Scheduler Status",
-                "description": "Returns the scheduler status.\n\nExample Requests:\n\nscheduler",
-                "operationId": "retrieveStatus",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetSchedulerResponse"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Scheduler"
-                ],
-                "summary": "Activate Scheduler Jobs | Suspend Scheduler Jobs",
-                "description": "Activates the scheduler job service. | Suspends the scheduler job service.",
-                "operationId": "changeSchedulerStatus",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "description": "command",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "POST :  scheduler?command=start\n\n\nPOST : scheduler?command=stop"
-                    }
-                }
-            }
-        },
-        "/jobs/{jobId}/runhistory": {
-            "get": {
-                "tags": [
-                    "MIFOSX-BATCH JOBS"
-                ],
-                "summary": "Retrieve Job Run History",
-                "description": "Example Requests:\n\njobs/5/runhistory?offset=0&limit=200",
-                "operationId": "retrieveHistory",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "jobId",
-                        "in": "path",
-                        "description": "jobId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "description": "offset",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "description": "limit",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "description": "orderBy",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "description": "sortOrder",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetJobsJobIDJobRunHistoryResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/jobs/{jobId}": {
-            "get": {
-                "tags": [
-                    "MIFOSX-BATCH JOBS"
-                ],
-                "summary": "Retrieve a Job",
-                "description": "Returns the details of a Job.\n\nExample Requests:\n\njobs/5",
-                "operationId": "retrieveOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "jobId",
-                        "in": "path",
-                        "description": "jobId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetJobsResponse"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "MIFOSX-BATCH JOBS"
-                ],
-                "summary": "Run a Job",
-                "description": "Manually Execute Specific Job.",
-                "operationId": "executeJob",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "jobId",
-                        "in": "path",
-                        "description": "jobId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "description": "command",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "POST: jobs/1?command=executeJob"
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "MIFOSX-BATCH JOBS"
-                ],
-                "summary": "Update a Job",
-                "description": "Updates the details of a job.",
-                "operationId": "updateJobDetail",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "jobId",
-                        "in": "path",
-                        "description": "jobId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutJobsJobsIDRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": ""
-                    }
-                }
-            }
-        },
-        "/jobs": {
-            "get": {
-                "tags": [
-                    "MIFOSX-BATCH JOBS"
-                ],
-                "summary": "Retrieve Scheduler Jobs",
-                "description": "Returns the list of jobs.\n\nExample Requests:\n\njobs",
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetJobsResponse"
-                            }
-                        }
-                    }
-                }
-            }
-        },
-        "/reportmailingjobs": {
-            "get": {
-                "tags": [
-                    "Report Mailing Jobs"
-                ],
-                "summary": "List Report Mailing Jobs",
-                "description": "Example Requests:\n\nreportmailingjobs",
-                "operationId": "retrieveAllReportMailingJobs",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "description": "offset",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "description": "limit",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "description": "orderBy",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "description": "sortOrder",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetReportMailingJobsResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Report Mailing Jobs"
-                ],
-                "summary": "Create a Report Mailing Job",
-                "description": "Mandatory Fields: name, startDateTime, stretchyReportId, emailRecipients, emailSubject, emailMessage, emailAttachmentFileFormatId, recurrence, isActive\n\nOptional Fields: description, stretchyReportParamMap",
-                "operationId": "createReportMailingJob",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostReportMailingJobsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostReportMailingJobsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/reportmailingjobs/{entityId}": {
-            "get": {
-                "tags": [
-                    "Report Mailing Jobs"
-                ],
-                "summary": "Retrieve a Report Mailing Job",
-                "description": "Example Requests:\n\nreportmailingjobs/1\n\n\nreportmailingjobs/1?template=true",
-                "operationId": "retrieveReportMailingJob",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetReportMailingJobsResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Report Mailing Jobs"
-                ],
-                "summary": "Update a Report Mailing Job\n",
-                "description": "",
-                "operationId": "updateReportMailingJob",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutReportMailingJobsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutReportMailingJobsResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Report Mailing Jobs"
-                ],
-                "summary": "Delete a Report Mailing Job",
-                "description": "",
-                "operationId": "deleteReportMailingJob",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "entityId",
-                        "in": "path",
-                        "description": "entityId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/DeleteReportMailingJobsRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteReportMailingJobsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/reportmailingjobs/template": {
-            "get": {
-                "tags": [
-                    "Report Mailing Jobs"
-                ],
-                "summary": "Retrieve Report Mailing Job Details Template",
-                "description": "This is a convenience resource. It can be useful when building maintenance user interface screens for report mailing job applications. The template data returned consists of any or all of:\n\nField Defaults\nAllowed Value Lists\nExample Request:\n\nreportmailingjobs/template",
-                "operationId": "retrieveReportMailingJobTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetReportMailingJobsTemplate"
-                        }
-                    }
-                }
-            }
-        },
-        "/reportmailingjobrunhistory": {
-            "get": {
-                "tags": [
-                    "List Report Mailing Job History"
-                ],
-                "summary": "List Report Mailing Job History",
-                "description": "The list capability of report mailing job history can support pagination and sorting.\n\nExample Requests:\n\nreportmailingjobrunhistory/1",
-                "operationId": "retrieveAllByReportMailingJobId",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "reportMailingJobId",
-                        "in": "query",
-                        "description": "reportMailingJobId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "description": "offset",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "description": "limit",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "description": "orderBy",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "description": "sortOrder",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/ReportMailingJobRunHistoryData"
-                        }
-                    }
-                }
-            }
-        },
-        "/authentication": {
-            "post": {
-                "tags": [
-                    "Authentication HTTP Basic"
-                ],
-                "summary": "Verify authentication",
-                "description": "Authenticates the credentials provided and returns the set roles and permissions allowed.",
-                "operationId": "authenticate",
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "username",
-                        "in": "query",
-                        "description": "username",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "password",
-                        "in": "query",
-                        "description": "password",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostAuthenticationResponse"
-                        }
-                    },
-                    "400": {
-                        "description": "Unauthenticated. Please login"
-                    }
-                }
-            }
-        },
-        "/userdetails": {
-            "get": {
-                "tags": [
-                    "Fetch authenticated user details"
-                ],
-                "summary": "Fetch authenticated user details\n",
-                "description": "checks the Authentication and returns the set roles and permissions allowed.",
-                "operationId": "fetchAuthenticatedUserData",
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "access_token",
-                        "in": "query",
-                        "description": "access_token",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetUserDetailsResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/sms/{campaignId}/messageByStatus": {
-            "get": {
-                "tags": [
-                    "SMS"
-                ],
-                "operationId": "retrieveAllSmsByStatus",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "campaignId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "status",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "fromDate",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "toDate",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "locale",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sqlSearch",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/sms": {
-            "get": {
-                "tags": [
-                    "SMS"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "SMS"
-                ],
-                "operationId": "create",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/sms/{resourceId}": {
-            "get": {
-                "tags": [
-                    "SMS"
-                ],
-                "operationId": "retrieveOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "resourceId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "SMS"
-                ],
-                "operationId": "update",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "resourceId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "SMS"
-                ],
-                "operationId": "delete",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "resourceId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/likelihood/{ppiName}": {
-            "get": {
-                "tags": [
-                    "Likelihood"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "ppiName",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/likelihood/{ppiName}/{likelihoodId}": {
-            "get": {
-                "tags": [
-                    "Likelihood"
-                ],
-                "operationId": "retrieve",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "likelihoodId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Likelihood"
-                ],
-                "operationId": "update",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "likelihoodId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/povertyLine/{ppiName}": {
-            "get": {
-                "tags": [
-                    "Poverty Line"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "ppiName",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/povertyLine/{ppiName}/{likelihoodId}": {
-            "get": {
-                "tags": [
-                    "Poverty Line"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "ppiName",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "likelihoodId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/survey/{surveyName}/{apptableId}": {
-            "post": {
-                "tags": [
-                    "Survey"
-                ],
-                "summary": "Create an entry in the survey table",
-                "description": "Insert and entry in a survey table (full fill the survey).\n\nRefer Link for sample Body:  [ https://demo.openmf.org/api-docs/apiLive.htm#survey_create ] ",
-                "operationId": "createDatatableEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "surveyName",
-                        "in": "path",
-                        "description": "surveyName",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptableId",
-                        "in": "path",
-                        "description": "apptableId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostSurveySurveyNameApptableIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostSurveySurveyNameApptableIdResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/survey/{surveyName}/{clientId}/{fulfilledId}": {
-            "delete": {
-                "tags": [
-                    "Survey"
-                ],
-                "operationId": "deleteDatatableEntries",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "surveyName",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "clientId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "fulfilledId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/survey/{surveyName}/{clientId}": {
-            "get": {
-                "tags": [
-                    "Survey"
-                ],
-                "operationId": "getClientSurveyOverview",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "surveyName",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "clientId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/survey/{surveyName}/{clientId}/{entryId}": {
-            "get": {
-                "tags": [
-                    "Survey"
-                ],
-                "operationId": "getSurveyEntry",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "surveyName",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "clientId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "entryId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/survey/{surveyName}": {
-            "get": {
-                "tags": [
-                    "Survey"
-                ],
-                "summary": "Retrieve survey",
-                "description": "Lists a registered survey table details and the Apache Fineract Core application table they are registered to.",
-                "operationId": "retrieveSurvey",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "surveyName",
-                        "in": "path",
-                        "description": "surveyName",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetSurveyResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/survey": {
-            "get": {
-                "tags": [
-                    "Survey"
-                ],
-                "summary": "Retrieve surveys",
-                "description": "Retrieve surveys. This allows to retrieve the list of survey tables registered .",
-                "operationId": "retrieveSurveys",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetSurveyResponse"
-                            }
-                        }
-                    }
-                }
-            }
-        },
-        "/survey/register/{surveyName}/{apptable}": {
-            "put": {
-                "tags": [
-                    "Survey"
-                ],
-                "operationId": "register",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "surveyName",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "apptable",
-                        "in": "path",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/interoperation/accounts/{accountId}": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation Account details",
-                "description": "",
-                "operationId": "getAccountDetails",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountId",
-                        "in": "path",
-                        "description": "accountId",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropAccountData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/accounts/{accountId}/transactions": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query transactions by Account Id",
-                "description": "",
-                "operationId": "getAccountTransactions",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountId",
-                        "in": "path",
-                        "description": "accountId",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "debit",
-                        "in": "query",
-                        "description": "debit",
-                        "required": false,
-                        "type": "boolean",
-                        "default": true
-                    },
-                    {
-                        "name": "credit",
-                        "in": "query",
-                        "description": "credit",
-                        "required": false,
-                        "type": "boolean",
-                        "default": false
-                    },
-                    {
-                        "name": "fromBookingDateTime",
-                        "in": "query",
-                        "description": "fromBookingDateTime",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "toBookingDateTime",
-                        "in": "query",
-                        "description": "toBookingDateTime",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropTransactionsData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/accounts/{accountId}/identifiers": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation secondary identifiers by Account Id",
-                "description": "",
-                "operationId": "getAccountIdentifiers",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "accountId",
-                        "in": "path",
-                        "description": "accountId",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifiersResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/parties/{idType}/{idValue}": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation Account by secondary identifier",
-                "description": "",
-                "operationId": "getAccountByIdentifier",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "idType",
-                        "in": "path",
-                        "description": "idType",
-                        "required": true,
-                        "type": "string",
-                        "enum": [
-                            "MSISDN",
-                            "EMAIL",
-                            "PERSONAL_ID",
-                            "BUSINESS",
-                            "DEVICE",
-                            "ACCOUNT_ID",
-                            "IBAN",
-                            "ALIAS"
-                        ]
-                    },
-                    {
-                        "name": "idValue",
-                        "in": "path",
-                        "description": "idValue",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierAccountResponseData"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Interoperation Identifier registration",
-                "description": "",
-                "operationId": "registerAccountIdentifier",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "idType",
-                        "in": "path",
-                        "description": "idType",
-                        "required": true,
-                        "type": "string",
-                        "enum": [
-                            "MSISDN",
-                            "EMAIL",
-                            "PERSONAL_ID",
-                            "BUSINESS",
-                            "DEVICE",
-                            "ACCOUNT_ID",
-                            "IBAN",
-                            "ALIAS"
-                        ]
-                    },
-                    {
-                        "name": "idValue",
-                        "in": "path",
-                        "description": "idValue",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierRequestData"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierAccountResponseData"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Allow Interoperation Identifier registration",
-                "description": "",
-                "operationId": "deleteAccountIdentifier",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "idType",
-                        "in": "path",
-                        "description": "idType",
-                        "required": true,
-                        "type": "string",
-                        "enum": [
-                            "MSISDN",
-                            "EMAIL",
-                            "PERSONAL_ID",
-                            "BUSINESS",
-                            "DEVICE",
-                            "ACCOUNT_ID",
-                            "IBAN",
-                            "ALIAS"
-                        ]
-                    },
-                    {
-                        "name": "idValue",
-                        "in": "path",
-                        "description": "idValue",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierRequestData"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierAccountResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/parties/{idType}/{idValue}/{subIdOrType}": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation Account by secondary identifier",
-                "description": "",
-                "operationId": "getAccountByIdentifier",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "idType",
-                        "in": "path",
-                        "description": "idType",
-                        "required": true,
-                        "type": "string",
-                        "enum": [
-                            "MSISDN",
-                            "EMAIL",
-                            "PERSONAL_ID",
-                            "BUSINESS",
-                            "DEVICE",
-                            "ACCOUNT_ID",
-                            "IBAN",
-                            "ALIAS"
-                        ]
-                    },
-                    {
-                        "name": "idValue",
-                        "in": "path",
-                        "description": "idValue",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "subIdOrType",
-                        "in": "path",
-                        "description": "subIdOrType",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierAccountResponseData"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Interoperation Identifier registration",
-                "description": "",
-                "operationId": "registerAccountIdentifier",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "idType",
-                        "in": "path",
-                        "description": "idType",
-                        "required": true,
-                        "type": "string",
-                        "enum": [
-                            "MSISDN",
-                            "EMAIL",
-                            "PERSONAL_ID",
-                            "BUSINESS",
-                            "DEVICE",
-                            "ACCOUNT_ID",
-                            "IBAN",
-                            "ALIAS"
-                        ]
-                    },
-                    {
-                        "name": "idValue",
-                        "in": "path",
-                        "description": "idValue",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "subIdOrType",
-                        "in": "path",
-                        "description": "subIdOrType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierRequestData"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierAccountResponseData"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Allow Interoperation Identifier registration",
-                "description": "",
-                "operationId": "deleteAccountIdentifier",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "idType",
-                        "in": "path",
-                        "description": "idType",
-                        "required": true,
-                        "type": "string",
-                        "enum": [
-                            "MSISDN",
-                            "EMAIL",
-                            "PERSONAL_ID",
-                            "BUSINESS",
-                            "DEVICE",
-                            "ACCOUNT_ID",
-                            "IBAN",
-                            "ALIAS"
-                        ]
-                    },
-                    {
-                        "name": "idValue",
-                        "in": "path",
-                        "description": "idValue",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "subIdOrType",
-                        "in": "path",
-                        "description": "subIdOrType",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierRequestData"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropIdentifierAccountResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/transactions/{transactionCode}/requests/{requestCode}": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation Transaction Request",
-                "description": "",
-                "operationId": "getTransactionRequest",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "transactionCode",
-                        "in": "path",
-                        "description": "transactionCode",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "requestCode",
-                        "in": "path",
-                        "description": "requestCode",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropTransactionRequestResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/requests": {
-            "post": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Allow Interoperation Transaction Request",
-                "description": "",
-                "operationId": "createTransactionRequest",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/InteropTransactionRequestData"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropTransactionRequestResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/transactions/{transactionCode}/quotes/{quoteCode}": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation Quote",
-                "description": "",
-                "operationId": "getQuote",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "transactionCode",
-                        "in": "path",
-                        "description": "transactionCode",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "quoteCode",
-                        "in": "path",
-                        "description": "quoteCode",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropQuoteResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/quotes": {
-            "post": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Calculate Interoperation Quote",
-                "description": "",
-                "operationId": "createQuote",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/InteropQuoteRequestData"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropQuoteResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/transactions/{transactionCode}/transfers/{transferCode}": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation Transfer",
-                "description": "",
-                "operationId": "getTransfer",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "transactionCode",
-                        "in": "path",
-                        "description": "transactionCode",
-                        "required": true,
-                        "type": "string"
-                    },
-                    {
-                        "name": "transferCode",
-                        "in": "path",
-                        "description": "transferCode",
-                        "required": true,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropTransferResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/transfers": {
-            "post": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Prepare Interoperation Transfer",
-                "description": "",
-                "operationId": "performTransfer",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "action",
-                        "in": "query",
-                        "description": "action",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/InteropTransferRequestData"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "$ref": "#/definitions/InteropTransferResponseData"
-                        }
-                    }
-                }
-            }
-        },
-        "/interoperation/health": {
-            "get": {
-                "tags": [
-                    "interoperation"
-                ],
-                "summary": "Query Interoperation Health Request",
-                "description": "",
-                "operationId": "health",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "OK"
-                    }
-                }
-            }
-        },
-        "/mixreport": {
-            "get": {
-                "tags": [
-                    "Mix Report"
-                ],
-                "operationId": "retrieveXBRLReport",
-                "produces": [
-                    "application/xml"
-                ],
-                "parameters": [
-                    {
-                        "name": "startDate",
-                        "in": "query",
-                        "required": false,
-                        "type": "string",
-                        "format": "date-time"
-                    },
-                    {
-                        "name": "endDate",
-                        "in": "query",
-                        "required": false,
-                        "type": "string",
-                        "format": "date-time"
-                    },
-                    {
-                        "name": "currency",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/mixtaxonomy": {
-            "get": {
-                "tags": [
-                    "Mix Taxonomy"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/mixmapping": {
-            "get": {
-                "tags": [
-                    "Mix Mapping "
-                ],
-                "operationId": "retrieveTaxonomyMapping",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Mix Mapping "
-                ],
-                "operationId": "updateTaxonomyMapping",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/notifications": {
-            "get": {
-                "tags": [
-                    "Notification"
-                ],
-                "operationId": "getAllNotifications",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "limit",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "offset",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int32"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "isRead",
-                        "in": "query",
-                        "required": false,
-                        "type": "boolean"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Notification"
-                ],
-                "operationId": "update",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "default": {
-                        "description": "successful operation"
-                    }
-                }
-            }
-        },
-        "/holidays/{holidayId}": {
-            "get": {
-                "tags": [
-                    "Holidays"
-                ],
-                "summary": "Retrieve a Holiday",
-                "description": "Example Requests:\n\nholidays/1",
-                "operationId": "retrieveOne",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "holidayId",
-                        "in": "path",
-                        "description": "holidayId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetHolidaysResponse"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Holidays"
-                ],
-                "summary": "Activate a Holiday",
-                "description": "Always Holidays are created in pending state. This API allows to activate a holiday.\n\nOnly the active holidays are considered for rescheduling the loan repayment.",
-                "operationId": "handleCommands",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "holidayId",
-                        "in": "path",
-                        "description": "holidayId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "command",
-                        "in": "query",
-                        "description": "command",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostHolidaysHolidayIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostHolidaysHolidayIdResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Holidays"
-                ],
-                "summary": "Update a Holiday",
-                "description": "If a holiday is in pending state (created and not activated) then all fields are allowed to modify. Once holidays become active only name and descriptions are allowed to modify.",
-                "operationId": "update",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "holidayId",
-                        "in": "path",
-                        "description": "holidayId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutHolidaysHolidayIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutHolidaysHolidayIdResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Holidays"
-                ],
-                "summary": "Delete a Holiday",
-                "description": "This API allows to delete a holiday. This is a soft delete the deleted holiday status is marked as deleted.",
-                "operationId": "delete",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "holidayId",
-                        "in": "path",
-                        "description": "holidayId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteHolidaysHolidayIdResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/holidays": {
-            "get": {
-                "tags": [
-                    "Holidays"
-                ],
-                "summary": "List Holidays",
-                "description": "Example Requests:\n\nholidays?officeId=1",
-                "operationId": "retrieveAllHolidays",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "description": "officeId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "fromDate",
-                        "in": "query",
-                        "description": "fromDate",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "toDate",
-                        "in": "query",
-                        "description": "toDate",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "locale",
-                        "in": "query",
-                        "description": "locale",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "query",
-                        "description": "dateFormat",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetHolidaysResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Holidays"
-                ],
-                "summary": "Create a Holiday",
-                "description": "Mandatory Fields: name, description, fromDate, toDate, repaymentsRescheduledTo, offices",
-                "operationId": "createNewHoliday",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostHolidaysRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostHolidaysResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/holidays/template": {
-            "get": {
-                "tags": [
-                    "Holidays"
-                ],
-                "operationId": "retrieveRepaymentScheduleUpdationTyeOptions",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/currencies": {
-            "get": {
-                "tags": [
-                    "Currency"
-                ],
-                "summary": "Retrieve Currency Configuration",
-                "description": "Returns the list of currencies permitted for use AND the list of currencies not selected (but available for selection).\n\nExample Requests:\n\ncurrencies\n\n\ncurrencies?fields=selectedCurrencyOptions",
-                "operationId": "retrieveCurrencies",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetCurrenciesResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Currency"
-                ],
-                "summary": "Update Currency Configuration",
-                "description": "Updates the list of currencies permitted for use.",
-                "operationId": "updateCurrencies",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutCurrenciesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutCurrenciesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/officetransactions": {
-            "get": {
-                "tags": [
-                    "officetransactions"
-                ],
-                "operationId": "retrieveOfficeTransactions",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "officetransactions"
-                ],
-                "operationId": "transferMoneyFrom",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/officetransactions/template": {
-            "get": {
-                "tags": [
-                    "officetransactions"
-                ],
-                "operationId": "newOfficeTransactionDetails",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/officetransactions/{transactionId}": {
-            "delete": {
-                "tags": [
-                    "officetransactions"
-                ],
-                "operationId": "delete",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "transactionId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/offices/template": {
-            "get": {
-                "tags": [
-                    "Offices"
-                ],
-                "summary": "Retrieve Office Details Template",
-                "description": "This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:\n\nField Defaults\nAllowed Value Lists\nExample Request:\n\noffices/template",
-                "operationId": "retrieveOfficeTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetOfficesTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/offices/downloadtemplate": {
-            "get": {
-                "tags": [
-                    "Offices"
-                ],
-                "operationId": "getOfficeTemplate",
-                "produces": [
-                    "application/vnd.ms-excel"
-                ],
-                "parameters": [
-                    {
-                        "name": "dateFormat",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "default": {
-                        "description": "successful operation"
-                    }
-                }
-            }
-        },
-        "/offices/uploadtemplate": {
-            "post": {
-                "tags": [
-                    "Offices"
-                ],
-                "operationId": "postOfficeTemplate",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "parameters": [
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "required": false,
-                        "type": "file"
-                    },
-                    {
-                        "name": "locale",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/offices": {
-            "get": {
-                "tags": [
-                    "Offices"
-                ],
-                "summary": "List Offices",
-                "description": "Example Requests:\n\noffices\n\n\noffices?fields=id,name,openingDate",
-                "operationId": "retrieveOffices",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "includeAllOffices",
-                        "in": "query",
-                        "description": "includeAllOffices",
-                        "required": false,
-                        "type": "boolean",
-                        "default": false
-                    },
-                    {
-                        "name": "orderBy",
-                        "in": "query",
-                        "description": "orderBy",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "sortOrder",
-                        "in": "query",
-                        "description": "sortOrder",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetOfficesResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Offices"
-                ],
-                "summary": "Create an Office",
-                "description": "Mandatory Fields\nname, openingDate, parentId",
-                "operationId": "createOffice",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostOfficesRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostOfficesResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/offices/{officeId}": {
-            "get": {
-                "tags": [
-                    "Offices"
-                ],
-                "summary": "Retrieve an Office",
-                "description": "Example Requests:\n\noffices/1\n\n\noffices/1?template=true\n\n\noffices/1?fields=id,name,parentName",
-                "operationId": "retreiveOffice",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "path",
-                        "description": "officeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetOfficesResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Offices"
-                ],
-                "summary": "Update Office",
-                "description": "",
-                "operationId": "updateOffice",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "path",
-                        "description": "officeId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutOfficesOfficeIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutOfficesOfficeIdResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/provisioningcategory/{categoryId}": {
-            "put": {
-                "tags": [
-                    "Provisioning Category"
-                ],
-                "operationId": "updateProvisioningCategory",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "categoryId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Provisioning Category"
-                ],
-                "operationId": "deleteProvisioningCategory",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "categoryId",
-                        "in": "path",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/provisioningcategory": {
-            "get": {
-                "tags": [
-                    "Provisioning Category"
-                ],
-                "operationId": "retrieveAll",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Provisioning Category"
-                ],
-                "operationId": "createProvisioningCategory",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "required": false,
-                        "schema": {
-                            "type": "string"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/provisioningcriteria/{criteriaId}": {
-            "get": {
-                "tags": [
-                    "Provisioning Criteria"
-                ],
-                "summary": "Retrieves a Provisioning Criteria",
-                "description": "Retrieves a Provisioning Criteria",
-                "operationId": "retrieveProvisioningCriteria",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "criteriaId",
-                        "in": "path",
-                        "description": "criteriaId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetProvisioningCriteriaCriteriaIdResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Provisioning Criteria"
-                ],
-                "summary": "Updates a new Provisioning Criteria",
-                "description": "Updates a new Provisioning Criteria\n\nOptional Fields\ncriteriaName, loanProducts, provisioningcriteria",
-                "operationId": "updateProvisioningCriteria",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "criteriaId",
-                        "in": "path",
-                        "description": "criteriaId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutProvisioningCriteriaRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutProvisioningCriteriaResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Provisioning Criteria"
-                ],
-                "summary": "Deletes Provisioning Criteria",
-                "description": "Deletes Provisioning Criteria",
-                "operationId": "deleteProvisioningCriteria",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "criteriaId",
-                        "in": "path",
-                        "description": "criteriaId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteProvisioningCriteriaResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/provisioningcriteria": {
-            "get": {
-                "tags": [
-                    "Provisioning Criteria"
-                ],
-                "summary": "Retrieves all created Provisioning Criterias",
-                "description": "Retrieves all created Provisioning Criterias",
-                "operationId": "retrieveAllProvisioningCriterias",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/GetProvisioningCriteriaResponse"
-                            }
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Provisioning Criteria"
-                ],
-                "summary": "Create a new Provisioning Criteria",
-                "description": "Creates a new Provisioning Criteria\n\nMandatory Fields: \ncriteriaName\nprovisioningcriteria\n\nOptional Fields: \nloanProducts",
-                "operationId": "createProvisioningCriteria",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostProvisioningCriteriaRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostProvisioningCriteriaResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/provisioningcriteria/template": {
-            "get": {
-                "tags": [
-                    "Provisioning Criteria"
-                ],
-                "operationId": "retrieveTemplate",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/staff": {
-            "get": {
-                "tags": [
-                    "Staff"
-                ],
-                "summary": "Retrieve Staff",
-                "description": "Returns the list of staff members.\n\nExample Requests:\n\nstaff\n\n\n\n\nRetrieve a Staff by status\n\nReturns the details of a Staff based on status.\n\nBy default it Returns all the ACTIVE Staff.\n\nIf status=INACTIVE, then it returns all INACTIVE Staff.\n\nand for status=ALL, it Returns both ACTIVE and INACTIVE Staff.\n\nExample Requests:\n\nstaff?status=active",
-                "operationId": "retrieveStaff",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "sqlSearch",
-                        "in": "query",
-                        "description": "sqlSearch",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "description": "officeId",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "staffInOfficeHierarchy",
-                        "in": "query",
-                        "description": "staffInOfficeHierarchy",
-                        "required": false,
-                        "type": "boolean",
-                        "default": false
-                    },
-                    {
-                        "name": "loanOfficersOnly",
-                        "in": "query",
-                        "description": "loanOfficersOnly",
-                        "required": false,
-                        "type": "boolean",
-                        "default": false
-                    },
-                    {
-                        "name": "status",
-                        "in": "query",
-                        "description": "status",
-                        "required": false,
-                        "type": "string",
-                        "default": "active"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "GET https://DomainName/api/v1/staff?status={ACTIVE|INACTIVE|ALL}",
-                        "schema": {
-                            "$ref": "#/definitions/GetStaffResponse"
-                        }
-                    }
-                }
-            },
-            "post": {
-                "tags": [
-                    "Staff"
-                ],
-                "summary": "Create a staff member",
-                "description": "Creates a staff member.\n\nMandatory Fields: \nofficeId, firstname, lastname\n\nOptional Fields: \nisLoanOfficer, isActive",
-                "operationId": "createStaff",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PostStaffRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PostStaffResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/staff/{staffId}": {
-            "get": {
-                "tags": [
-                    "Staff"
-                ],
-                "summary": "Retrieve a Staff Member",
-                "description": "Returns the details of a Staff Member.\n\nExample Requests:\n\nstaff/1",
-                "operationId": "retreiveStaff",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "staffId",
-                        "in": "path",
-                        "description": "staffId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetStaffResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Staff"
-                ],
-                "summary": "Update a Staff Member",
-                "description": "Updates the details of a staff member.",
-                "operationId": "updateStaff",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "staffId",
-                        "in": "path",
-                        "description": "staffId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutStaffRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutStaffResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/staff/downloadtemplate": {
-            "get": {
-                "tags": [
-                    "Staff"
-                ],
-                "operationId": "getStaffTemplate",
-                "produces": [
-                    "application/vnd.ms-excel"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "default": {
-                        "description": "successful operation"
-                    }
-                }
-            }
-        },
-        "/staff/uploadtemplate": {
-            "post": {
-                "tags": [
-                    "Staff"
-                ],
-                "operationId": "postStaffTemplate",
-                "consumes": [
-                    "multipart/form-data"
-                ],
-                "parameters": [
-                    {
-                        "name": "file",
-                        "in": "formData",
-                        "required": false,
-                        "type": "file"
-                    },
-                    {
-                        "name": "locale",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    },
-                    {
-                        "name": "dateFormat",
-                        "in": "formData",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/cashiers": {
-            "get": {
-                "tags": [
-                    "Cashiers"
-                ],
-                "operationId": "getCashierData",
-                "consumes": [
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "officeId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "tellerId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "staffId",
-                        "in": "query",
-                        "required": false,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "date",
-                        "in": "query",
-                        "required": false,
-                        "type": "string"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/tellers/{tellerId}": {
-            "get": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "summary": "Retrieve tellers",
-                "description": "",
-                "operationId": "findTeller",
-                "consumes": [
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetTellersResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "summary": "Update teller",
-                "description": "",
-                "operationId": "updateTeller",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutTellersRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutTellersResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "operationId": "deleteTeller",
-                "consumes": [
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "successful operation",
-                        "schema": {
-                            "type": "string"
-                        },
-                        "headers": {}
-                    }
-                }
-            }
-        },
-        "/tellers/{tellerId}/cashiers/{cashierId}": {
-            "get": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "summary": "Retrieve a cashier",
-                "description": "",
-                "operationId": "findCashierData",
-                "consumes": [
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "cashierId",
-                        "in": "path",
-                        "description": "cashierId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetTellersTellerIdCashiersCashierIdResponse"
-                        }
-                    }
-                }
-            },
-            "put": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "summary": "Update Cashier",
-                "description": "",
-                "operationId": "updateCashier",
-                "consumes": [
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "cashierId",
-                        "in": "path",
-                        "description": "cashierId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "in": "body",
-                        "name": "body",
-                        "description": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/PutTellersTellerIdCashiersCashierIdRequest"
-                        }
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/PutTellersTellerIdCashiersCashierIdResponse"
-                        }
-                    }
-                }
-            },
-            "delete": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "summary": "Delete Cashier",
-                "description": "",
-                "operationId": "deleteCashier",
-                "consumes": [
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "cashierId",
-                        "in": "path",
-                        "description": "cashierId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/DeleteTellersTellerIdCashiersCashierIdResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/tellers/{tellerId}/cashiers/template": {
-            "get": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "summary": "Find Cashiers",
-                "description": "",
-                "operationId": "getCashierTemplate",
-                "consumes": [
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "",
-                        "schema": {
-                            "$ref": "#/definitions/GetTellersTellerIdCashiersTemplateResponse"
-                        }
-                    }
-                }
-            }
-        },
-        "/tellers/{tellerId}/cashiers": {
-            "get": {
-                "tags": [
-                    "Teller Cash Management"
-                ],
-                "summary": "List Cashiers",
-                "description": "",
-                "operationId": "getCashierData",
-                "consumes": [
-                    "text/html",
-                    "application/json"
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "parameters": [
-                    {
-                        "name": "tellerId",
-                        "in": "path",
-                        "description": "tellerId",
-                        "required": true,
-                        "type": "integer",
-                        "format": "int64"
-                    },
-                    {
-                        "name": "fromdate",
-                        "in": "query",
-                        "description": "fromdate",
-                        "required": false,
... 45551 lines suppressed ...