GET api/Accounting/LedgerAccounts/Balance?year={year}&month={month}&fromAccountNo={fromAccountNo}&toAccountNo={toAccountNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

None.

month

integer

None.

fromAccountNo

integer

None.

toAccountNo

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LedgerAccountBalance
NameDescriptionTypeAdditional information
accountNo

integer

None.

year

integer

None.

month

integer

None.

debitIB

decimal number

None.

creditIB

decimal number

None.

debitChange

decimal number

None.

creditChange

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "accountNo": 1,
    "year": 2,
    "month": 3,
    "debitIB": 4.0,
    "creditIB": 5.0,
    "debitChange": 6.0,
    "creditChange": 7.0
  },
  {
    "accountNo": 1,
    "year": 2,
    "month": 3,
    "debitIB": 4.0,
    "creditIB": 5.0,
    "debitChange": 6.0,
    "creditChange": 7.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfLedgerAccountBalance xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <LedgerAccountBalance>
    <accountNo>1</accountNo>
    <year>2</year>
    <month>3</month>
    <debitIB>4</debitIB>
    <creditIB>5</creditIB>
    <debitChange>6</debitChange>
    <creditChange>7</creditChange>
  </LedgerAccountBalance>
  <LedgerAccountBalance>
    <accountNo>1</accountNo>
    <year>2</year>
    <month>3</month>
    <debitIB>4</debitIB>
    <creditIB>5</creditIB>
    <debitChange>6</debitChange>
    <creditChange>7</creditChange>
  </LedgerAccountBalance>
</ArrayOfLedgerAccountBalance>