Sample Deal Version Creation Request and Response in the XML Format

Using the below example, you can create the deal version of the deal 6287907587.

Sample Deal Version Creation Request in the XML Format

<C1-DealCreationUpdateIWS>
    <actionFlag>ADD</actionFlag>
    <dealOperation>
        <operationFlag>CRDV</operationFlag>
        <dealId>9953437478</dealId>
        <modelId>7404912267</modelId>
        <dealVersionDescription>Version 2<dealVersionDescription>
        <dealVersionCreationFlag>FLHR</dealVersionCreationFlag>
    </dealOperation>
</C1-DealCreationUpdateIWS>
Note: If you do not want to enter the data in the list tags (i.e. tags where the type is set to list), you should not include them in the request. Adding empty list tags will give erroneous results.

Sample Deal Version Creation Response in the XML Format

<C1-DealCreationUpdateIWS>
    <actionFlag>ADD</actionFlag>
    <dealResponse>
        <message>Deal Version created successfully.</message>
    </dealResponse>
    <dealOperation>
        <operationFlag>CRDV</operationFlag>
        <dealId>9953437478</dealId>
        <modelId>7404912267</modelId>
        <dealVersionDescription>Version 2</dealVersionDescription>
        <dealVersionCreationFlag>FLHR</dealVersionCreationFlag>
    </dealOperation>
    <dealDetails>
        <dealId>9953437478</dealId>
        <modelId>8149209383</modelId>
        <contractedDealFlag>false</contractedDealFlag>
        <simulationTypeFlag>false</simulationTypeFlag>
        <includeHierarchyFlag>false</includeHierarchyFlag>
        <dealVersionStatus>PSML</dealVersionStatus>
        <templateFlag>false</templateFlag>
    </dealDetails>
    <templateReferenceDetails>
        <copyBasicDetailsFlag>false</copyBasicDetailsFlag>
        <copyPricingFlag>false</copyPricingFlag>
        <copyUsageFlag>false</copyUsageFlag>
    </templateReferenceDetails>
    <referenceDetails>
        <referUsageSw>false</referUsageSw>
        <referPriceSw>false</referPriceSw>
        <includeChildHierarchy>false</includeChildHierarchy>
    </referenceDetails>
</C1-DealCreationUpdateIWS>
Note: We have given the above request and response samples to illustrate how the tags should be nested while sending a deal version creation 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 tags in the XML format Deal Update Request and Response - Tags in the XML Format