placeholder Command:  PROMOTION DEFINITIONS 


Short version Long version Changes Example

Examples:

For your better understanding we have prepared examples that have been tested. You can copy them into a new file that you've prepared as mentioned in the introduction. Furthermore we provide you with the response that fits with the example.

The data received can be different from the data that you are receiving in your system.


1. Example     next / previous example
 
Request of 1. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="write">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 0,5g 10% / 200g, 2kg 20% / 200g </promotion_name>
            <promotion_rule_tag>Rule Tag for P1</promotion_rule_tag>
            <promotion_text1>P1 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P1 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-20</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P2 - DISCOUNT STEPWISE VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Value 1kg 50/200, 2kg 80/200 </promotion_name>
            <promotion_rule_tag>Rule Tag for P2</promotion_rule_tag>
            <promotion_text1>P2 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P2 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>1000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-50</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-80</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 1kg -10% / 200g, 2kg -1.00€ / 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for P3</promotion_rule_tag>
            <promotion_text1>P3- Stepwise Quantity and Value</promotion_text1>
            <promotion_text2>P3 - Stepwise Quantity and Value</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-100</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                        <markup_discount_value/>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
            <promotion_group>Imapct</promotion_group>
            <promotion_name>FIX Impact of 0,50 Euro up to 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P5</promotion_rule_tag>
            <promotion_text1>P5: 50 Cent Impact up to 500g</promotion_text1>
            <promotion_text2>P5: 50 Cent Impact up to 500g</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_fix>
                        <markup_discount_value>50</markup_discount_value>
                    </markup_discount_fix>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P6 - DISCOUNT LINEAR 5 points for 500g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR 5 points for 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P6</promotion_rule_tag>
            <promotion_text1>P6: 5 Points per 500g</promotion_text1>
            <promotion_text2>P6: 5 points per 500g </promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>Dummy Promotion</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>Dummy promotion to delete</promotion_name>
            <promotion_rule_tag>Rule Tag for this promotion</promotion_rule_tag>
            <promotion_text1>This is promotion text 1</promotion_text1>
            <promotion_text2>This is promotion text 2</promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>100</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 1. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="write">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 0,5g 10% / 200g, 2kg 20% / 200g </promotion_name>
            <promotion_rule_tag>Rule Tag for P1</promotion_rule_tag>
            <promotion_text1>P1 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P1 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-20</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P2 - DISCOUNT STEPWISE VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Value 1kg 50/200, 2kg 80/200 </promotion_name>
            <promotion_rule_tag>Rule Tag for P2</promotion_rule_tag>
            <promotion_text1>P2 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P2 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>1000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-50</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-80</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 1kg -10% / 200g, 2kg -1.00€ / 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for P3</promotion_rule_tag>
            <promotion_text1>P3- Stepwise Quantity and Value</promotion_text1>
            <promotion_text2>P3 - Stepwise Quantity and Value</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-100</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                        <markup_discount_value/>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
            <promotion_group>Imapct</promotion_group>
            <promotion_name>FIX Impact of 0,50 Euro up to 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P5</promotion_rule_tag>
            <promotion_text1>P5: 50 Cent Impact up to 500g</promotion_text1>
            <promotion_text2>P5: 50 Cent Impact up to 500g</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_fix>
                        <markup_discount_value>50</markup_discount_value>
                    </markup_discount_fix>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P6 - DISCOUNT LINEAR 5 points for 500g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR 5 points for 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P6</promotion_rule_tag>
            <promotion_text1>P6: 5 Points per 500g</promotion_text1>
            <promotion_text2>P6: 5 points per 500g </promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>Dummy Promotion</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>Dummy promotion to delete</promotion_name>
            <promotion_rule_tag>Rule Tag for this promotion</promotion_rule_tag>
            <promotion_text1>This is promotion text 1</promotion_text1>
            <promotion_text2>This is promotion text 2</promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>100</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

2. Example     next / previous example
 
