WS-Bestellgenerator (EN)

WS-Bestellgenerator (EN)

Scroll Export Button

General services

In the following an order generator is described, with whose assistance automatized orders can be generated in the shop. The orders are placed via XML data.

The transfer of the order/XML data may take place by way of two methods:

Method 1: manual

The XML data are uploaded to a web application via an XML file and are ultimately processed. The web application here is operated manually. The XML file has a set name "orders.xml".

The transfer (uploading) of the file takes place with SSL encryption.

Users of this application must log-in to the shop beforehand and must have authorization for the order generator. The authorization (flag in the customer base) is assigned by the shop operator over the WEBSALE AG service area or by customer data import interface.

In the XML file a maximum of 1000 orders can be transferred at once.

Transfer of the data per XML file upload:

<?xml version="1.0" encoding="UTF-8"?> <Orders> <Order> ... Data of the 1st Order ... </Order> <Order> ... Data of the 2nd Order ... </Order> <Order> ... Data of the 3rd Order ... </Order> ... <Order> ... Data of the 1000th Order (maximum number) ... </Order> </Orders>

Method 2: automated

The XML data are Blowfish-encrypted and sent without a web application directly to the shop. In each case exactly one order can be given. The shop returns the results of the processing via XML response.

Transfer of XML data with Blowfish encryption:

<?xml version="1.0" encoding="UTF-8"?> <Order> ... Order Data ... </Order>

Range of functions

The XML order generator does not support all functions that are offered in shop, but only the functions described below. In particular, only offline payment methods can be used or online payment methods without client authentication (credit card clearing server-to-server and ELV). Payment methods such as PayPal or Direct Debit are not possible, since client authentication must occur here over the browser. With a successful order, a confirmation e-mail is sent to the given e-mail address.

Sign-in and guest orders

The XML interface can be used for both existing users (with sign-in) and guest users (without sign-in).

Content of the XML data

Optional parameters can be given empty or can be completely omitted.

<?xml version="1.0" encoding="UTF-8"?> <Orders> <!--(Only with file upload)--> <Order> <Products> <Product> <Number>Product Number</Number> <SetID>Compression Number</SetID> <Set> <PIndex>Product Index of the Set Upper Article</PIndex> <PVarIndex>Variation Index of the Set Upper Article</PVarIndex> <CVarIndex-X> Variation Index of the Xth Set Sub Article</CVarIndex-X> <child> <index>Product Index of the Set Sub Article</index> <varindex>Variation Index of the Set Sub Article</varindex> </child> </Set> <SetIDUserIndex>UserIndex</SetIDUserIndex> <Quantity>Quantity</Quantity> <Price>Product price</Price> <Length>Product length</Length> <Width>Product width</Width> <countryofproduction>Country or location of production</countryofproduction> <ForceW2PFlag>yes</ForceW2PFlag> <Variations> <Variation> <Name>Variation Name</Name> <Value>Variation Value</Value> </Variation> <Variation> <Name> Variation Name</Name> <Value> Variation Value</Value> </Variation> <!-- ... --> </Variations> <TextInputs> <TextInput> <Name> Text Field Name</Name> <Value>Text Field Value</Value> </TextInput> <TextInput> <Name> Text Field Name</Name> <Value> Text Field Value</Value> </TextInput> <!-- ... --> </TextInputs> <DeliverySplit> <+Entry> <DeliveryAddressID></DeliveryAddressID> <DeliveryQuantity></DeliveryQuantity> <SampleCopy>yes</SampleCopy> </+Entry> </DeliverySplit> </Product> <!-- ... --> </Products> <Payment> <Code>Payment Method Code</Code> <Debit> <ExternalID>ExternalID</ExternalID> <AccountHolder>Account Holder</AccountHolder> <BankName>Name of Credit Institution</BankName> <AccountNumber>Account No.</AccountNumber> <BankCode>Bank Code</BankCode> <IBAN>IBAN</IBAN> <BIC>BIC</BIC> </Debit> <CreditCard> <Holder>Card Holder</Holder> <BrandID>Card Type</BrandID> <Number>Card No. Without Spaces </Number> <ExpiryDate>Expiry Date</ExpiryDate> <VerificationCode>Card Verification Code</VerificationCode> </CreditCard> </Payment> <Delivery> <Code>Delivery Code</Code> <ID>Delivery Service ID</ID> </Delivery> <OrderOptions> <ResellerSurcharge>Reseller Surcharge</ResellerSurcharge> <Reference>Reference Text 1</Reference> <Reference2>Reference Text 2</Reference2> <OrderOptions1-Entry>Option Number</OrderOptions1-Entry> <OrderOptions2-Entry>Option Number</OrderOptions2-Entry> <OrderOptions3-Entry>Option Number</OrderOptions3-Entry> <OrderOptions4-Entry>Option Number</OrderOptions4-Entry> <OrderOptions5-Entry>Option Number</OrderOptions5-Entry> </OrderOptions> <OrderSpecialInput> <!-- Optional additional information for the order --> </OrderSpecialInput> <Voucher> <Number>Voucher Code</Number> </Voucher> <BillingAddress> <!-- (Billing Address Data) --> </BillingAddress> <DeliveryAddress> <!-- (Data of the alternative delivery address) --> <+Entry> <DeliveryAddressID></DeliveryAddressID> </+Entry> </DeliveryAddress> <ClimateNeutral> Support climate-neutral production </ClimateNeutral> </Order> </Orders><!--(Only with file upload)-->