GET api/Ledger?GLAccount={GLAccount}&ReportDate={ReportDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
GLAccount

string

Required

ReportDate

date

Required

Body Parameters

None.

Response Information

Resource Description

LedgerBalance
NameDescriptionTypeAdditional 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
}

application/xml, text/xml

Sample:
<LedgerBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Time.Common.Exact.Models">
  <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>