InventoryWebService


Click here for a complete list of operations.

GetCartItemDetailsbyCartId

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: tciws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetCartItemDetailsbyCartId"

<?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>
    <GetCartItemDetailsbyCartId xmlns="http://tempuri.org/">
      <compcode>string</compcode>
      <cartID>guid</cartID>
    </GetCartItemDetailsbyCartId>
  </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>
    <GetCartItemDetailsbyCartIdResponse xmlns="http://tempuri.org/">
      <GetCartItemDetailsbyCartIdResult>
        <INV_DETAIL_CART>
          <CARTID>guid</CARTID>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <CSH_CRD>string</CSH_CRD>
          <INV_NO>string</INV_NO>
          <INV_TYPE>string</INV_TYPE>
          <ITEM_LOCA>string</ITEM_LOCA>
          <ITEM>string</ITEM>
          <ITEM_DESC>string</ITEM_DESC>
          <UNIT>string</UNIT>
          <QTY>decimal</QTY>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_SALES_PRICE>decimal</BULK_SALES_PRICE>
          <LOOSE_SALES_PRICE>decimal</LOOSE_SALES_PRICE>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
          <DISCOUNT>decimal</DISCOUNT>
          <TOTAL>decimal</TOTAL>
          <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
          <SEQ_NO>decimal</SEQ_NO>
          <NO_OF_PIECES>decimal</NO_OF_PIECES>
          <BULK_QTY_BALANCE>decimal</BULK_QTY_BALANCE>
          <LOOSE_QTY_BALANCE>decimal</LOOSE_QTY_BALANCE>
          <WARRANTY_STATEMENT>string</WARRANTY_STATEMENT>
          <WARRANTY_PERIOD>decimal</WARRANTY_PERIOD>
        </INV_DETAIL_CART>
        <INV_DETAIL_CART>
          <CARTID>guid</CARTID>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <CSH_CRD>string</CSH_CRD>
          <INV_NO>string</INV_NO>
          <INV_TYPE>string</INV_TYPE>
          <ITEM_LOCA>string</ITEM_LOCA>
          <ITEM>string</ITEM>
          <ITEM_DESC>string</ITEM_DESC>
          <UNIT>string</UNIT>
          <QTY>decimal</QTY>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_SALES_PRICE>decimal</BULK_SALES_PRICE>
          <LOOSE_SALES_PRICE>decimal</LOOSE_SALES_PRICE>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
          <DISCOUNT>decimal</DISCOUNT>
          <TOTAL>decimal</TOTAL>
          <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
          <SEQ_NO>decimal</SEQ_NO>
          <NO_OF_PIECES>decimal</NO_OF_PIECES>
          <BULK_QTY_BALANCE>decimal</BULK_QTY_BALANCE>
          <LOOSE_QTY_BALANCE>decimal</LOOSE_QTY_BALANCE>
          <WARRANTY_STATEMENT>string</WARRANTY_STATEMENT>
          <WARRANTY_PERIOD>decimal</WARRANTY_PERIOD>
        </INV_DETAIL_CART>
      </GetCartItemDetailsbyCartIdResult>
    </GetCartItemDetailsbyCartIdResponse>
  </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: tciws.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>
    <GetCartItemDetailsbyCartId xmlns="http://tempuri.org/">
      <compcode>string</compcode>
      <cartID>guid</cartID>
    </GetCartItemDetailsbyCartId>
  </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>
    <GetCartItemDetailsbyCartIdResponse xmlns="http://tempuri.org/">
      <GetCartItemDetailsbyCartIdResult>
        <INV_DETAIL_CART>
          <CARTID>guid</CARTID>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <CSH_CRD>string</CSH_CRD>
          <INV_NO>string</INV_NO>
          <INV_TYPE>string</INV_TYPE>
          <ITEM_LOCA>string</ITEM_LOCA>
          <ITEM>string</ITEM>
          <ITEM_DESC>string</ITEM_DESC>
          <UNIT>string</UNIT>
          <QTY>decimal</QTY>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_SALES_PRICE>decimal</BULK_SALES_PRICE>
          <LOOSE_SALES_PRICE>decimal</LOOSE_SALES_PRICE>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
          <DISCOUNT>decimal</DISCOUNT>
          <TOTAL>decimal</TOTAL>
          <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
          <SEQ_NO>decimal</SEQ_NO>
          <NO_OF_PIECES>decimal</NO_OF_PIECES>
          <BULK_QTY_BALANCE>decimal</BULK_QTY_BALANCE>
          <LOOSE_QTY_BALANCE>decimal</LOOSE_QTY_BALANCE>
          <WARRANTY_STATEMENT>string</WARRANTY_STATEMENT>
          <WARRANTY_PERIOD>decimal</WARRANTY_PERIOD>
        </INV_DETAIL_CART>
        <INV_DETAIL_CART>
          <CARTID>guid</CARTID>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <CSH_CRD>string</CSH_CRD>
          <INV_NO>string</INV_NO>
          <INV_TYPE>string</INV_TYPE>
          <ITEM_LOCA>string</ITEM_LOCA>
          <ITEM>string</ITEM>
          <ITEM_DESC>string</ITEM_DESC>
          <UNIT>string</UNIT>
          <QTY>decimal</QTY>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_SALES_PRICE>decimal</BULK_SALES_PRICE>
          <LOOSE_SALES_PRICE>decimal</LOOSE_SALES_PRICE>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
          <DISCOUNT>decimal</DISCOUNT>
          <TOTAL>decimal</TOTAL>
          <DISCOUNT_AMT>decimal</DISCOUNT_AMT>
          <SEQ_NO>decimal</SEQ_NO>
          <NO_OF_PIECES>decimal</NO_OF_PIECES>
          <BULK_QTY_BALANCE>decimal</BULK_QTY_BALANCE>
          <LOOSE_QTY_BALANCE>decimal</LOOSE_QTY_BALANCE>
          <WARRANTY_STATEMENT>string</WARRANTY_STATEMENT>
          <WARRANTY_PERIOD>decimal</WARRANTY_PERIOD>
        </INV_DETAIL_CART>
      </GetCartItemDetailsbyCartIdResult>
    </GetCartItemDetailsbyCartIdResponse>
  </soap12:Body>
</soap12:Envelope>