InventoryWebService
Click here for a complete list of operations.
getAllSRETMastbyID
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/getAllSRETMastbyID"
<?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>
<getAllSRETMastbyID xmlns="http://tempuri.org/">
<compcode>string</compcode>
<location>string</location>
<grnno>string</grnno>
</getAllSRETMastbyID>
</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>
<getAllSRETMastbyIDResponse xmlns="http://tempuri.org/">
<getAllSRETMastbyIDResult>
<COMPCODE>string</COMPCODE>
<LOCA>string</LOCA>
<SRET_NO>string</SRET_NO>
<GRN_NO>string</GRN_NO>
<GRN_TYPE>string</GRN_TYPE>
<SUPP_CODE>string</SUPP_CODE>
<SUPP_NAME>string</SUPP_NAME>
<TXN_DATE>dateTime</TXN_DATE>
<GRN_DATE>dateTime</GRN_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>
<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>
</getAllSRETMastbyIDResult>
</getAllSRETMastbyIDResponse>
</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>
<getAllSRETMastbyID xmlns="http://tempuri.org/">
<compcode>string</compcode>
<location>string</location>
<grnno>string</grnno>
</getAllSRETMastbyID>
</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>
<getAllSRETMastbyIDResponse xmlns="http://tempuri.org/">
<getAllSRETMastbyIDResult>
<COMPCODE>string</COMPCODE>
<LOCA>string</LOCA>
<SRET_NO>string</SRET_NO>
<GRN_NO>string</GRN_NO>
<GRN_TYPE>string</GRN_TYPE>
<SUPP_CODE>string</SUPP_CODE>
<SUPP_NAME>string</SUPP_NAME>
<TXN_DATE>dateTime</TXN_DATE>
<GRN_DATE>dateTime</GRN_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>
<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>
</getAllSRETMastbyIDResult>
</getAllSRETMastbyIDResponse>
</soap12:Body>
</soap12:Envelope>