InventoryWebService


Click here for a complete list of operations.

GetAllStockHistory

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/GetAllStockHistory"

<?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>
    <GetAllStockHistory xmlns="http://tempuri.org/">
      <compcode>string</compcode>
      <loca>string</loca>
      <userCode>string</userCode>
    </GetAllStockHistory>
  </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>
    <GetAllStockHistoryResponse xmlns="http://tempuri.org/">
      <GetAllStockHistoryResult>
        <STOCK_HISTORY>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <ITEM>string</ITEM>
          <TXN_TYPE>string</TXN_TYPE>
          <DOC_NO>string</DOC_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA_TO>string</LOCA_TO>
          <UNIT>string</UNIT>
          <LOCA_TO_DESC>string</LOCA_TO_DESC>
          <TXN_DATE>dateTime</TXN_DATE>
          <SEQ_NO>decimal</SEQ_NO>
          <REFNO>string</REFNO>
          <PURCHASE_PRICE>decimal</PURCHASE_PRICE>
          <COST_PRICE>decimal</COST_PRICE>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <DOC_BAL_BULK_QTY>decimal</DOC_BAL_BULK_QTY>
          <DOC_BAL_LOOSE_QTY>decimal</DOC_BAL_LOOSE_QTY>
          <STOCK_TYPE>string</STOCK_TYPE>
          <IS_MONTH_END>int</IS_MONTH_END>
          <SEQ_NO_FULL>decimal</SEQ_NO_FULL>
          <USERCODE>string</USERCODE>
        </STOCK_HISTORY>
        <STOCK_HISTORY>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <ITEM>string</ITEM>
          <TXN_TYPE>string</TXN_TYPE>
          <DOC_NO>string</DOC_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA_TO>string</LOCA_TO>
          <UNIT>string</UNIT>
          <LOCA_TO_DESC>string</LOCA_TO_DESC>
          <TXN_DATE>dateTime</TXN_DATE>
          <SEQ_NO>decimal</SEQ_NO>
          <REFNO>string</REFNO>
          <PURCHASE_PRICE>decimal</PURCHASE_PRICE>
          <COST_PRICE>decimal</COST_PRICE>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <DOC_BAL_BULK_QTY>decimal</DOC_BAL_BULK_QTY>
          <DOC_BAL_LOOSE_QTY>decimal</DOC_BAL_LOOSE_QTY>
          <STOCK_TYPE>string</STOCK_TYPE>
          <IS_MONTH_END>int</IS_MONTH_END>
          <SEQ_NO_FULL>decimal</SEQ_NO_FULL>
          <USERCODE>string</USERCODE>
        </STOCK_HISTORY>
      </GetAllStockHistoryResult>
    </GetAllStockHistoryResponse>
  </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>
    <GetAllStockHistory xmlns="http://tempuri.org/">
      <compcode>string</compcode>
      <loca>string</loca>
      <userCode>string</userCode>
    </GetAllStockHistory>
  </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>
    <GetAllStockHistoryResponse xmlns="http://tempuri.org/">
      <GetAllStockHistoryResult>
        <STOCK_HISTORY>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <ITEM>string</ITEM>
          <TXN_TYPE>string</TXN_TYPE>
          <DOC_NO>string</DOC_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA_TO>string</LOCA_TO>
          <UNIT>string</UNIT>
          <LOCA_TO_DESC>string</LOCA_TO_DESC>
          <TXN_DATE>dateTime</TXN_DATE>
          <SEQ_NO>decimal</SEQ_NO>
          <REFNO>string</REFNO>
          <PURCHASE_PRICE>decimal</PURCHASE_PRICE>
          <COST_PRICE>decimal</COST_PRICE>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <DOC_BAL_BULK_QTY>decimal</DOC_BAL_BULK_QTY>
          <DOC_BAL_LOOSE_QTY>decimal</DOC_BAL_LOOSE_QTY>
          <STOCK_TYPE>string</STOCK_TYPE>
          <IS_MONTH_END>int</IS_MONTH_END>
          <SEQ_NO_FULL>decimal</SEQ_NO_FULL>
          <USERCODE>string</USERCODE>
        </STOCK_HISTORY>
        <STOCK_HISTORY>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <ITEM>string</ITEM>
          <TXN_TYPE>string</TXN_TYPE>
          <DOC_NO>string</DOC_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA_TO>string</LOCA_TO>
          <UNIT>string</UNIT>
          <LOCA_TO_DESC>string</LOCA_TO_DESC>
          <TXN_DATE>dateTime</TXN_DATE>
          <SEQ_NO>decimal</SEQ_NO>
          <REFNO>string</REFNO>
          <PURCHASE_PRICE>decimal</PURCHASE_PRICE>
          <COST_PRICE>decimal</COST_PRICE>
          <BULK_UNIT>string</BULK_UNIT>
          <LOOSE_UNIT>string</LOOSE_UNIT>
          <BULK_QTY>decimal</BULK_QTY>
          <LOOSE_QTY>decimal</LOOSE_QTY>
          <DOC_BAL_BULK_QTY>decimal</DOC_BAL_BULK_QTY>
          <DOC_BAL_LOOSE_QTY>decimal</DOC_BAL_LOOSE_QTY>
          <STOCK_TYPE>string</STOCK_TYPE>
          <IS_MONTH_END>int</IS_MONTH_END>
          <SEQ_NO_FULL>decimal</SEQ_NO_FULL>
          <USERCODE>string</USERCODE>
        </STOCK_HISTORY>
      </GetAllStockHistoryResult>
    </GetAllStockHistoryResponse>
  </soap12:Body>
</soap12:Envelope>