Deal Update Response in the JSON Format

The following code snippet illustrates how the tags should be nested while sending the deal update response in the JSON format:

{
    "C1-DealCreationUpdateIWS":
    {
        "actionFlag" :"",
        "dealResponse"
        {
        message" :"",
        }
        "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 update request and response - attribute/value pairs in the JSON format Deal View Request and Response - Attibute/Value Pairs in the JSON Format
Sample deal update request and response in the JSON format Sample Deal Update Request and Response in the JSON Format
Sample deal version creation request and response in the JSON format Sample Deal Version Creation Request and Response in the JSON Format
Sample deal simulation request and response in the JSON format Sample Deal Simulation Request and Response in the JSON Format
Sample deal submission for approval request and response in the JSON format Sample Deal Submission for Approval Request and Response in the JSON Format
Sample deal approval request and response in the JSON format Sample Deal Approval Request and Response in the JSON Format
Sample deal return to submitter request and response in the JSON format Sample Deal Return to Submitter Request and Response in the JSON Format
Sample deal finalization request and response in the JSON format Sample Deal Finalization Request and Response in the JSON Format
Sample deal acceptance request and response in the JSON format Sample Deal Acceptance Request and Response in the JSON Format
Sample deal rejection request and response in the JSON format Sample Deal Rejection Request and Response in the JSON Format
Sample price item selection request and response in the JSON format Sample Price Item Selection Request and Response in the JSON Format