API Operations
Description:
The API is used to mark DISPATCH the given Shipment code. The pre-condition is that the shipment must be READY TO SHIP status for the API to return success, for other statuses it will return an error.
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> <soap:Body> <DispatchShippingPackageRequest xmlns=”http://uniware.unicommerce.com/services/“> <ShippingPackageCode>?</ShippingPackageCode> </DispatchShippingPackageRequest> </soap:Body> </soap: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> <soap:Body> <DispatchShippingPackageRequest xmlns=”http://uniware.unicommerce.com/services/“> <ShippingPackageCode>BIRT0159</ShippingPackageCode> </DispatchShippingPackageRequest> </soap:Body> </soap:Envelope> |
API Response:
<soapenv:Envelope SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/“> <SOAP-ENV:Header/> <SOAP-ENV:Body> <DispatchShippingPackageResponse xmlns=”http://uniware.unicommerce.com/services/“> <Successful>True</Successful> </DispatchShippingPackageResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |