Sample XML Format for Uploading Parameters

Using the below example, you can create the following parameters:

  • Country

  • Currency

Note: The system will create the above parameters when the required fields, characteristic types, usage amount, usage counter, validation algorithm, referenced tables, and referenced fields are defined in the application.
<root>
<request>
<payload>
<C1_PRICE_PARM>
    <priceParmCode>COUNTRY</priceParmCode>
    <description>COUNTRY</description>
    <priceParmTypeFlag>DFV</priceParmTypeFlag>
    <sourceEntityFlg>PERS</sourceEntityFlg>
    <sourceTypeFlg>FLD</sourceTypeFlg>
    <sourceTypeCode>COUNTRY</sourceTypeCode>
    <validationAlgoCd></validationAlgoCd>
    <referredTable></referredTable>
    <referredField></referredField>
    <priceParmValue>
        <priceParmVal>AUT</priceParmVal>
        <descr>Austria</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>AUS</priceParmVal>
        <descr>Australia</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>CAN</priceParmVal>
        <descr>Canada</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>CHN</priceParmVal>
        <descr>China</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>DNK</priceParmVal>
        <descr>Denmark</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>EGY</priceParmVal>
        <descr>Egypt</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>FRA</priceParmVal>
        <descr>France</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>DEU</priceParmVal>
        <descr>Germany</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>IND</priceParmVal>
        <descr>India</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>ITA</priceParmVal>
        <descr>Italy</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>JPN</priceParmVal>
        <descr>Japan</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>MYS</priceParmVal>
        <descr>Malaysia</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>MEX</priceParmVal>
        <descr>Mexico</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>NOR</priceParmVal>
        <descr>Norway</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>PHL</priceParmVal>
        <descr>Philippines</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>RUS</priceParmVal>
        <descr>Russia</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>ESP</priceParmVal>
        <descr>Spain</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>LKA</priceParmVal>
        <descr>Sri Lanka</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>SWE</priceParmVal>
        <descr>Sweden</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>CHE</priceParmVal>
        <descr>Switzerland</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>THA</priceParmVal>
        <descr>Thailand</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>USA</priceParmVal>
        <descr>United States of America</descr>
    </priceParmValue>
    <pricingEligibilitySw>Y</pricingEligibilitySw>
    <priceItemSw>Y</priceItemSw>
    <priceListEligibilitySw>N</priceListEligibilitySw>
    <productEligibilitySw>N</productEligibilitySw>
</C1_PRICE_PARM>
<C1_PRICE_PARM>
    <priceParmCode>CURRENCY</priceParmCode>
    <description>CURRENCY</description>
    <priceParmTypeFlag>DFV</priceParmTypeFlag>
    <sourceEntityFlg>ACCT</sourceEntityFlg>
    <sourceTypeFlg>FLD</sourceTypeFlg>
    <sourceTypeCode>CURRENCY_CD</sourceTypeCode>
    <validationAlgoCd></validationAlgoCd>
    <referredTable></referredTable>
    <referredField></referredField>
    <priceParmValue>
        <priceParmVal>EUR</priceParmVal>
        <descr>Euro</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>AUD</priceParmVal>
        <descr>Australian Dollar</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>CAD</priceParmVal>
        <descr>Canadian Dollar</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>CNY</priceParmVal>
        <descr>Chinese Yuan</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>DKK</priceParmVal>
        <descr>Danish Krone</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>EGP</priceParmVal>
        <descr>Egyptian Pound</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>INR</priceParmVal>
        <descr>Indian Rupee</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>JPY</priceParmVal>
        <descr>Japanese Yen</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>MYR</priceParmVal>
        <descr>Malaysian Ringgit</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>MXN</priceParmVal>
        <descr>Mexican Peso</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>NOK</priceParmVal>
        <descr>Norwegian Krone</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>PHP</priceParmVal>
        <descr>Philippine Peso</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>RUB</priceParmVal>
        <descr>Russian Ruble</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>LKR</priceParmVal>
        <descr>Sri Lankan Rupee</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>SEK</priceParmVal>
        <descr>Swedish Krona</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>CHF</priceParmVal>
        <descr>Swiss Franc</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>THB</priceParmVal>
        <descr>Thai Baht</descr>
    </priceParmValue>
    <priceParmValue>
        <priceParmVal>USD</priceParmVal>
        <descr>United States Dollar</descr>
    </priceParmValue>
    <pricingEligibilitySw>Y</pricingEligibilitySw>
    <priceItemSw>Y</priceItemSw>
    <priceListEligibilitySw>N</priceListEligibilitySw>
    <productEligibilitySw>N</productEligibilitySw> 
</C1_PRICE_PARM>
</payload
</request>
</root>

Related Topics

For more information on... See...
XML File Format for Uploading Parameters XML File Format for Uploading Parameters