InventoryWebService
Click here for a complete list of operations.
getCRETbyID
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/getCRETbyID"
<?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>
<getCRETbyID xmlns="http://tempuri.org/">
<compcode>string</compcode>
<cretno>string</cretno>
<location>string</location>
</getCRETbyID>
</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>
<getCRETbyIDResponse xmlns="http://tempuri.org/">
<getCRETbyIDResult>
<COMPCODE>string</COMPCODE>
<CRET_NO>string</CRET_NO>
<LOCA>string</LOCA>
<CSH_CRD>string</CSH_CRD>
<INV_NO>string</INV_NO>
<INV_TYPE>string</INV_TYPE>
<CUST_CODE>string</CUST_CODE>
<CUST_NAME>string</CUST_NAME>
<TXN_DATE>dateTime</TXN_DATE>
<CRET_DATE>dateTime</CRET_DATE>
<TXN_TIME>string</TXN_TIME>
<REF>string</REF>
<DN_NO>string</DN_NO>
<TOTAL>decimal</TOTAL>
<IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
<TOTAL_AFTER_DISCOUNT>decimal</TOTAL_AFTER_DISCOUNT>
<VAT_AMOUNT>decimal</VAT_AMOUNT>
<NBT_AMOUNT>decimal</NBT_AMOUNT>
<COST_AMOUNT>decimal</COST_AMOUNT>
<DEDUCTIONS>decimal</DEDUCTIONS>
<PAYABLE_AMOUNT>decimal</PAYABLE_AMOUNT>
<PAY_BALANCE>decimal</PAY_BALANCE>
<PAY_STATUS>decimal</PAY_STATUS>
<PAY_IN_PROGRESS>decimal</PAY_IN_PROGRESS>
<VAT_CODE1>string</VAT_CODE1>
<VAT_CODE2>string</VAT_CODE2>
<BRANCH_CODE>string</BRANCH_CODE>
<TERMINAL_ID>string</TERMINAL_ID>
<INVOICE_E>string</INVOICE_E>
<AMOUNT_IN_WORD>string</AMOUNT_IN_WORD>
<USERCODE>string</USERCODE>
<CANCELLED>int</CANCELLED>
<CANCEL_USERCODE>string</CANCEL_USERCODE>
<CANCEL_DATE>dateTime</CANCEL_DATE>
<CANCEL_TIME>string</CANCEL_TIME>
<PRINTED>decimal</PRINTED>
<DISCOUNT>decimal</DISCOUNT>
<DISCOUNT_AMT>decimal</DISCOUNT_AMT>
</getCRETbyIDResult>
</getCRETbyIDResponse>
</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>
<getCRETbyID xmlns="http://tempuri.org/">
<compcode>string</compcode>
<cretno>string</cretno>
<location>string</location>
</getCRETbyID>
</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>
<getCRETbyIDResponse xmlns="http://tempuri.org/">
<getCRETbyIDResult>
<COMPCODE>string</COMPCODE>
<CRET_NO>string</CRET_NO>
<LOCA>string</LOCA>
<CSH_CRD>string</CSH_CRD>
<INV_NO>string</INV_NO>
<INV_TYPE>string</INV_TYPE>
<CUST_CODE>string</CUST_CODE>
<CUST_NAME>string</CUST_NAME>
<TXN_DATE>dateTime</TXN_DATE>
<CRET_DATE>dateTime</CRET_DATE>
<TXN_TIME>string</TXN_TIME>
<REF>string</REF>
<DN_NO>string</DN_NO>
<TOTAL>decimal</TOTAL>
<IS_DISCOUNT_PER>decimal</IS_DISCOUNT_PER>
<TOTAL_AFTER_DISCOUNT>decimal</TOTAL_AFTER_DISCOUNT>
<VAT_AMOUNT>decimal</VAT_AMOUNT>
<NBT_AMOUNT>decimal</NBT_AMOUNT>
<COST_AMOUNT>decimal</COST_AMOUNT>
<DEDUCTIONS>decimal</DEDUCTIONS>
<PAYABLE_AMOUNT>decimal</PAYABLE_AMOUNT>
<PAY_BALANCE>decimal</PAY_BALANCE>
<PAY_STATUS>decimal</PAY_STATUS>
<PAY_IN_PROGRESS>decimal</PAY_IN_PROGRESS>
<VAT_CODE1>string</VAT_CODE1>
<VAT_CODE2>string</VAT_CODE2>
<BRANCH_CODE>string</BRANCH_CODE>
<TERMINAL_ID>string</TERMINAL_ID>
<INVOICE_E>string</INVOICE_E>
<AMOUNT_IN_WORD>string</AMOUNT_IN_WORD>
<USERCODE>string</USERCODE>
<CANCELLED>int</CANCELLED>
<CANCEL_USERCODE>string</CANCEL_USERCODE>
<CANCEL_DATE>dateTime</CANCEL_DATE>
<CANCEL_TIME>string</CANCEL_TIME>
<PRINTED>decimal</PRINTED>
<DISCOUNT>decimal</DISCOUNT>
<DISCOUNT_AMT>decimal</DISCOUNT_AMT>
</getCRETbyIDResult>
</getCRETbyIDResponse>
</soap12:Body>
</soap12:Envelope>