Method returns list of serial numbers.
Input parameter is an array of tns:serialnumbersRequest, which contains P/N or serial number or month and year of delivery or number of paper.
Output is an array (struct) of tns:serialnumbers, containing list of P/N, price, numbers of papers and last day of warranty.
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 | Empty list. | timestamp |
1 | CLIENT | Malformed request, empty request. | timestamp |
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.
Some clients may be authorized to use only some part(s) of this method, so it is the client's responsibility to use only such request. Otherwise the request will not be authorized and HTTP 401 will be returned.
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/getSerialNumbers" |
Content-Length: | 676 |
HTTP/1.1 200 OK | |
---|---|
Date: | Sat, 14 Jul 2007 11:36:16 GMT |
Server: | Apache |
X-SOAP-Server: | NuSOAP/0.6.8 (1.76) |
Content-Length: | 2186 |
Connection: | close |
Content-Type: | text/xml; charset=UTF-8 |
SOAP fault is returned in ISO-8859-1 encoding, except of server header UTF-8 charset declaration.