API Operations
Description:
The API is used to the inventory snapshot of your warehouse, which implies that it will carry the inventory count of product SKU placed in the warehose, irrespective of whether it is in stock or even out of stock.
API:
<soapenv:Envelope xmlns:ser=”http://uniware.unicommerce.com/services/“ xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/“> <soapenv:Header> <wsse:Security xmlns:wsse=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd“ xmlns:wsu=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd” soapenv:mustUnderstand=”1″> <wsse:UsernameToken wsu:Id=”UsernameToken-1″> <wsse:Username></wsse:Username> <wsse:Password Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText“></wsse:Password> <wsse:Nonce EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary“>HdMl9CcEHxcEQjlVeB4eOg==</wsse:Nonce> <wsu:Created /> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ser:GetInventorySnapshotRequest> <ser:ItemTypes> <!–Zero or more repetitions:–> <ser:ItemType> <ser:ItemSKU>?</ser:ItemSKU> </ser:ItemType> </ser:ItemTypes> <ser:UpdatedSinceInMinutes>60</ser:UpdatedSinceInMinutes> </ser:GetInventorySnapshotRequest> </soapenv:Body> </soapenv:Envelope> |
API Parameters:
API Request:
<soapenv:Envelope xmlns:ser=”http://uniware.unicommerce.com/services/“ xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/“> <soapenv:Header> <wsse:Security xmlns:wsse=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd“ xmlns:wsu=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd” soapenv:mustUnderstand=”1″> <wsse:UsernameToken wsu:Id=”UsernameToken-1″> <wsse:Username></wsse:Username> <wsse:Password Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText“></wsse:Password> <wsse:Nonce EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary“>HdMl9CcEHxcEQjlVeB4eOg==</wsse:Nonce> <wsu:Created /> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ser:GetInventorySnapshotRequest> <ser:ItemTypes> <!–Zero or more repetitions:–> <ser:ItemType> <ser:ItemSKU>RRR02</ser:ItemSKU> </ser:ItemType> </ser:ItemTypes> <ser:UpdatedSinceInMinutes>60</ser:UpdatedSinceInMinutes> </ser:GetInventorySnapshotRequest> </soapenv:Body> </soapenv:Envelope> |
API Response:
<soapenv:Envelope SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/“> <SOAP-ENV:Header/> SOAP-ENV:Body> <GetInventorySnapshotResponse xmlns=”http://uniware.unicommerce.com/services/”>; <Successful>true</Successful> <InventorySnapshots> <InventorySnapshot> <ItemSKU>RRR02</ItemSKU> <Inventory>272</Inventory> <OpenSale>0</OpenSale> <OpenPurchase>22</OpenPurchase> <PutawayPending>0</PutawayPending> <InventoryBlocked>4</InventoryBlocked> </InventorySnapshot> </InventorySnapshots> </GetInventorySnapshotResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |