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 LedgerBalance| Name | 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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<LedgerBalance>
<GLAccount>sample string 1</GLAccount>
<GLDescription>sample string 2</GLDescription>
<Debit>1.1</Debit>
<DebitFC>1.1</DebitFC>
<Credit>1.1</Credit>
<CreditFC>1.1</CreditFC>
<Quantity>1.1</Quantity>
</LedgerBalance>
<LedgerBalance>
<GLAccount>sample string 1</GLAccount>
<GLDescription>sample string 2</GLDescription>
<Debit>1.1</Debit>
<DebitFC>1.1</DebitFC>
<Credit>1.1</Credit>
<CreditFC>1.1</CreditFC>
<Quantity>1.1</Quantity>
</LedgerBalance>
</ArrayOfLedgerBalance>