Updated on
Delivers the shopping basket datasets of the stated program, which correspond with
the consigned filter, as well as the history ID of the newly-created export entry.


<GetBasket xmlns="">
    <basketfilter xmlns="">
        <period from="2004-12-01T00:00:00+02:00"
        <reviewstate negate="1">1
        <category status="1"/>
        <orderid negate="1">TestKat</orderid>


Object Data type Characters Description Mandatory?
<programid> int   ID of the program whose
data will be retrieved
<basketfilter>     Filter criteria, which will be
applied during the export
<period>     Export period x
from datetime   Most recent time stamp of the
to datetime   Oldest time stamp of the dataset x
<reviewstate> int   Review status of the sales to
which the shopping basket
negate boolean   Criterion <reviewstate>
• 0 = not be negated
• 1 = be negated
<category>     Tracking category of the dataset
at zanox
status byte   Status of the tracking category
• 1 = known
• 2 = unknown
<orderid> normalizedstring 50 Order ID of the dataset  
negate boolean   Criterion <orderid> should
• 0 = not be negated
• 1 = be negated



If the value of the "negate" attribute of the orderid element is 1, all datasets that do not
correspond with the condition will be exported.


If the lock wait time has not yet expired and the user wishes to carry out a new data export,
the request will be terminated with an error (refer to <locktime> element in GetUserPrograms).

Object Data type Description
<historyid> int History ID that was created for the export process


Otherwise, zanox ERP Web Services delivers the following data:

<GetBasketResponse xmlns="">
        <basket id="a5028acb-23b2-4b42-9edf-70ff0ac04167" trackingtype="23"  xmlns="">
            <request timestamp="2004-06-18 12:16:28"/>
            <program id="10"/>
            <order id="1396525"/>
            <category id="Ihre-Kategorie"/>
                <commission currency="EUR">0.66</commission>
            <product number="1234" quantity="1">
                <price currency="EUR">8.15</price>
            <commission fix="0.20" percent="0.15"/>

Object Data type Description
<basketdata>   Contains n elements <basket> as children
<basket>   Contains information on the shopping basket
id normalizedstring Unique ID of the shopping basket dataset (GUID)
trackingtype unsignedbyte Tracking type for which the dataset was tracked
<ulp> normalizedstring Transmitted ULP
timestamp datetime Time stamp of the request
id int ID of the program to which the dataset pertains
id normalizedstring Order ID
id normalizedstring Category ID
<commission> decimal Publisher commission
currency normalizedstring Currency of the publisher commission
number normalizedstring Product number
quantity short Product quantity
<name> normalizedstring Product name
<price> decimal Product price
currency normalizedstring Currency of the product price
fix decimal Fixed commission in the program currency
percent decimal Variable commission in percent


Resource Information

Rate Limited? No
Requests per rate limit window N/A
Authentication Requires Authentication
Response Formats xml
Resource family basketdata
Response Object basket
API Version


If the value for <historyid>  is '0', no data have been exported. For instance, this might happen because the filter has been set too restrictively).