Request of 2. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="readall">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 2. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="readall">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P3</promotion_rule_tag>
            <promotion_name>STEPWISE Quantity 1kg -10% / 200g, 2kg -1.00€ / 50</promotion_name>
            <promotion_text1>P3- Stepwise Quantity and Value</promotion_text1>
            <promotion_text2>P3 - Stepwise Quantity and Value</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-100</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

3. Example     next / previous example
 
Request of 3. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="readall">
            <promotion_definition_id/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 3. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="readall">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
            <promotion_group>Imapct</promotion_group>
            <promotion_rule_tag>Rule Tag for this P5</promotion_rule_tag>
            <promotion_name>FIX Impact of 0,50 Euro up to 500g</promotion_name>
            <promotion_text1>P5: 50 Cent Impact up to 500g</promotion_text1>
            <promotion_text2>P5: 50 Cent Impact up to 500g</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_fix>
                        <markup_discount_value>50</markup_discount_value>
                    </markup_discount_fix>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P6 - DISCOUNT LINEAR 5 points for 500g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this P6</promotion_rule_tag>
            <promotion_name>LINEAR 5 points for 500g</promotion_name>
            <promotion_text1>P6: 5 Points per 500g</promotion_text1>
            <promotion_text2>P6: 5 points per 500g </promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>Dummy Promotion</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this pr</promotion_rule_tag>
            <promotion_name>Dummy promotion to delete</promotion_name>
            <promotion_text1>This is promotion text 1</promotion_text1>
            <promotion_text2>This is promotion text 2</promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>100</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P1</promotion_rule_tag>
            <promotion_name>STEPWISE Quantity 0,5g 10% / 200g, 2kg 20% / 200g </promotion_name>
            <promotion_text1>P1 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P1 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-20</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P2 - DISCOUNT STEPWISE VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P2</promotion_rule_tag>
            <promotion_name>STEPWISE Value 1kg 50/200, 2kg 80/200 </promotion_name>
            <promotion_text1>P2 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P2 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>1000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-50</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-80</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P3</promotion_rule_tag>
            <promotion_name>STEPWISE Quantity 1kg -10% / 200g, 2kg -1.00€ / 50</promotion_name>
            <promotion_text1>P3- Stepwise Quantity and Value</promotion_text1>
            <promotion_text2>P3 - Stepwise Quantity and Value</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-100</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
            <promotion_group>Imapct</promotion_group>
            <promotion_rule_tag>Rule Tag for this P5</promotion_rule_tag>
            <promotion_name>FIX Impact of 0,50 Euro up to 500g</promotion_name>
            <promotion_text1>P5: 50 Cent Impact up to 500g</promotion_text1>
            <promotion_text2>P5: 50 Cent Impact up to 500g</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_fix>
                        <markup_discount_value>50</markup_discount_value>
                    </markup_discount_fix>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P6 - DISCOUNT LINEAR 5 points for 500g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this P6</promotion_rule_tag>
            <promotion_name>LINEAR 5 points for 500g</promotion_name>
            <promotion_text1>P6: 5 Points per 500g</promotion_text1>
            <promotion_text2>P6: 5 points per 500g </promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

4. Example     next / previous example
 
Request of 4. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="read">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 4. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="read">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P1</promotion_rule_tag>
            <promotion_name>STEPWISE Quantity 0,5g 10% / 200g, 2kg 20% / 200g </promotion_name>
            <promotion_text1>P1 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P1 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-20</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

5. Example     next / previous example
 
Request of 5. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="read+">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 5. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="read+">
            <promotion_definition_id>P2 - DISCOUNT STEPWISE VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P2</promotion_rule_tag>
            <promotion_name>STEPWISE Value 1kg 50/200, 2kg 80/200 </promotion_name>
            <promotion_text1>P2 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P2 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>1000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-50</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-80</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

6. Example     next / previous example
 
Request of 6. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="read-">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 6. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="read-">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

