InventoryWebService


Click here for a complete list of operations.

InsertLocationDetails

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

<?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>
    <InsertLocationDetails xmlns="http://tempuri.org/">
      <info>
        <COMPCODE>string</COMPCODE>
        <LOCA_CODE>string</LOCA_CODE>
        <LOCA_DESCRIPT>string</LOCA_DESCRIPT>
        <LOCA_LABEL>string</LOCA_LABEL>
        <PHY_NO>string</PHY_NO>
        <INV_NO>string</INV_NO>
        <CASH_INV_NO>string</CASH_INV_NO>
        <CREDIT_INV_NO>string</CREDIT_INV_NO>
        <GRN_NO>string</GRN_NO>
        <CUTNO>string</CUTNO>
        <TRANSNO>string</TRANSNO>
        <ADJ_NO>string</ADJ_NO>
        <CRET_NO>string</CRET_NO>
        <PO_NO>string</PO_NO>
        <JOB_NO>string</JOB_NO>
        <QUOTE_NO>string</QUOTE_NO>
        <SRET_NO>string</SRET_NO>
        <LOCA_TYPE>string</LOCA_TYPE>
        <CSH_NO>string</CSH_NO>
        <CSV_NO>string</CSV_NO>
        <CSS_NO>string</CSS_NO>
        <CRD_NO>string</CRD_NO>
        <CRV_NO>string</CRV_NO>
        <CRS_NO>string</CRS_NO>
        <FixedDiscount>decimal</FixedDiscount>
        <LOCA_TXN_LABEL>string</LOCA_TXN_LABEL>
        <LOCA_TXN_TABLE>string</LOCA_TXN_TABLE>
        <SITE_ISSUE>string</SITE_ISSUE>
        <SITE_RETURN>string</SITE_RETURN>
        <DCR>string</DCR>
        <DCR_CASH>string</DCR_CASH>
        <DCR_CREDIT>string</DCR_CREDIT>
        <JOBFILE_NAME>string</JOBFILE_NAME>
        <JOB_NAME>string</JOB_NAME>
        <DRET_NO>string</DRET_NO>
        <GLCODE>string</GLCODE>
        <HCSVAT_NO>decimal</HCSVAT_NO>
        <IRN_NO>decimal</IRN_NO>
        <IRNVAT_NO>decimal</IRNVAT_NO>
        <LOST_NO>decimal</LOST_NO>
        <HC_NO>decimal</HC_NO>
        <HCVAT_NO>decimal</HCVAT_NO>
        <REFDEPO_SVAT>string</REFDEPO_SVAT>
        <REFDEPO_VAT>string</REFDEPO_VAT>
        <REFDEPO>string</REFDEPO>
        <HC_REC_NO>int</HC_REC_NO>
        <IS_LOCA_WISE_APPROVE_REQUIRED>decimal</IS_LOCA_WISE_APPROVE_REQUIRED>
      </info>
    </InsertLocationDetails>
  </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>
    <InsertLocationDetailsResponse xmlns="http://tempuri.org/">
      <InsertLocationDetailsResult>boolean</InsertLocationDetailsResult>
    </InsertLocationDetailsResponse>
  </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>
    <InsertLocationDetails xmlns="http://tempuri.org/">
      <info>
        <COMPCODE>string</COMPCODE>
        <LOCA_CODE>string</LOCA_CODE>
        <LOCA_DESCRIPT>string</LOCA_DESCRIPT>
        <LOCA_LABEL>string</LOCA_LABEL>
        <PHY_NO>string</PHY_NO>
        <INV_NO>string</INV_NO>
        <CASH_INV_NO>string</CASH_INV_NO>
        <CREDIT_INV_NO>string</CREDIT_INV_NO>
        <GRN_NO>string</GRN_NO>
        <CUTNO>string</CUTNO>
        <TRANSNO>string</TRANSNO>
        <ADJ_NO>string</ADJ_NO>
        <CRET_NO>string</CRET_NO>
        <PO_NO>string</PO_NO>
        <JOB_NO>string</JOB_NO>
        <QUOTE_NO>string</QUOTE_NO>
        <SRET_NO>string</SRET_NO>
        <LOCA_TYPE>string</LOCA_TYPE>
        <CSH_NO>string</CSH_NO>
        <CSV_NO>string</CSV_NO>
        <CSS_NO>string</CSS_NO>
        <CRD_NO>string</CRD_NO>
        <CRV_NO>string</CRV_NO>
        <CRS_NO>string</CRS_NO>
        <FixedDiscount>decimal</FixedDiscount>
        <LOCA_TXN_LABEL>string</LOCA_TXN_LABEL>
        <LOCA_TXN_TABLE>string</LOCA_TXN_TABLE>
        <SITE_ISSUE>string</SITE_ISSUE>
        <SITE_RETURN>string</SITE_RETURN>
        <DCR>string</DCR>
        <DCR_CASH>string</DCR_CASH>
        <DCR_CREDIT>string</DCR_CREDIT>
        <JOBFILE_NAME>string</JOBFILE_NAME>
        <JOB_NAME>string</JOB_NAME>
        <DRET_NO>string</DRET_NO>
        <GLCODE>string</GLCODE>
        <HCSVAT_NO>decimal</HCSVAT_NO>
        <IRN_NO>decimal</IRN_NO>
        <IRNVAT_NO>decimal</IRNVAT_NO>
        <LOST_NO>decimal</LOST_NO>
        <HC_NO>decimal</HC_NO>
        <HCVAT_NO>decimal</HCVAT_NO>
        <REFDEPO_SVAT>string</REFDEPO_SVAT>
        <REFDEPO_VAT>string</REFDEPO_VAT>
        <REFDEPO>string</REFDEPO>
        <HC_REC_NO>int</HC_REC_NO>
        <IS_LOCA_WISE_APPROVE_REQUIRED>decimal</IS_LOCA_WISE_APPROVE_REQUIRED>
      </info>
    </InsertLocationDetails>
  </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>
    <InsertLocationDetailsResponse xmlns="http://tempuri.org/">
      <InsertLocationDetailsResult>boolean</InsertLocationDetailsResult>
    </InsertLocationDetailsResponse>
  </soap12:Body>
</soap12:Envelope>