Deal View Request in the JSON Format

The following code snippet illustrates how the attributes should be structured while sending the deal view request in the JSON format:

{
    "C1-DealCreationUpdateIWS":
    {
        "actionFlag" :"",
        "dealOperation"
        {
            "operationFlag" :"",
            "dealIdentifier" :"",
            "dealId" :"",
            "modelId" :"",
            "dealAcceptEffStartDate" :"",
            "dealAcceptEffEndDate" :"",
            "comments" :"",
            "rejectReasonCode" :"",
        }
        "priceItemGroupSelection"
        {
            "priceItemSelectionList"
            {
                "priceItemCode" :"",
                "priceItemInfo" :"",
                "parameterInfo" :""'
                "assignmentLevel" :"",
                "priceAssignmentId" :"",
                "hierarchyDetails" :"",
                "includeFlag" :"",
            }
        }
        "dealDetails"
        {
            "dealEntityDetails"
            {
                "personIdentifierType" :"",
                "personIdentifier" :"",
                "personId" :"",
                "accountIdentifierType" :"",
                "accountIdentifier" :"",
                "accountId" :"",
                "prsPerIdentifierType" :"",
                "prsPerIdentifier" :"",
                "prospectPersonId" :"",
                "division" :"",
            }
            "dealIdentifier" :"",
            "dealInformation" :"",
            "dealId" :"",
            "modelId" :"",
            "dealEntityType" :"",
            "customerSegment" :"",
            "customerTier" :"",
            "division" :"",
            "accessGrp" :"",
            "dealEntityId" :"",
            "contractedDealFlag" :"",
            "currency" :"",
            "dealTypeCode" :"",
            "startDate" :"",
            "endDate" :"",
            "simulationTypeFlag" :"",
            "reviewFrequency" :"",
            "dealDescription" :"",
            "longDescription" :"",
            "dealVersionDescription" :"",
            "dealFrequency" :"",
            "skipReferenceFlag" :"",
            "priceSelectionDate" :"",
            "usagePeriod" :"",
            "includeHierarchyFlag" :"",
            "status" :"",
            "dealVersionStatus" :"",
            "templateFlag" :"",
            "createdDate" :"",
            "acceptanceDate" :"",
            "finalizedDate" :"",
            "effectiveStartDate" :"",
            "effectiveEndDate" :"",
            "reviewedDate" :"",
        }
        "templateReferenceDetails"
        {
            "templateDealId" :"",
            "templateDealIdentifier" :"",
            "templateModelId" :"",
            "copyBasicDetailsFlag" :"",
            "copyPricingFlag" :"",
            "copyUsageFlag" :"",
        }
        "dealCharacteristics"
        {
            "characteristicType" :"",
            "effectiveDate" :"",
            "characteristicValue" :"",
        }
        "dealTermsAndConditionsDetails"
        {
            "termsAndConditionsList"
            {
                "description mapField="DESCR"/>
                "termsAndCondition fkRef="TERMNCON" mapField="TC_TYPE_CD"/>
                "termsAndConditionText mapField="LONG_DESC"/>
            }
            "adhocTermsAndCondition" :"",
        }
        "productDetailsList"
        {
            "productCode" :"",
        }
        "referenceDetails"
        {
            "referenceTypeFlg" :"",
            "refPersonIdentifierType" :"",
            "refPersonIdentifier" :"",
            "referPersonId" :"",
            "refAccountIdentifierType" :"",
            "refAccountIdentifier" :"",
            "referAccountId" :"",
            "referDealIdentifier" :"",
            "referenceDealId" :"",
            "referenceModelId" :"",
            "referUsageSw" :"",
            "referPriceSw" :"",
            "includeChildHierarchy" :"",
            "division" :"",
        }
        "dealSimulationDetails"
        {
            "dealfinancialsummarylist"
            { 
                "approvalStatus" :"",
            }  
                "originalDealFinanciancialSummary"
                {
                    "revenue" :"",
                    "cost" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                    "proposedDealFinanciancialSummary"
                {   
                    "revenue" :"",
                    "cost" :"",
                    "profit" :"",
                    "profitabilityPercentage" :"",
                }
                    "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" :"",
                "entityId" :"",
                "parentEntityId" :"",
                "status" :"",
                "revenueVariation" :"",
                "proposedRevenue" :"",
                "proposedCost" :"",
                "originalRevenue" :"",
                "originalCost" :"",
            }
        }
    }
}

Related Topics

For more information on... See...
Deal view request and response - attribute/value pairs in the JSON format Deal View Request and Response - Attibute/Value Pairs in the JSON Format
Sample deal view request and response in the JSON format Sample Deal View Request Response in JSON Format
Sample price item selection view request and response in the JSON format Sample Price Item Selection View Request and Response in the JSON Format