placeholder Command:  MARKUP DISCOUNTS 


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>
    <markup_discounts>
        <markup_discount mode="write">
            <markup_discount_no>1</markup_discount_no>
            <name>VIP Discount</name>
            <markup_discount_type>MARKUP_DISCOUNT_PERCENT</markup_discount_type>
            <markup_discount_percentage>-1000</markup_discount_percentage>
            <markup_discount_absolute>0</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="write">
            <markup_discount_no>2</markup_discount_no>
            <name>Delivery markup</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>500</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="write">
            <markup_discount_no>99</markup_discount_no>
            <name>Dummy to delete</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>99</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
    </markup_discounts>
</scaledata>
 

 
Response of 1. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="write">
            <markup_discount_no>1</markup_discount_no>
            <name>VIP Discount</name>
            <markup_discount_type>MARKUP_DISCOUNT_PERCENT</markup_discount_type>
            <markup_discount_percentage>-1000</markup_discount_percentage>
            <markup_discount_absolute>0</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="write">
            <markup_discount_no>2</markup_discount_no>
            <name>Delivery markup</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>500</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="write">
            <markup_discount_no>99</markup_discount_no>
            <name>Dummy to delete</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>99</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
    </markup_discounts>
</scaledata>
 
 

2. Example     next / previous example
 
Request of 2. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="readall">
            <markup_discount_no>0</markup_discount_no>
        </markup_discount>
    </markup_discounts>
</scaledata>
 

 
Response of 2. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="readall">
            <markup_discount_no>1</markup_discount_no>
            <name>VIP Discount</name>
            <markup_discount_type>MARKUP_DISCOUNT_PERCENT</markup_discount_type>
            <markup_discount_percentage>-1000</markup_discount_percentage>
            <markup_discount_absolute>0</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="readall">
            <markup_discount_no>2</markup_discount_no>
            <name>Delivery markup</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>500</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="readall">
            <markup_discount_no>99</markup_discount_no>
            <name>Dummy to delete</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>99</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="readall">
            <markup_discount_no>9999</markup_discount_no>
            <name>Natural-Rabatt</name>
            <markup_discount_type>MARKUP_DISCOUNT_UNDEFINED</markup_discount_type>
        </markup_discount>
    </markup_discounts>
</scaledata>
 
 

3. Example     next / previous example
 
Request of 3. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="read-">
            <markup_discount_no>10</markup_discount_no>
        </markup_discount>
    </markup_discounts>
</scaledata>
 

 
Response of 3. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="read-">
            <markup_discount_no>2</markup_discount_no>
            <name>Delivery markup</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>500</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
    </markup_discounts>
</scaledata>
 
 

4. Example     next / previous example
 
Request of 4. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="read+">
            <markup_discount_no>10</markup_discount_no>
        </markup_discount>
    </markup_discounts>
</scaledata>
 

 
Response of 4. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="read+">
            <markup_discount_no>99</markup_discount_no>
            <name>Dummy to delete</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>99</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
    </markup_discounts>
</scaledata>
 
 

5. Example     next / previous example
 
Request of 5. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="read">
            <markup_discount_no>1</markup_discount_no>
        </markup_discount>
    </markup_discounts>
</scaledata>
 

 
Response of 5. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="read">
            <markup_discount_no>1</markup_discount_no>
            <name>VIP Discount</name>
            <markup_discount_type>MARKUP_DISCOUNT_PERCENT</markup_discount_type>
            <markup_discount_percentage>-1000</markup_discount_percentage>
            <markup_discount_absolute>0</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
    </markup_discounts>
</scaledata>
 
 

6. Example     next / previous example
 
Request of 6. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="delete">
            <markup_discount_no>99</markup_discount_no>
        </markup_discount>
    </markup_discounts>
</scaledata>
 

 
Response of 6. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="delete">
            <markup_discount_no>99</markup_discount_no>
        </markup_discount>
    </markup_discounts>
</scaledata>
 
 

7. Example     next / previous example
 
Request of 7. example     view response
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="readall">
            <markup_discount_no>0</markup_discount_no>
        </markup_discount>
    </markup_discounts>
</scaledata>
 

 
Response of 7. example     view request
<?xml version="1.0" encoding="UTF-16" ?>
<scaledata>
    <markup_discounts>
        <markup_discount mode="readall">
            <markup_discount_no>1</markup_discount_no>
            <name>VIP Discount</name>
            <markup_discount_type>MARKUP_DISCOUNT_PERCENT</markup_discount_type>
            <markup_discount_percentage>-1000</markup_discount_percentage>
            <markup_discount_absolute>0</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="readall">
            <markup_discount_no>2</markup_discount_no>
            <name>Delivery markup</name>
            <markup_discount_type>MARKUP_DISCOUNT_ABSOLUTE</markup_discount_type>
            <markup_discount_percentage>0</markup_discount_percentage>
            <markup_discount_absolute>500</markup_discount_absolute>
            <overwrite_flag>1</overwrite_flag>
            <last_change>2009-07-13T11:00:00</last_change>
        </markup_discount>
        <markup_discount mode="readall">
            <markup_discount_no>9999</markup_discount_no>
            <name>Natural-Rabatt</name>
            <markup_discount_type>MARKUP_DISCOUNT_UNDEFINED</markup_discount_type>
        </markup_discount>
    </markup_discounts>
</scaledata>