Method returns list of saved invoices' details.
Input parameter is a 2D array of xsd:token, which contains valid invoice(s) number(s).
Output is a multidimensional array (struct) of tns:invoices, which is a complex structure best described in WSDL.
Method accepts maximum of 99 requested numbers. If there are more invoice numbers requested, method returns fault.
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 |
---|---|---|---|
-1 | SERVICE | Requested invoice not found. | invoice number |
1 | CLIENT | Malformed request. | client input |
2 | CLIENT | Empty request. | client input |
3 | CLIENT | Number of maximum invoices per request exceeded. | number of requested invoices |
ORA-[0-9]{1-5} | DATABASE | Database subsystem error. | database error message |
SOAP client must be capable of basic HTTP authentication to use this method.
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/getInvoices" |
Content-Length: | 714 |
SOAP fault is returned in ISO-8859-1 encoding, except of server header UTF-8 charset declaration.