InventoryWebService
Click here for a complete list of operations.
getCart
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /InventoryWebService.asmx HTTP/1.1
Host: laluws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/getCart"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getCart xmlns="http://tempuri.org/">
<cartID>guid</cartID>
</getCart>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<getCartResponse xmlns="http://tempuri.org/">
<getCartResult>
<COMPANY_ID>guid</COMPANY_ID>
<CART_ID>guid</CART_ID>
<COMPCODE>string</COMPCODE>
<USER_ID>guid</USER_ID>
<CART_DATE>dateTime</CART_DATE>
<SUBTOTAL_AMOUNT>decimal</SUBTOTAL_AMOUNT>
<DELIVERY_CHARGE>decimal</DELIVERY_CHARGE>
<BANK_CHARGE>decimal</BANK_CHARGE>
<DISCOUNT_AMOUNT>decimal</DISCOUNT_AMOUNT>
<CART_AMOUNT>decimal</CART_AMOUNT>
<MERCHANT_REFERENCE>string</MERCHANT_REFERENCE>
<MERCHANT_REFERENCE_GUID>guid</MERCHANT_REFERENCE_GUID>
<MERCHANT_CART_DATE>dateTime</MERCHANT_CART_DATE>
<TXN_REFERENCE>string</TXN_REFERENCE>
<TXN_STATUS>string</TXN_STATUS>
<TXN_CONFIRMATION>string</TXN_CONFIRMATION>
<DEVICE_REFERENCE>string</DEVICE_REFERENCE>
<TXN_PAYMODE>string</TXN_PAYMODE>
<FIRST_NAME>string</FIRST_NAME>
<LAST_NAME>string</LAST_NAME>
<ADDRESS1>string</ADDRESS1>
<ADDRESS2>string</ADDRESS2>
<ADDRESS3>string</ADDRESS3>
<CITY>string</CITY>
<MOBILE_NO>string</MOBILE_NO>
<PHONE_NO>string</PHONE_NO>
<EMAIL>string</EMAIL>
<NO_OF_ITEMS>decimal</NO_OF_ITEMS>
</getCartResult>
</getCartResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /InventoryWebService.asmx HTTP/1.1
Host: laluws.compulinerp.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<getCart xmlns="http://tempuri.org/">
<cartID>guid</cartID>
</getCart>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<getCartResponse xmlns="http://tempuri.org/">
<getCartResult>
<COMPANY_ID>guid</COMPANY_ID>
<CART_ID>guid</CART_ID>
<COMPCODE>string</COMPCODE>
<USER_ID>guid</USER_ID>
<CART_DATE>dateTime</CART_DATE>
<SUBTOTAL_AMOUNT>decimal</SUBTOTAL_AMOUNT>
<DELIVERY_CHARGE>decimal</DELIVERY_CHARGE>
<BANK_CHARGE>decimal</BANK_CHARGE>
<DISCOUNT_AMOUNT>decimal</DISCOUNT_AMOUNT>
<CART_AMOUNT>decimal</CART_AMOUNT>
<MERCHANT_REFERENCE>string</MERCHANT_REFERENCE>
<MERCHANT_REFERENCE_GUID>guid</MERCHANT_REFERENCE_GUID>
<MERCHANT_CART_DATE>dateTime</MERCHANT_CART_DATE>
<TXN_REFERENCE>string</TXN_REFERENCE>
<TXN_STATUS>string</TXN_STATUS>
<TXN_CONFIRMATION>string</TXN_CONFIRMATION>
<DEVICE_REFERENCE>string</DEVICE_REFERENCE>
<TXN_PAYMODE>string</TXN_PAYMODE>
<FIRST_NAME>string</FIRST_NAME>
<LAST_NAME>string</LAST_NAME>
<ADDRESS1>string</ADDRESS1>
<ADDRESS2>string</ADDRESS2>
<ADDRESS3>string</ADDRESS3>
<CITY>string</CITY>
<MOBILE_NO>string</MOBILE_NO>
<PHONE_NO>string</PHONE_NO>
<EMAIL>string</EMAIL>
<NO_OF_ITEMS>decimal</NO_OF_ITEMS>
</getCartResult>
</getCartResponse>
</soap12:Body>
</soap12:Envelope>