diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 87560341c..1dcb321fb 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -3785,6 +3785,22 @@
Example Requests:
+
+GET https://DomainName/api/v1/self/loans/{loanId}/guarantors
+
+
+[
+ {
+ "id":6,
+ "loanId":33,
+ "guarantorType":{
+ "id":1,
+ "code":"guarantor.existing.customer",
+ "value":"CUSTOMER"
+ },
+ "firstname":"Abhishek v",
+ "lastname":"M",
+ "entityId":12,
+ "officeName":"Head Office",
+ "joinedDate":[
+ 2014,
+ 7,
+ 5
+ ],
+ "guarantorFundingDetails":[
+ {
+ "id":7,
+ "status":{
+ "id":100,
+ "code":"guarantorFundStatusType.active",
+ "value":"ACTIVE"
+ },
+ "savingsAccount":{
+ "id":28,
+ "accountNo":"000000028"
+ },
+ "amount":2000,
+ "amountReleased":0,
+ "amountRemaining":2000,
+ "amountTransfered":0,
+ "guarantorTransactions":[
+ {
+ "id":6,
+ "onHoldTransactionData":{
+ "id":6,
+ "amount":2000,
+ "transactionType":{
+ "id":1,
+ "code":"deposutAccountOnHoldTransactionType.hold",
+ "value":"hold"
+ },
+ "transactionDate":[
+ 2018,
+ 10,
+ 10
+ ],
+ "reversed":false,
+ "savingsId":0,
+ "loanId":0
+ },
+ "reversed":false
+ }
+ ]
+ }
+ ],
+ "status":true
+ },
+ {
+ "id":7,
+ "loanId":33,
+ "clientRelationshipType":{
+ "id":6,
+ "name":"Parent",
+ "active":false,
+ "mandatory":false
+ },
+ "guarantorType":{
+ "id":1,
+ "code":"guarantor.existing.customer",
+ "value":"CUSTOMER"
+ },
+ "firstname":"Bheem",
+ "lastname":"Test",
+ "entityId":14,
+ "officeName":"Head Office",
+ "joinedDate":[
+ 2013,
+ 7,
+ 3
+ ],
+ "guarantorFundingDetails":[
+ {
+ "id":8,
+ "status":{
+ "id":100,
+ "code":"guarantorFundStatusType.active",
+ "value":"ACTIVE"
+ },
+ "savingsAccount":{
+ "id":37,
+ "accountNo":"000000037"
+ },
+ "amount":1000,
+ "amountReleased":0,
+ "amountRemaining":1000,
+ "amountTransfered":0,
+ "guarantorTransactions":[
+ {
+ "id":7,
+ "onHoldTransactionData":{
+ "id":7,
+ "amount":1000,
+ "transactionType":{
+ "id":1,
+ "code":"deposutAccountOnHoldTransactionType.hold",
+ "value":"hold"
+ },
+ "transactionDate":[
+ 2018,
+ 10,
+ 10
+ ],
+ "reversed":false,
+ "savingsId":0,
+ "loanId":0
+ },
+ "reversed":false
+ }
+ ]
+ }
+ ],
+ "status":true
+ }
+]
+
+ Obligee list provides list of clients and other details, to whom the user has agreed to be a guarantor.
+ +Field Descriptions |
| clientId |
| The client id of the self service user. |
| firstName, lastName, displayName |
| The first name, last name and display name of the obligee |
| accountNumber, loanAmount |
| The loan account number and principal amount of the obligee |
| guaranteeAmount, amountReleased, amountTransferred |
| Guranteed amount, released and transferred amount of the client |
Example Requests:
+
+GET https://DomainName/api/v1/self/clients/{clientId}/obligeedetails
+
+
+ [
+ {
+ "firstName":"App",
+ "lastName":"Test",
+ "displayName":"App Test",
+ "accountNumber":"000000005",
+ "loanAmount":50000,
+ "guaranteeAmount":10000,
+ "amountReleased":0,
+ "amountTransferred":0
+ },
+ {
+ "firstName":"App",
+ "lastName":"Test",
+ "displayName":"App Test",
+ "accountNumber":"000000005",
+ "loanAmount":50000,
+ "guaranteeAmount":5000,
+ "amountReleased":0,
+ "amountTransferred":0
+ },
+ {
+ "firstName":"App",
+ "lastName":"Test",
+ "displayName":"App Test",
+ "accountNumber":"000000006",
+ "loanAmount":50000,
+ "guaranteeAmount":10000,
+ "amountReleased":0,
+ "amountTransferred":0
+ },
+ {
+ "firstName":"Abhishek v",
+ "lastName":"M",
+ "displayName":"Abhishek v M",
+ "accountNumber":"000000032",
+ "loanAmount":10000,
+ "guaranteeAmount":1000,
+ "amountReleased":1000,
+ "amountTransferred":0
+ },
+ {
+ "firstName":"Abhishek v",
+ "lastName":"M",
+ "displayName":"Abhishek v M",
+ "accountNumber":"000000033",
+ "loanAmount":10000,
+ "guaranteeAmount":1000,
+ "amountReleased":0,
+ "amountTransferred":0
+ }
+]
+
+