API Operations
Description:
The API is used to create invoice for the shipment passed. It will also allocate the Shipping provider. Thus, post this action the shipment status will be “PACKED”.
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> <CreateInvoiceAndAllocateShippingProviderRequest xmlns=”http://uniware.unicommerce.com/services/“> <ShippingPackageCode>?</ShippingPackageCode> </CreateInvoiceAndAllocateShippingProviderRequest> </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> <CreateInvoiceAndAllocateShippingProviderRequest xmlns=”http://uniware.unicommerce.com/services/“> <ShippingPackageCode>BI00159</ShippingPackageCode> </CreateInvoiceAndAllocateShippingProviderRequest> </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> <CreateInvoiceAndAllocateShippingProviderResponse xmlns=”http://uniware.unicommerce.com/services/“> <Successful>true</Successful> <InvoiceCode>RBI00ER23</InvoiceCode> <ShippingPackageCode>BI00159</ShippingPackageCode> <ShippingProviderCode>ATS</ShippingProviderCode> </CreateInvoiceAndAllocateShippingProviderResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |