2.2.1 Create Block

This topic describes about the sample request / response for the consumer service createBlock.

Request/Response

SERVICE-CONSUMER = “OBCDDA”

SERVICE-CONSUMER-SERVICE=” CreateBlock”

Request

{
            "blkRefNo": "10556970083326443531_EA_C",
            "blockLogs":
            [
                {
                    "action": "NEW",
                    "amtTag": "PRINCIPAL",
                    "blkAmt": 1,
                    "blkCcy": "USD",
                    "customerNo": "0029702",
                    "defaultLiab": "D",
                    "eventCode": "INIT",
                    "eventSlNo": "1",
                    "limitType": "F",
                    "lineCd": "LNFORD",
                    "lineSerial": "1",
                    "source": "CDDA"
                }
            ]
        }

Response

{
        "Block-Master-Full": {
            "authStat": "A",
            "action": "NEW",
            "authDtStamp": "2021-03-17T04:03:03",
            "authId": "OBELCMUSER1",
            "inputUserId": "OBELCMUSER1",
            "inputDtStamp": "2021-03-17T04:03:03",
            "versionNo": 1,
            "blkBrn": "B01",
            "blkRefNo": "10556970083326443531_EA_C",
            "keyId": "GETB_BLOCKS~BLK_REF_NO",
            "blockLogs": [
                {
                    "changeBlkAmt": 1,
                    "version": 0,
                    "action": "NEW",
                    "serialNo": 192,
                    "blockId": "B012107600000021",
                    "customerNo": "0029702",
                    "liabId": 41,
                    "processNo": 1,
                    "transDate": "2021-03-17T00:00:00",
                    "blkAmt": 1,
                    "blkCcy": "USD",
                    "blkBrn": "B01",
                    "blkPrd": "UTIL",
                    "uncoll": 0,
                    "tenorBasis": "N",
                    "tenor": 0,
                    "maturedAmt": 0,
                    "matured": "N",
                    "amtTag": "PRINCIPAL",
                    "module": "GE",
                    "valueDate": "2021-03-17T00:00:00",
                    "source": "CDDA",
                    "txnId": "22357040302847001251",
                    "txnPercent": 0,
                    "txnStatus": "O",
                    "blkStat": "A",
                    "authStat": "A",
                    "versionNo": 1,
                    "inputUserId": "OBELCMUSER1",
                    "inputDtStamp": "2021-03-17T04:03:03",
                    "authId": "OBELCMUSER1",
                    "authDtStamp": "2021-03-17T04:03:03",
                    "liabCcy": "USD",
                    "liabBranch": "B01",
                    "liabBlock": 1,
                    "liabExchRate": 1,
                    "multiAuth": "N",
                    "vdUpdate": "N",
                    "liabNo": "FORD",
                    "lineCd": "LNFORD",
                    "lineSerial": 1,
                    "ignoreOverrides": "N",
                    "limitType": "F",
                    "limitId": 21,
                    "limitCcy": "GBP",
                    "limitBlock": 0.5,
                    "limitExchRate": 0.5,
                    "limitCcyUncoll": 0,
                    "limitCcyMatured": 0,
                    "txnInitDate": "2021-03-17T00:00:00",
                    "eventCode": "INIT",
                    "eventSlNo": 1,
                    "shadowLimit": "N",
                    "forceAuth": "N",
                    "onceAuthorized": false,
                    "recordStatus": "O",
                    "endOfInput": "N",
                    "autoAuth": "Y",
                    "offsetHr": 0,
                    "offsetMin": 0,
                    "considerAsRevolving": "N",
                    "dataMigration": "N",
                    "isSimulation": "N",
                    "ismergeOperation": "N",
                    "revalLimit": "Y",
                    "keyId": "~GETB_BLOCKS_LOG~SERIAL_NO",
                    "keyValue": "~GETB_BLOCKS_LOG~192~",
                    "liabilityDetails": [
                        {
                            "version": 24,
                            "id": 41,
                            "blockAmount": 1622,
                            "liabNo": "FORD",
                            "liabBranch": "B01",
                            "liabCcy": "USD",
                            "utilAmt": 3723,
                            "overallLimit": 999999999,
                            "unadvised": "N",
                            "liabilityCustomerLinkage": {
                                "maker": "OBELCMUSER1",
                                "makerstamp": "2021-03-17T07:09:33",
                                "checker": "OBELCMUSER1",
                                "checkerstamp": "2021-03-17T07:09:33",
                                "modno": 1,
                                "txnstat": "O",
                                "authstat": "A",
                                "onceauth": "Y",
                                "version": 1,
                                "udfs": [],
                                "misdetails": [],
                                "id": 22,
                                "customerNo": "0029702",
                                "liabId": 41,
                                "branchCode": "B01",
                                "issuer": "N",
                                "keyId": "~GETM_LIAB_CUST~CUSTOMER_NO",
                                "keyValue": "~GETM_LIAB_CUST~0029702~",
                                "liabCustExposures": [],
                                "liabTrackCodes": []
                            },
                            "processNo": 1,
                            "keyId": "~GETM_LIAB~LIAB_NO~"
                        }
                    ],
                    "facilityDetails": [
                        {
                            "version": 14,
                            "liabilityId": 41,
                            "lineCode": "LNFORD",
                            "lineSerial": 1,
                            "ismergeOperation": "N",
                            "id": 21,
                            "onceAuthorized": false,
                            "maturedUtil": 0,
                            "outUtAmount": 1601.5,
                            "osucAmount": 1601.5,
                            "commited": "N",
                            "collateralContribution": 0,
                            "lineCurrency": "GBP",
                            "revolvingLine": "N",
                            "lineStartDate": "2021-03-04T00:00:00",
                            "lastNewUtildate": "2021-03-17T00:00:00",
                            "availabilityFlag": "Y",
                            "limitAmount": 1000,
                            "uncollectedFundsLimit": 0,
                            "availableAmount": -1402.5,
                            "dateOfFirstOrder": "2021-03-04T00:00:00",
                            "dateOfLastOrder": "2021-03-17T00:00:00",
                            "amountUtilizedToday": 1602,
                            "amountReinstatedToday": 0,
                            "uncollectedAmount": 0,
                            "utilization": 1601.5,
                            "branch": "001",
                            "limitAmountBasis": "L",
                            "unadvised": "N",
                            "transferAmount": 0,
                            "displayEffictiveLineAmount": 1000,
                            "blockAmount": 801,
                            "nettingAmount": 0,
                            "tenorRestrictionType": "D",
                            "customerRestrictionType": "D",
                            "currencyRestrictionType": "D",
                            "productRestrictionType": "D",
                            "branchRestrictionType": "D",
                            "extSystemRestrictionType": "D",
                            "shadowLimit": "N",
                            "dayLightLimit": 0,
                            "expRestType": "D",
                            "revolvingAmount": 0,
                            "facilityType": "L",
                            "revalReqrd": "N",
                            "rateAgrmntReqd": "N",
                            "dayLightOdLimit": 0,
                            "earMarkingDto": {
                                "version": 0,
                                "udfs": [],
                                "misdetails": [],
                                "keyId": "~GETM_FACILITY_BLOCK~BLOCK_NO",
                                "keyValue": "~GETM_FACILITY_BLOCK~null~"
                            },
                            "liabilityDTO": {
                                "version": 0,
                                "liabilityCustomerLinkage": {
                                    "version": 0,
                                    "udfs": [],
                                    "misdetails": [],
                                    "keyId": "~GETM_LIAB_CUST~CUSTOMER_NO",
                                    "keyValue": "~GETM_LIAB_CUST~null~",
                                    "liabCustExposures": [],
                                    "liabTrackCodes": []
                                },
                                "keyId": "~GETM_LIAB~LIAB_NO~"
                            }
                        }
                    ],
                    "collateralsDetails": {
                        "version": 0,
                        "onceAuthorized": false
                    },
                    "collateralsPoolDetails": {
                        "liabilityDto": {
                            "version": 0,
                            "liabilityCustomerLinkage": {
                                "version": 0,
                                "udfs": [],
                                "misdetails": [],
                                "keyId": "~GETM_LIAB_CUST~CUSTOMER_NO",
                                "keyValue": "~GETM_LIAB_CUST~null~",
                                "liabCustExposures": [],
                                "liabTrackCodes": []
                            },
                            "keyId": "~GETM_LIAB~LIAB_NO~"
                        },
                        "ismergeOperation": "N",
                        "version": 0
                    },
                    "defaultLiab": "D",
                    "gdaysNeeded": "Y"
                }
            ]
        },
        "FCUBS_WARNING_RESP": {
            "WARNING": [
                {
                    "WCODE": "GE-00113",
                    "WDESC": "Line 41-LNFORD1 - Amount exceeds line limit. Limit = 1000 GBP. Block = 801.0 GBP. Overdraft = 1402.5 GBP %Overdraft = 140.25"
                },
                {
                    "WCODE": "ST-SAVE-002",
                    "WDESC": "Record Successfully Saved and Authorized"
                }
            ]
        },
        "FCUBS_ERROR_RESP": {
            "ERROR": []
        },
        "MSGID": "22357040302847001251"
    }