Sample Deal Price Assignment Recommend Request and Response in the JSON Format

Using the below example, you can recommend the price assignment.

Sample Price Assignment Recommend Request in the JSON Format


{
    "C1-DealPriceAsgnCommitmentBS"
    {
        "dealIdentifier" :"DEAL_EPER_PRIC_N_COMT_001_V1",
        "inquiryModeflag" :"PRIC",
        "pricingcmtmntdtls"
        {
            "entityId" :"9902789911",
            "entityType" :"PERS",
            "pricingdtls"
            {
                "priceAsgnId" :"5410009242",
                "actionFlag" :"RECM",
                "priceItemCode" :"PI_025",
                "priceStatusFlag" :"RECM",
                "priceCurrencyCode" :"USD",
                "rateSchedule" :"DM-NBRTH",
                "startDate" :"2022-02-13",
                "endDate" :"2023-02-12",
                "isEligible" :"true",
                "paTypeFlag" :"RGLR",
                "printIfZero" :"Y",
                "priceasgnchar"
                {
                    "characteristicType" :"DEALID",
                    "effectiveDate" :"2022-04-05",
                    "characteristicValue" :"2520094042",
                {
                    "characteristicType" :"C2CLTYPE",
                    "effectiveDate" :"2022-04-05",
                    "characteristicValue" :"2520094042",
                }
                "priceasgnparm"
                {
                    "priceParmCode" :"COUNTRY",
                    "priceParmVal" :"BHARAT",
                }
                "txnDailyRatingCrt" :"DNRT",
                "ignoreSw" :"N",
                "doNotAggSw" :"N",
                "scheduleCode" :"MONTHLY",
                "pricecompdtls"
                {
                    "priceCompTier"
                    {
                        "toVal" :"1000.00",
                        "fromVal" :"0.00",
                        "priceCriteria" :"NBRTRAN", 
                        "tieSeqNum" :"10",
                        "priceparm" :"",
                        {
                            "parmCodeType" :"STATE",
                            "priceParmCode" :"MAHARASHTRA",
                        }
                    "priceCompElg"
                    {
                        "rhsPriceParmCd" :"ACCESSGRP",
                        "rhsPriceParmVal" :"System Default",
                        "lhsPriceParmCd" :"AGEBASED",
                        "rhsPriceParmTypeFlg" :"PRM",
                        "isInsufficientFlag" :"RLFS",
                        "isFalseFlag" :"RLFS",
                        "isTrueFlag" :"RLTR",
                        "operator" :"=",
                        "sequenceNumber" :"0",
                    }
                    "priceCompSequenceNo" :"100",
                    "priceCompDesc" :"Threshold price per transaction",
                    "valueAmt" :"12.95",
                    "priceComponentDisplay" :"true",
                    "rcMapId" :"1109655113",
                    "tieredFlag" :"THRS",
                }   
            }    
        }     
    }    
}    
Note: If you do not want to enter the data in the list attributes (i.e. attributes where the type is set to list), you should not include them in the request. Adding empty list attributes will give erroneous results.

Sample Price Assignment Recommend Response in the JSON Format


{
    "C1-DealPriceAsgnCommitmentBS"
    {
        "dealIdentifier" :"DEAL_EPER_PRIC_N_COMT_001_V1",
        "dealId" :"5888357415",
        "modelId" :"8459821555",
        "pricingcmtmntdtls"
        {
            "entityId" :"9902789911",
            "entityType" :"PERS",
            "entityIdentifierValue" :"Reg_BK_PRSP_PSEL_API_001",
            "entityIdentifierType" :"COREG",
            "entityDivision" :"IND",
            "pricingdtls"
            {
                "priceAsgnId" :"9380016094",
                "actionFlag" :"RECM",
                "priceItemCode" :"PI_025",
                "priceItemDescription" :"V5-Domestic Funds Transfer Fee",
                "hierarchyDetails" :"CORPORATE BANKING, PAYMENT SERVICES",
                "priceStatusFlag" :"RECM",
                "priceCurrencyCode" :"USD",
                "rateSchedule" :"DM-NBRTH",
                "startDate" :"2022-02-13",
                "endDate" :"2023-02-12",
                "isEligible" :"true",
                "assignmentLevel" :"Customer Price List",
                "paTypeFlag" :"RGLR",
                "printIfZero" :"Y",
                "priceasgnchar"
                {
                    "characteristicType" :"DEALID",
                    "effectiveDate" :"2022-04-05",
                    "characteristicValue" :"2520094042",
                "priceasgnchar"
                {
                    "characteristicType" :"C2CLTYPE",
                    "effectiveDate" :"2022-04-05",
                    "characteristicValue" :"2520094042",
                }
                "priceasgnparm"
                {
                    "priceParmCode" :"COUNTRY",
                    "priceParmVal" :"BHARAT",
                }
                "txnDailyRatingCrt" :"DNRT",
                "ignoreSw" :"N",
                "doNotAggSw" :"N",
                "scheduleCode" :"MONTHLY",
                "pricecompdtls"
                {
                    "priceCompTier"
                    {
                        "toVal" :"1000.00",
                        "fromVal" :"0.00",
                        "priceCriteria" :"NBRTRAN", 
                        "tieSeqNum" :"10",
                        "priceparm" :"",
                        {
                            "parmCodeType" :"STATE",
                            "priceParmCode" :"MAHARASHTRA",
                        }
                    "priceCompElg"
                    {
                        "rhsPriceParmCd" :"ACCESSGRP",
                        "rhsPriceParmVal" :"System Default",
                        "lhsPriceParmCd" :"AGEBASED",
                        "rhsPriceParmTypeFlg" :"PRM",
                        "isInsufficientFlag" :"RLFS",
                        "isFalseFlag" :"RLFS",
                        "isTrueFlag" :"RLTR",
                        "operator" :"=",
                        "sequenceNumber" :"0",
                    }
                    "priceCompSequenceNo" :"100",
                    "priceCompId" :"5417400010",
                    "priceCompDesc" :"Threshold price per transaction",
                    "valueAmt" :"12.950000000000000000",
                    "priceComponentDisplay" :"true",
                    "rcMapId" :"1109655113",
                    "tieredFlag" :"THRS",
                }   
            }    
        }     
    }    
}    
Note: We have given the above request and response samples to illustrate how the attribute value pairs should be structured while sending a deal price assignment recommend request from the external system. However, you should not seamlessly use this request sample in your environment because the required pre-requisite data may not be available in your environment. In such case, the system will give erroneous results.

Related Topics

For more information on... See...
Deal price assignment recommend request and response attribute/value pairs in the JSON format Deal Price Assignment Recommend Request and Response - Attribute/Value Pairs in the JSON Format