GET api/Ledger?ReportDate={ReportDate}
Retruns the Balance of all General Ledgers
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ReportDate |
Date of Report |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Balance of all General Ledgers
Collection of LedgerBalanceName | Description | Type | Additional information |
---|---|---|---|
GLAccount | string |
None. |
|
GLDescription | string |
None. |
|
Debit | decimal number |
None. |
|
DebitFC | decimal number |
None. |
|
Credit | decimal number |
None. |
|
CreditFC | decimal number |
None. |
|
Balance | decimal number |
None. |
|
BalanceFC | decimal number |
None. |
|
Quantity | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "GLAccount": "sample string 1", "GLDescription": "sample string 2", "Debit": 1.1, "DebitFC": 1.1, "Credit": 1.1, "CreditFC": 1.1, "Balance": 0.0, "BalanceFC": 0.0, "Quantity": 1.1 }, { "GLAccount": "sample string 1", "GLDescription": "sample string 2", "Debit": 1.1, "DebitFC": 1.1, "Credit": 1.1, "CreditFC": 1.1, "Balance": 0.0, "BalanceFC": 0.0, "Quantity": 1.1 } ]
application/xml, text/xml
Sample:
<ArrayOfLedgerBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Time.Common.Exact.Models"> <LedgerBalance> <Credit>1.1</Credit> <CreditFC>1.1</CreditFC> <Debit>1.1</Debit> <DebitFC>1.1</DebitFC> <GLAccount>sample string 1</GLAccount> <GLDescription>sample string 2</GLDescription> <Quantity>1.1</Quantity> </LedgerBalance> <LedgerBalance> <Credit>1.1</Credit> <CreditFC>1.1</CreditFC> <Debit>1.1</Debit> <DebitFC>1.1</DebitFC> <GLAccount>sample string 1</GLAccount> <GLDescription>sample string 2</GLDescription> <Quantity>1.1</Quantity> </LedgerBalance> </ArrayOfLedgerBalance>