7. Example     next / previous example
 
Request of 7. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="delete">
            <promotion_definition_id>Dummy promotion</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 7. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="delete">
            <promotion_definition_id>Dummy promotion</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

8. Example     next / previous example
 
Request of 8. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="readall">
            <promotion_definition_id/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 8. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="readall">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P1</promotion_rule_tag>
            <promotion_name>STEPWISE Quantity 0,5g 10% / 200g, 2kg 20% / 200g </promotion_name>
            <promotion_text1>P1 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P1 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-20</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P2 - DISCOUNT STEPWISE VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P2</promotion_rule_tag>
            <promotion_name>STEPWISE Value 1kg 50/200, 2kg 80/200 </promotion_name>
            <promotion_text1>P2 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P2 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>1000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-50</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-80</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for P3</promotion_rule_tag>
            <promotion_name>STEPWISE Quantity 1kg -10% / 200g, 2kg -1.00€ / 50</promotion_name>
            <promotion_text1>P3- Stepwise Quantity and Value</promotion_text1>
            <promotion_text2>P3 - Stepwise Quantity and Value</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-100</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
            <promotion_group>Imapct</promotion_group>
            <promotion_rule_tag>Rule Tag for this P5</promotion_rule_tag>
            <promotion_name>FIX Impact of 0,50 Euro up to 500g</promotion_name>
            <promotion_text1>P5: 50 Cent Impact up to 500g</promotion_text1>
            <promotion_text2>P5: 50 Cent Impact up to 500g</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_fix>
                        <markup_discount_value>50</markup_discount_value>
                    </markup_discount_fix>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
        <promotion_definition mode="readall">
            <promotion_definition_id>P6 - DISCOUNT LINEAR 5 points for 500g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_rule_tag>Rule Tag for this P6</promotion_rule_tag>
            <promotion_name>LINEAR 5 points for 500g</promotion_name>
            <promotion_text1>P6: 5 Points per 500g</promotion_text1>
            <promotion_text2>P6: 5 points per 500g </promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
            <last_change/>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

9. Example     next / previous example
 
Request of 9. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="deleteall">
            <promotion_definition_id>0</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 9. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="deleteall">
            <promotion_definition_id>0</promotion_definition_id>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 
 

10. Example     next / previous example
 
Request of 10. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="write">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 0,5g 10% / 200g, 2kg 20% / 200g </promotion_name>
            <promotion_rule_tag>Rule Tag for P1</promotion_rule_tag>
            <promotion_text1>P1 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P1 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-20</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P2 - DISCOUNT STEPWISE VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Value 1kg 50/200, 2kg 80/200 </promotion_name>
            <promotion_rule_tag>Rule Tag for P2</promotion_rule_tag>
            <promotion_text1>P2 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P2 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>1000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-50</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-80</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 1kg -10% / 200g, 2kg -1.00€ / 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for P3</promotion_rule_tag>
            <promotion_text1>P3- Stepwise Quantity and Value</promotion_text1>
            <promotion_text2>P3 - Stepwise Quantity and Value</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-100</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                        <markup_discount_value/>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
            <promotion_group>Imapct</promotion_group>
            <promotion_name>FIX Impact of 0,50 Euro up to 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P5</promotion_rule_tag>
            <promotion_text1>P5: 50 Cent Impact up to 500g</promotion_text1>
            <promotion_text2>P5: 50 Cent Impact up to 500g</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_fix>
                        <markup_discount_value>50</markup_discount_value>
                    </markup_discount_fix>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P6 - DISCOUNT LINEAR 5 points for 500g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR 5 points for 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P6</promotion_rule_tag>
            <promotion_text1>P6: 5 Points per 500g</promotion_text1>
            <promotion_text2>P6: 5 points per 500g </promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>Dummy Promotion</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>Dummy promotion to delete</promotion_name>
            <promotion_rule_tag>Rule Tag for this promotion</promotion_rule_tag>
            <promotion_text1>This is promotion text 1</promotion_text1>
            <promotion_text2>This is promotion text 2</promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>100</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
    </promotion_definitions>
