Sample Deal Simulation Request and Response in the JSON Format

Using the below example, you can simulate the deal 1359491858.

Sample Deal Simulation Request in the JSON Format

{
    "C1-DealCreationUpdateIWS":
    {
        "actionFlag" :"UPD",
        "dealOperation"
        {
            "operationFlag" :"SMLD",
            "dealId" :"1359491858",
            "modelId" :"8154562108",
        }
    }
}

Sample Deal Simulation Response in the JSON Format

{
    "C1-DealCreationUpdateIWS":
    {
        "actionFlag" :"UPD",
        "dealResponse"
        {
        message" :"Deal Simulated Successfully",
        }
        "dealOperation"
        {
            "operationFlag" :"SMLD",
            "dealId" :"1359491858",
            "modelId" :"8154562108",
        }
        "dealDetails"
        {
            "dealEntityDetails"
            {
                "personIdentifierType" :"",
                "personIdentifier" :"",
                "personId" :"",
                "accountIdentifierType" :"",
                "accountIdentifier" :"",
                "accountId" :"",
                "prsPerIdentifierType" :"",
                "prsPerIdentifier" :"",
                "prospectPersonId" :"",
                "division" :"",
            }
            "dealIdentifier" :"",
            "dealInformation" :"",
            "dealId" :"",
            "modelId" :"",
            "dealEntityType" :"",
            "customerSegment" :"",
            "customerTier" :"",
            "division" :"",
            "accessGrp" :"",
            "dealEntityId" :"",
            "contractedDealFlag" :"false",
            "currency" :"",
            "dealTypeCode" :"",
            "startDate" :"",
            "endDate" :"",
            "simulationTypeFlag" :"",
            "reviewFrequency" :"",
            "dealDescription" :"",
            "longDescription" :"",
            "dealVersionDescription" :"",
            "dealFrequency" :"",
            "skipReferenceFlag" :"",
            "priceSelectionDate" :"",
            "usagePeriod" :"",
            "includeHierarchyFlag" :"false",
            "status" :"SMLD",
            "dealVersionStatus" :"SMLD",
            "templateFlag" :"false",
            "createdDate" :"",
            "acceptanceDate" :"",
            "finalizedDate" :"",
            "effectiveStartDate" :"",
            "effectiveEndDate" :"",
            "reviewedDate" :"",
        }
        "templateReferenceDetails"
        {
            "templateDealId" :"",
            "templateDealIdentifier" :"",
            "templateModelId" :"",
            "copyBasicDetailsFlag" :"false",
            "copyPricingFlag" :"false",
            "copyUsageFlag" :"false",
        }
        "dealCharacteristics"
        {
            "characteristicType" :"",
            "effectiveDate" :"",
            "characteristicValue" :"",
        }
        "dealTermsAndConditionsDetails"
        {
            "termsAndConditionsList"
            {
                "description" :""
                "termsAndCondition" :""
                "termsAndConditionText" :""
            }
            "adhocTermsAndCondition" :"",
        }
        "productDetailsList"
        {
            "productCode" :"",
        }
        "referenceDetails"
        {
            "referenceTypeFlg" :"",
            "refPersonIdentifierType" :"",
            "refPersonIdentifier" :"",
            "referPersonId" :"",
            "refAccountIdentifierType" :"",
            "refAccountIdentifier" :"",
            "referAccountId" :"",
            "referDealIdentifier" :"",
            "referenceDealId" :"",
            "referenceModelId" :"",
            "referUsageSw" :"false",
            "referPriceSw" :"false",
            "includeChildHierarchy" :"false",
            "division" :"",
        }
        "dealSimulationDetails"
        {
            "dealfinancialsummarylist"
            { 
                "approvalStatus" :"",
            }  
                "originalDealFinanciancialSummary"
                {
                    "revenue" :"$0.00",
                    "cost" :"$0.00",
                    "profit" :"$0.00",
                    "profitabilityPercentage" :"$0.00",
                }
                    "proposedDealFinanciancialSummary"
                {   
                    "revenue" :"$1,250.00",
                    "cost" :"$50.00",
                    "profit" :"$1,200.00",
                    "profitabilityPercentage" :"96.00",
                }
                    "recommenedDealFinanciancialSummary"
                {    
                    "revenue" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                    "profitVariationPercentage" :"",
            }
            "divisionFinancialSummaryDetails"
            {
                "division" :"",     
                "approvalStatus" :"",
                "originalDivisionFinanciancialSummary"
                {
                    "revenue" :"",
                    "cost" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                "proposedDivisionFinanciancialSummary"
                {   
                    "revenue" :"",
                    "cost" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                "recommenedDealFinanciancialSummary"
                {
                    "revenue" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                "profitVariationPercentage" :"",
            }
            "productFinancialSummaryDetails"
            {
                "approvalStatus" :"",
                "product" :"",
                "division" :"",
                "originalProductFinanciancialSummary"
                {
                    "revenue" :"",
                    "cost" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                "proposedProductDivisionFinanciancialSummary"
                {
                    "revenue" :"",
                    "cost" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                "recommenedDealFinanciancialSummary"
                {
                    "revenue" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                "profitVariationPercentage" :"",
            }
        }
        "hierarchySimulationDetails"
        {
            "hierarchyDetails"
            {
                "entityType" :"PERS",
                "entityId" :"3865913714",
                "parentEntityId" :"",
                "status" :"Unapproved",
                "revenueVariation" :"0.00",
                "proposedRevenue" :"$1,250.00",
                "proposedCost" :"$50.00",
                "originalRevenue" :"$0.00",
                "originalCost" :"$0.00",
            }
            "hierarchyDetails"
            {
                "entityType" :"ACCT",
                "entityId" :"2564512509",
                "parentEntityId" :"3865913714",
                "status" :"Unapproved",
                "revenueVariation" :"0.00",
                "proposedRevenue" :"$1,250.00",
                "proposedCost" :"$50.00",
                "originalRevenue" :"$0.00",
                "originalCost" :"$0.00",
            }
            "hierarchyDetails"
            {
                "entityType" :"PERS",
                "entityId" :"3863028908",
                "parentEntityId" :"3865913714",
                "status" :"Unapproved",
                "revenueVariation" :"0.00",
                "proposedRevenue" :"$0.00",
                "proposedCost" :"$0.00",
                "originalRevenue" :"$0.00",
                "originalCost" :"$0.00",
            }
            "hierarchyDetails"
            {
                "entityType" :"PERS",
                "entityId" :"1483750392",
                "parentEntityId" :"3863028908",
                "status" :"Unapproved",
                "revenueVariation" :"0.00",
                "proposedRevenue" :"$0.00",
                "proposedCost" :"$0.00",
                "originalRevenue" :"$0.00",
                "originalCost" :"$0.00",
            }
        }
    }
}
Note: We have given the above request and response samples to illustrate how the attribute value pairs should be structured while sending a deal simulation 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 update request and response attribute/value pairs in the JSON format Deal Update Request and Response - Attribute/Value Pairs in the JSON Format