3.1 Utilization & De-Utilization Deposits

This topic describes about the service consumer Utilization & De-utilization of deposits.

  • Service Consumers: OBRL_DEPOSIT_SYS
  • Service Providers

    Following are the endpoints used by service providers.

    TD_CLOSE_LEIN_PROVIDER: obrdep-txn-pp-online-services/service/v14.8.1.0.0/tdamtblk/closeTDAmtBlk

    TD_CREATE_LEIN_PROVIDER: obrdep-txn-pp-online-services/service/v14.8.1.0.0/tdamtblk/createTDAmtBlk

    TD_LIEN_MODIFY_PROVIDER: obrdep-txn-pp-online-services/service/v14.8.1.0.0/tdamtblk/modifyTDAmtBlk

    TD_RATE_PROVIDER: obrdep-txn-pp-online-services/service/v14.8.1.0.0/tdSpCondn

    TD_DEPOSIT_DATA_PROVIDER: obrdep-txn-pp-online-services/service/v14.8.2.0.0/queryResponseService/.search

    TD_AMOUNT_BLOCK_DATA_PROVIDER:obrdep-txn-pp-online-services/service/v14.8.1.0.0/tdamtblk/getById

  • Consumer Services

    The Consumer Services for OBRL are as displayed below:

  • 1. TD_CREATE_LEIN_CONSUMER

    Request/Response

    SERVICE-CONSUMER = OBRL_DEPOSIT_SYS
    SERVICE-CONSUMER-SERVICE= TD_CREATE_LEIN_CONSUMER
    

    Request

    {
      "headers" : {
        "branchcode" : [ "000" ],
        "entityid" : [ "DEFAULTENTITY" ],
        "userid" : [ "YATHIKA" ],
        "appid" : [ "CMNCORE" ],
    	"service-consumer" : [ "OBRL_DEPOSIT_SYS" ],
    	"service-consumer-service" : [ "TD_CREATE_LEIN_CONSUMER" ]
      },
      "body" : {
        "amountBlockDtoList" : [ {
          "depositAccountNumber" : "R0100005569",
          "depositCurrency" : "USD",
          "remarks" : "Block for loan account :SUD01LAD002938",
          "depositAmount" : "10000",
          "depositBranchCode" : "R01"
        }, {
          "depositAccountNumber" : "R0100005575",
          "depositCurrency" : "USD",
          "remarks" : "Block for loan account :SUD01LAD002938",
          "depositAmount" : "10000",
          "depositBranchCode" : "R01"
        }, {
          "depositAccountNumber" : "R0100005577",
          "depositCurrency" : "USD",
          "remarks" : "Block for loan account :SUD01LAD002938",
          "depositAmount" : "10000",
          "depositBranchCode" : "R01"
        } ]
      }
    }
    

    Response

    "body": 
    {
            "data": {
                "success": "Y",
                "amountBlockRefNo": "AR1458440798950604810",
                "amountBlockDtoList": [
                    {
                        "depositAccountNumber": "R0100005569",
                        "depositCurrency": "USD",
                        "depositAmount": "10000",
                        "depositBranchCode": "R01",
                        "amountBlockNo": "AB1459097392860315649"
                    },
                    {
                        "depositAccountNumber": "R0100005575",
                        "depositCurrency": "USD",
                        "depositAmount": "10000",
                        "depositBranchCode": "R01",
                        "amountBlockNo": "AB1459097392860315650"
                    },
                    {
                        "depositAccountNumber": "R0100005577",
                        "depositCurrency": "USD",
                        "depositAmount": "10000",
                        "depositBranchCode": "R01",
                        "amountBlockNo": "AB1459097392860315651"
                    }
                ],
                "errors": []
            }
    } 
    

    2.TD_CLOSE_LEIN_CONSUMER

    Request/Response

    SERVICE-CONSUMER = OBRL_DEPOSIT_SYS
    SERVICE-CONSUMER-SERVICE= TD_CLOSE_LEIN_CONSUMER
    

    Request

       {
      "headers" : {
        "branchcode" : [ "000" ],
        "entityid" : [ "DEFAULTENTITY" ],
        "userid" : [ "YATHIKA" ],
        "appid" : [ "CMNCORE" ],
    	"service-consumer" : [ "OBRL_DEPOSIT_SYS" ],
    	"service-consumer-service" : [ "TD_CLOSE_LEIN_CONSUMER" ]
      },
      "body": {
            "amountBlockDtoList": [
                {
                    "amountBlockNo": "AB1459097392860315649"
                }
            ]
        }
    }
    

    Response

    "body": {
            "data": {
                "success": "Y",
                "amountBlockRefNo": "AR1458440798950604810",
                "amountBlockDtoList": [
                    {
                        "depositAccountNumber": "R0100005569",
                        "depositCurrency": "USD",
                        "depositAmount": "5000",
                        "depositBranchCode": "R01",
                        "amountBlockNo": "AB1459097392860315649"
                    }
                ],
                "errors": []
           }}
    

    3.TD_MODIFY_LEIN_CONSUMER

    Request/Response

    SERVICE-CONSUMER = OBRL_DEPOSIT_SYS
    SERVICE-CONSUMER-SERVICE= TD_MODIFY_LEIN_CONSUMER
    

    Request

    {
      "headers" : {
        "branchcode" : [ "000" ],
        "entityid" : [ "DEFAULTENTITY" ],
        "userid" : [ "YATHIKA" ],
        "appid" : [ "CMNCORE" ],
    	"service-consumer" : [ "OBRL_DEPOSIT_SYS" ],
    	"service-consumer-service" : [ "TD_MODIFY_LEIN_CONSUMER" ]
      },
        "body": {
            "amountBlockDtoList": [
                {
                    "amountBlockNo": "AB1459097392860315650",
                    "depositAmount": "5000"
                }
            ]
        }
    }
    

    Response

    "body": {
            "data": {
                "success": "Y",
                "amountBlockRefNo": "AR1458440798950604810",
                "amountBlockDtoList": [
                    {
                        "depositAccountNumber": "R0100005575",
                        "depositCurrency": "USD",
                        "depositAmount": "5000",
                        "depositBranchCode": "R01",
                        "amountBlockNo": "AB1459097392860315650"
                    }
                ],
                "errors": []
            }
        }
    

    4.TD_DEPOSIT_DATA_CONSUMER

    Request/Response

    SERVICE-CONSUMER = OBRL_DEPOSIT_SYS
    SERVICE-CONSUMER-SERVICE= TD_DEPOSIT_DATA_CONSUMER

    Request

    {
      "headers" : {
        "branchcode" : [ "000" ],
        "entityid" : [ "DEFAULTENTITY" ],
        "userid" : [ "YATHIKA" ],
        "appid" : [ "CMNCORE" ],
    	"service-consumer" : [ "OBRL_DEPOSIT_SYS" ],
    	"service-consumer-service" : [ "TD_DEPOSIT_DATA_CONSUMER" ]
      },
        "body": {
            "depositAccounts": [
                {
                    "depositAccountNumber": "R0100005569",
                    "depositBranchCode": "R01"
                },
                {
                    "depositAccountNumber": "R0100005575",
                    "depositBranchCode": "R01"
                },
                {
                    "depositAccountNumber": "R0100005577",
                    "depositBranchCode": "R01"
                }
            ]
        }
    }
    

    Response

    "body": {
            "data": {
                "depositAccountList": [
                    {
                        "depositAccount": {
                            "depositAccountNumber": "R0100005569",
                            "depositAccountCurrency": "USD",
                            "depositBranchCode": "R01",
                            "depositCustomerNumber": "000005373",
                            "depositAvlBalance": "10000",
                            "depositBlockedAmt": "0",
                            "depositMaturityDate": "2018-12-01T00:00:00.000+00:00"
                        },
                        "errors": []
                    },
                    {
                        "depositAccount": {
                            "depositAccountNumber": "R0100005575",
                            "depositAccountCurrency": "USD",
                            "depositBranchCode": "R01",
                            "depositCustomerNumber": "000005373",
                            "depositAvlBalance": "10000",
                            "depositBlockedAmt": "0",
                            "depositMaturityDate": "2018-12-01T00:00:00.000+00:00"
                        },
                        "errors": []
                    },
                    {
                        "depositAccount": {
                            "depositAccountNumber": "R0100005577",
                            "depositAccountCurrency": "USD",
                            "depositBranchCode": "R01",
                            "depositCustomerNumber": "000005373",
                            "depositAvlBalance": "10000",
                            "depositBlockedAmt": "0",
                            "depositMaturityDate": "2018-12-01T00:00:00.000+00:00"
                        },
                        "errors": []
                    }
                ]
            }
    
    

    5. TD_AMOUNT_BLOCK_DATA_CONSUMER

    Request/Response

    SERVICE-CONSUMER = OBRL_DEPOSIT_SYS
    SERVICE-CONSUMER-SERVICE= TD_AMOUNT_BLOCK_DATA_CONSUMER

    Request

    {
      "headers" : {
        "branchcode" : [ "000" ],
        "entityid" : [ "DEFAULTENTITY" ],
        "userid" : [ "YATHIKA" ],
        "appid" : [ "CMNCORE" ],
    	"service-consumer" : [ "OBRL_DEPOSIT_SYS" ],
    	"service-consumer-service" : [ "TD_AMOUNT_BLOCK_DATA_CONSUMER" ]
      },
        "body": {
            "amountBlockNumber": "AB1442518924219596801"
        }
    }
    

    Response

    "body": {
            "data": {
                "depositAmountBlock": {
                    "depositAccountNumber": "R0100005202",
                    "amountBlockNumber": "AB1442518924219596801",
                    "amountBlockReferenceNumber": "AR1442518924219596800",
                    "blockedAmount": "200",
                    "blockExpirationDate": null,
                    "blockStatus": "O",
                    "blockAuthStatus": "A"
                },
                "errors": []
            }
    

6.TD_RATE_CONSUMER

Request/Response

SERVICE-CONSUMER = OBRL_DEPOSIT_SYS
SERVICE-CONSUMER-SERVICE= TD_RATE_CONSUMER

Request

{
  "headers" : {
    "branchcode" : [ "000" ],
    "entityid" : [ "DEFAULTENTITY" ],
    "userid" : [ "YATHIKA" ],
    "appid" : [ "CMNCORE" ],
	"service-consumer" : [ "OBRL_DEPOSIT_SYS" ],
	"service-consumer-service" : [ "TD_RATE_CONSUMER" ]
  },
    "body": {
        "depositAccountNumber": "INS00154353",
        "depositBranch": "INS"
    }
}

Response

"body": {
        "data": {
            "depositDetails": [
                {
                    "depositAccountNumber": "INS00154353",
                    "depositBranch": "INS",
                    "depositRate": "6.0",
                    "rateEffectiveDate": "2019-01-25T00:00:00.000+00:00"
                }
            ]
        }