Method returns stock availability status for the part number(s) and requested quantity(ies) with stock unit price(s) without VAT, Copy fees and WEEE fees.
Input parameter is a 3D array (struct) of partNumber (xsd:normalizedString), productId (xsd:nonNegativeInteger) and quantity (xsd:unsignedByte).
Output is a 3D array (struct) of partNumber (xsd:normalizedString), productId (xsd:nonNegativeInteger), status (xsd:byte), ready volume (xsd:unsignedByte), ready date (xsd:dateTime) and price (xsd:float) and optional WEEE fee (xsd:float) and Copy fee (xsd:float).
This method can be called for no more than 20 products at once, maximum 200 products per hour and simultaneously maximum 1000 products per day.
-2 | Too many product numbers matched, neither ready volume, ready date nor quantity is present in the response. |
-1 | No product number matched, neither ready volume, ready date nor quantity is present in the response. |
0 | No stock availability data are available for the product, ready date is set to 1000-01-01 00:00:00 . |
1 | All amount is available now, ready date is set to current local time. |
2 | Part of the requested quantity is available now, rest will be available on ready date. |
3 | Part of the requested quantity is available now and no data about delivery of the rest are available, ready date is set to 1000-01-01 00:00:00 . |
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: | dev.techdata.cz |
Content-Type: | text/xml; charset=UTF-8 |
SOAPAction: | "http://xchgdemo.techdata.cz/index.php/getWarehouseStatus" |
Content-Length: | 1321 |
HTTP/1.1 200 OK | |
---|---|
Date: | Mon, 16 Jul 2007 15:18:58 GMT |
Server: | Apache |
X-SOAP-Server: | NuSOAP/0.6.8 (1.76) |
Content-Length: | 2093 |
Connection: | close |
Content-Type: | text/xml; charset=UTF-8 |