Service
Click here for a complete list of operations.
Get_Ledger_Transactions
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 /Service.asmx HTTP/1.1
Host: franksalt.premiumsolutions.com.mt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://franksalt.premiumsolutions.com.mt/Get_Ledger_Transactions"
<?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>
<Get_Ledger_Transactions xmlns="https://franksalt.premiumsolutions.com.mt">
<pSessionID>string</pSessionID>
<pLedgerType>SalesLedger or PurchaseLedger or CashBook or JobLedger or FixedAssets or AllLedgers</pLedgerType>
<pCode>string</pCode>
<pBroughtFwdDate>dateTime</pBroughtFwdDate>
<pCutOffDate>dateTime</pCutOffDate>
</Get_Ledger_Transactions>
</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>
<Get_Ledger_TransactionsResponse xmlns="https://franksalt.premiumsolutions.com.mt">
<Get_Ledger_TransactionsResult>
<WS_LedgerTransaction>
<TransactionDate>dateTime</TransactionDate>
<CurrencyCode>string</CurrencyCode>
<CurrencyPrefix>string</CurrencyPrefix>
<InvoiceNo>string</InvoiceNo>
<ExternalRef>string</ExternalRef>
<Description>string</Description>
<TransactionValue>decimal</TransactionValue>
<TransactionValueBC>decimal</TransactionValueBC>
<OutstandingAmount>decimal</OutstandingAmount>
<PostedDate>dateTime</PostedDate>
<PostedBy>string</PostedBy>
<PostingBatchNo>int</PostingBatchNo>
<PostingTransactionNo>int</PostingTransactionNo>
<ReversedBatchNo>int</ReversedBatchNo>
<ReversingBatchNo>int</ReversingBatchNo>
<RunningBalance>decimal</RunningBalance>
<RunningBalanceBC>decimal</RunningBalanceBC>
<TransactionTypeID>int</TransactionTypeID>
<TransactionTypeCode>string</TransactionTypeCode>
<TransactionTypeName>string</TransactionTypeName>
</WS_LedgerTransaction>
<WS_LedgerTransaction>
<TransactionDate>dateTime</TransactionDate>
<CurrencyCode>string</CurrencyCode>
<CurrencyPrefix>string</CurrencyPrefix>
<InvoiceNo>string</InvoiceNo>
<ExternalRef>string</ExternalRef>
<Description>string</Description>
<TransactionValue>decimal</TransactionValue>
<TransactionValueBC>decimal</TransactionValueBC>
<OutstandingAmount>decimal</OutstandingAmount>
<PostedDate>dateTime</PostedDate>
<PostedBy>string</PostedBy>
<PostingBatchNo>int</PostingBatchNo>
<PostingTransactionNo>int</PostingTransactionNo>
<ReversedBatchNo>int</ReversedBatchNo>
<ReversingBatchNo>int</ReversingBatchNo>
<RunningBalance>decimal</RunningBalance>
<RunningBalanceBC>decimal</RunningBalanceBC>
<TransactionTypeID>int</TransactionTypeID>
<TransactionTypeCode>string</TransactionTypeCode>
<TransactionTypeName>string</TransactionTypeName>
</WS_LedgerTransaction>
</Get_Ledger_TransactionsResult>
</Get_Ledger_TransactionsResponse>
</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 /Service.asmx HTTP/1.1 Host: franksalt.premiumsolutions.com.mt 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 /> </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 /> </soap12:Envelope>