InventoryWebService


Click here for a complete list of operations.

InsertJobMastDetails

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

<?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>
    <InsertJobMastDetails xmlns="http://tempuri.org/">
      <details>
        <COMPCODE>string</COMPCODE>
        <LOCA>string</LOCA>
        <JOB_NO>string</JOB_NO>
        <JOB_TYPE>string</JOB_TYPE>
        <CUST_CODE>string</CUST_CODE>
        <CUST_NAME>string</CUST_NAME>
        <TXN_DATE>dateTime</TXN_DATE>
        <JOB_DATE>dateTime</JOB_DATE>
        <TXN_TIME>string</TXN_TIME>
        <JOB_NOTE>string</JOB_NOTE>
        <BRANCH_CODE>string</BRANCH_CODE>
        <TERMINAL_ID>string</TERMINAL_ID>
        <USERCODE>string</USERCODE>
        <CANCELLED>int</CANCELLED>
        <CANCEL_USERCODE>string</CANCEL_USERCODE>
        <CANCEL_DATE>dateTime</CANCEL_DATE>
        <CANCEL_TIME>string</CANCEL_TIME>
        <APPROVED>int</APPROVED>
        <APPROVE_USERCODE>string</APPROVE_USERCODE>
        <APPROVE_DATE>dateTime</APPROVE_DATE>
        <APPROVE_TIME>string</APPROVE_TIME>
        <SEND2APPROVE>decimal</SEND2APPROVE>
        <SEND2APPROVE_USER>string</SEND2APPROVE_USER>
        <SEND2APPROVE_DATE>dateTime</SEND2APPROVE_DATE>
        <IS_FINISHED>int</IS_FINISHED>
        <FINISHED_BY>string</FINISHED_BY>
        <FINISHED_DATE>dateTime</FINISHED_DATE>
      </details>
      <itemDetails>
        <JOB_DETAIL>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <JOB_NO>string</JOB_NO>
          <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>
        </JOB_DETAIL>
        <JOB_DETAIL>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <JOB_NO>string</JOB_NO>
          <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>
        </JOB_DETAIL>
      </itemDetails>
    </InsertJobMastDetails>
  </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>
    <InsertJobMastDetailsResponse xmlns="http://tempuri.org/">
      <InsertJobMastDetailsResult>string</InsertJobMastDetailsResult>
    </InsertJobMastDetailsResponse>
  </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>
    <InsertJobMastDetails xmlns="http://tempuri.org/">
      <details>
        <COMPCODE>string</COMPCODE>
        <LOCA>string</LOCA>
        <JOB_NO>string</JOB_NO>
        <JOB_TYPE>string</JOB_TYPE>
        <CUST_CODE>string</CUST_CODE>
        <CUST_NAME>string</CUST_NAME>
        <TXN_DATE>dateTime</TXN_DATE>
        <JOB_DATE>dateTime</JOB_DATE>
        <TXN_TIME>string</TXN_TIME>
        <JOB_NOTE>string</JOB_NOTE>
        <BRANCH_CODE>string</BRANCH_CODE>
        <TERMINAL_ID>string</TERMINAL_ID>
        <USERCODE>string</USERCODE>
        <CANCELLED>int</CANCELLED>
        <CANCEL_USERCODE>string</CANCEL_USERCODE>
        <CANCEL_DATE>dateTime</CANCEL_DATE>
        <CANCEL_TIME>string</CANCEL_TIME>
        <APPROVED>int</APPROVED>
        <APPROVE_USERCODE>string</APPROVE_USERCODE>
        <APPROVE_DATE>dateTime</APPROVE_DATE>
        <APPROVE_TIME>string</APPROVE_TIME>
        <SEND2APPROVE>decimal</SEND2APPROVE>
        <SEND2APPROVE_USER>string</SEND2APPROVE_USER>
        <SEND2APPROVE_DATE>dateTime</SEND2APPROVE_DATE>
        <IS_FINISHED>int</IS_FINISHED>
        <FINISHED_BY>string</FINISHED_BY>
        <FINISHED_DATE>dateTime</FINISHED_DATE>
      </details>
      <itemDetails>
        <JOB_DETAIL>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <JOB_NO>string</JOB_NO>
          <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>
        </JOB_DETAIL>
        <JOB_DETAIL>
          <COMPCODE>string</COMPCODE>
          <LOCA>string</LOCA>
          <JOB_NO>string</JOB_NO>
          <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>
        </JOB_DETAIL>
      </itemDetails>
    </InsertJobMastDetails>
  </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>
    <InsertJobMastDetailsResponse xmlns="http://tempuri.org/">
      <InsertJobMastDetailsResult>string</InsertJobMastDetailsResult>
    </InsertJobMastDetailsResponse>
  </soap12:Body>
</soap12:Envelope>