</scaledata>
 

 
Response of 10. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <promotion_definitions>
        <promotion_definition mode="write">
            <promotion_definition_id>P1 - DISCOUNT STEPWISE QUANTITY</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 0,5g 10% / 200g, 2kg 20% / 200g </promotion_name>
            <promotion_rule_tag>Rule Tag for P1</promotion_rule_tag>
            <promotion_text1>P1 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P1 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-20</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P2 - DISCOUNT STEPWISE VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Value 1kg 50/200, 2kg 80/200 </promotion_name>
            <promotion_rule_tag>Rule Tag for P2</promotion_rule_tag>
            <promotion_text1>P2 - Stepwise Quantity</promotion_text1>
            <promotion_text2>P2 - Stepwise Quantity</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>1000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-50</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-80</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P3 - DISCOUNT STEPWISE QUANTITY and VALUE</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>STEPWISE Quantity 1kg -10% / 200g, 2kg -1.00€ / 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for P3</promotion_rule_tag>
            <promotion_text1>P3- Stepwise Quantity and Value</promotion_text1>
            <promotion_text2>P3 - Stepwise Quantity and Value</promotion_text2>
            <standard_rule>
                <markup_discount_kind>quantity</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>200</markup_discount_step>
                        <markup_discount_value>-10</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>2000</markup_discount_threshold>
                    <markup_discount_stepwise>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>-100</markup_discount_value>
                    </markup_discount_stepwise>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P4 - DISCOUNT LINEAR 10% up to 300g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR Discount 10% up to 300g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P2</promotion_rule_tag>
            <promotion_text1>P4: 10% Discount up to 300g</promotion_text1>
            <promotion_text2>P4: 10% Discount up to 300g :</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-1000</markup_discount_rate>
                        <markup_discount_value/>
                    </markup_discount_linear>
                </markup_discount_chain>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>10000</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_rate>-2000</markup_discount_rate>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P5 - IMPACT FIX 0,50 Euro up to 500g</promotion_definition_id>
            <promotion_group>Imapct</promotion_group>
            <promotion_name>FIX Impact of 0,50 Euro up to 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P5</promotion_rule_tag>
            <promotion_text1>P5: 50 Cent Impact up to 500g</promotion_text1>
            <promotion_text2>P5: 50 Cent Impact up to 500g</promotion_text2>
            <standard_rule>
                <markup_discount_kind>value</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>500</markup_discount_threshold>
                    <markup_discount_fix>
                        <markup_discount_value>50</markup_discount_value>
                    </markup_discount_fix>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>P6 - DISCOUNT LINEAR 5 points for 500g</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>LINEAR 5 points for 500g</promotion_name>
            <promotion_rule_tag>Rule Tag for this P6</promotion_rule_tag>
            <promotion_text1>P6: 5 Points per 500g</promotion_text1>
            <promotion_text2>P6: 5 points per 500g </promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>500</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
        <promotion_definition mode="write">
            <promotion_definition_id>Dummy Promotion</promotion_definition_id>
            <promotion_group>Discount</promotion_group>
            <promotion_name>Dummy promotion to delete</promotion_name>
            <promotion_rule_tag>Rule Tag for this promotion</promotion_rule_tag>
            <promotion_text1>This is promotion text 1</promotion_text1>
            <promotion_text2>This is promotion text 2</promotion_text2>
            <standard_rule>
                <markup_discount_kind>points</markup_discount_kind>
                <markup_discount_chain>
                    <markup_discount_threshold>0</markup_discount_threshold>
                    <markup_discount_linear>
                        <markup_discount_step>100</markup_discount_step>
                        <markup_discount_value>5</markup_discount_value>
                    </markup_discount_linear>
                </markup_discount_chain>
            </standard_rule>
        </promotion_definition>
    </promotion_definitions>
</scaledata>