2.2.4 Get Valid Lines

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

Request/Response

SERVICE-CONSUMER = “ELCM”

SERVICE-CONSUMER-SERVICE=”getValidLines”

Request


http://cnobfc-cluster-1-ms1.fsgbu-obcbcs-nonprod--obfc-devtestbank1:7501/FCUBS-ELCMRest/ElValidLimitService/QueryValidLimit/ccustom/0029702/limitType/F/defaultLiab/D

Response


{
        "Valid-Limit-Master-Full": {
            "maker": "SYSTEM",
            "makerstamp": "2022-12-13T13:08:37",
            "checker": "SYSTEM",
            "checkerstamp": "2022-12-13T13:08:37",
            "authstat": "A",
            "version": 0,
            "udfs": [],
            "misdetails": [],
            "customerNo": "0029702",
            "limitType": "F",
            "defaultLiab": "D",
            "keyId": "~GETM_VALID_LIMIT_MASTER~LIMIT_TYPE~DEFAULT_LIAB",
            "keyValue": "~GETM_VALID_LIMIT_MASTER~F~D~",
            "validFacilityDetailss": [
                {
                    "availableAmount": 680,
                    "blockAmount": 10,
                    "effectiveLineAmount": 1000,
                    "limitAmount": 1000,
                    "limitAmountBasis": "L",
                    "lineCode": "FFG",
                    "lineCurrency": "GBP",
                    "lineSerial": 1,
                    "lineStartDate": "2021-03-17T00:00:00",
                    "revolvingLine": "N",
                    "utilisation": 310,
                    "availabilityFlag": "Y",
                    "userDefineStatus": "ACTIVE",
                    "approvedAmt": 1000,
                    "liabNo": "FORD",
                    "version": 0,
                    "keyId": "~GETM_VALID_FACILITY_DETAILS~ID",
                    "keyValue": "~GETM_VALID_FACILITY_DETAILS~null~"
                },
                {
                    "availableAmount": 10000,
                    "blockAmount": 0,
                    "effectiveLineAmount": 10000,
                    "limitAmount": 10000,
                    "limitAmountBasis": "L",
                    "lineCode": "FORD_02",
                    "lineCurrency": "GBP",
                    "lineSerial": 1,
                    "lineStartDate": "2021-03-06T00:00:00",
                    "revolvingLine": "N",
                    "utilisation": 0,
                    "availabilityFlag": "Y",
                    "userDefineStatus": "ACTIVE",
                    "approvedAmt": 10000,
                    "liabNo": "FORD",
                    "version": 0,
                    "keyId": "~GETM_VALID_FACILITY_DETAILS~ID",
                    "keyValue": "~GETM_VALID_FACILITY_DETAILS~null~"
                },
                {
                    "availableAmount": 600,
                    "blockAmount": 400,
                    "effectiveLineAmount": 1000,
                    "limitAmount": 1000,
                    "limitAmountBasis": "L",
                    "lineCode": "LNFORD",
                    "lineCurrency": "GBP",
                    "lineSerial": 1,
                    "lineStartDate": "2021-03-04T00:00:00",
                    "revolvingLine": "N",
                    "utilisation": 0,
                    "availabilityFlag": "Y",
                    "userDefineStatus": "ACTIVE",
                    "approvedAmt": 1000,
                    "liabNo": "FORD",
                    "version": 0,
                    "keyId": "~GETM_VALID_FACILITY_DETAILS~ID",
                    "keyValue": "~GETM_VALID_FACILITY_DETAILS~null~"
                },
                {
                    "availableAmount": 10000,
                    "blockAmount": 0,
                    "effectiveLineAmount": 10000,
                    "limitAmount": 10000,
                    "limitAmountBasis": "L",
                    "lineCode": "FORD_01",
                    "lineCurrency": "GBP",
                    "lineSerial": 1,
                    "lineStartDate": "2021-03-04T00:00:00",
                    "revolvingLine": "N",
                    "utilisation": 0,
                    "availabilityFlag": "Y",
                    "userDefineStatus": "ACTIVE",
                    "approvedAmt": 10000,
                    "liabNo": "FORD",
                    "version": 0,
                    "keyId": "~GETM_VALID_FACILITY_DETAILS~ID",
                    "keyValue": "~GETM_VALID_FACILITY_DETAILS~null~"
                }
            ],
            "validObligationDetailss": [],
            "validPoolDetailss": [],
            "validCollateralDetailss": [],
            "validCovenantDetailss": [],
            "validLiabilityDetailss": [
                {
                    "availableAmount": 999998659,
                    "liabBranch": "B01",
                    "liabCcy": "USD",
                    "liabNo": "FORD",
                    "lid": 41,
                    "overallLimit": 999999999,
                    "utilAmt": 520,
                    "liabName": "FORD",
                    "version": 0,
                    "keyId": "~GETM_VALID_LIABILITY_DETAILS~ID",
                    "keyValue": "~GETM_VALID_LIABILITY_DETAILS~null~"
                }
            ]
        },
        "FCUBS_WARNING_RESP": {
            "WARNING": [
                {
                    "WCODE": "ST-SAVE-025",
                    "WDESC": "Record Successfully Retrieved"
                }
            ]
        },
        "FCUBS_ERROR_RESP": {
            "ERROR": []
        },
        "MSGID": "22347010836889001221"
    }