InventoryWebService
Click here for a complete list of operations.
GetCustomerOutstandingById
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/GetCustomerOutstandingById"
<?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>
<GetCustomerOutstandingById xmlns="http://tempuri.org/">
<companyId>string</companyId>
<custCode>string</custCode>
</GetCustomerOutstandingById>
</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>
<GetCustomerOutstandingByIdResponse xmlns="http://tempuri.org/">
<GetCustomerOutstandingByIdResult>
<CUSTOMER_LEDGER>
<COMPCODE>string</COMPCODE>
<CUST_CODE>string</CUST_CODE>
<TXN_TYPE>string</TXN_TYPE>
<DOC_NO>string</DOC_NO>
<CSH_CRD>string</CSH_CRD>
<LOCA>string</LOCA>
<TXN_DATE>dateTime</TXN_DATE>
<SEQ_NO>decimal</SEQ_NO>
<REFNO>string</REFNO>
<TXN_TOTAL>decimal</TXN_TOTAL>
<VAT_AMT>decimal</VAT_AMT>
<NBT_AMT>decimal</NBT_AMT>
<COST_AMT>decimal</COST_AMT>
<PAYABLE_AMT>decimal</PAYABLE_AMT>
<PAYABLE_BALANCE>decimal</PAYABLE_BALANCE>
<SETTLED_RECEIPT_NO>string</SETTLED_RECEIPT_NO>
<SETTLED_DATE>dateTime</SETTLED_DATE>
<SETTLED_USER>string</SETTLED_USER>
</CUSTOMER_LEDGER>
<CUSTOMER_LEDGER>
<COMPCODE>string</COMPCODE>
<CUST_CODE>string</CUST_CODE>
<TXN_TYPE>string</TXN_TYPE>
<DOC_NO>string</DOC_NO>
<CSH_CRD>string</CSH_CRD>
<LOCA>string</LOCA>
<TXN_DATE>dateTime</TXN_DATE>
<SEQ_NO>decimal</SEQ_NO>
<REFNO>string</REFNO>
<TXN_TOTAL>decimal</TXN_TOTAL>
<VAT_AMT>decimal</VAT_AMT>
<NBT_AMT>decimal</NBT_AMT>
<COST_AMT>decimal</COST_AMT>
<PAYABLE_AMT>decimal</PAYABLE_AMT>
<PAYABLE_BALANCE>decimal</PAYABLE_BALANCE>
<SETTLED_RECEIPT_NO>string</SETTLED_RECEIPT_NO>
<SETTLED_DATE>dateTime</SETTLED_DATE>
<SETTLED_USER>string</SETTLED_USER>
</CUSTOMER_LEDGER>
</GetCustomerOutstandingByIdResult>
</GetCustomerOutstandingByIdResponse>
</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>
<GetCustomerOutstandingById xmlns="http://tempuri.org/">
<companyId>string</companyId>
<custCode>string</custCode>
</GetCustomerOutstandingById>
</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>
<GetCustomerOutstandingByIdResponse xmlns="http://tempuri.org/">
<GetCustomerOutstandingByIdResult>
<CUSTOMER_LEDGER>
<COMPCODE>string</COMPCODE>
<CUST_CODE>string</CUST_CODE>
<TXN_TYPE>string</TXN_TYPE>
<DOC_NO>string</DOC_NO>
<CSH_CRD>string</CSH_CRD>
<LOCA>string</LOCA>
<TXN_DATE>dateTime</TXN_DATE>
<SEQ_NO>decimal</SEQ_NO>
<REFNO>string</REFNO>
<TXN_TOTAL>decimal</TXN_TOTAL>
<VAT_AMT>decimal</VAT_AMT>
<NBT_AMT>decimal</NBT_AMT>
<COST_AMT>decimal</COST_AMT>
<PAYABLE_AMT>decimal</PAYABLE_AMT>
<PAYABLE_BALANCE>decimal</PAYABLE_BALANCE>
<SETTLED_RECEIPT_NO>string</SETTLED_RECEIPT_NO>
<SETTLED_DATE>dateTime</SETTLED_DATE>
<SETTLED_USER>string</SETTLED_USER>
</CUSTOMER_LEDGER>
<CUSTOMER_LEDGER>
<COMPCODE>string</COMPCODE>
<CUST_CODE>string</CUST_CODE>
<TXN_TYPE>string</TXN_TYPE>
<DOC_NO>string</DOC_NO>
<CSH_CRD>string</CSH_CRD>
<LOCA>string</LOCA>
<TXN_DATE>dateTime</TXN_DATE>
<SEQ_NO>decimal</SEQ_NO>
<REFNO>string</REFNO>
<TXN_TOTAL>decimal</TXN_TOTAL>
<VAT_AMT>decimal</VAT_AMT>
<NBT_AMT>decimal</NBT_AMT>
<COST_AMT>decimal</COST_AMT>
<PAYABLE_AMT>decimal</PAYABLE_AMT>
<PAYABLE_BALANCE>decimal</PAYABLE_BALANCE>
<SETTLED_RECEIPT_NO>string</SETTLED_RECEIPT_NO>
<SETTLED_DATE>dateTime</SETTLED_DATE>
<SETTLED_USER>string</SETTLED_USER>
</CUSTOMER_LEDGER>
</GetCustomerOutstandingByIdResult>
</GetCustomerOutstandingByIdResponse>
</soap12:Body>
</soap12:Envelope>