Documentation::getOrders

Method returns list of saved orders' details.

Input parameter is a 2D array of xsd:token, which contains valid order number(s).

Output is a multidimensional array (struct) of tns:orders, which is a complex structure best described in WSDL.

Fault codes

Method returns SOAP fault (according to SOAP Version 1.2, section 2.3 Fault Scenarios) on failure or when no data found for client request. Database error may be returned with specific error prefix, when database is not ready or something unwanted happens.

Code Actor String Detail
-1SERVICERequested order not found.order number
1CLIENTMalformed request.client input
2CLIENTEmpty request.client input
ORA-[0-9]{1-5}DATABASEDatabase subsystem error.database error message

Authentication

SOAP client must be capable of basic HTTP authentication to use this method.

Example request

POST /index.php HTTP/1.0
User-Agent:ClTest/1.0.0 (0.99)
Host:xchgdemo.techdata.cz
Content-Type:text/xml; charset=UTF-8
SOAPAction:"http://xchgdemo.techdata.cz/index.php/getOrders"
Content-Length:743

Known bugs

SOAP fault is returned in ISO-8859-1 encoding, except of server header UTF-8 charset declaration.