GET {opco}/api/v1/GeneralLedger/Accounts({generalLedgerAccountId})/Inquiry?startDate={startDate}&endDate={endDate}&branchIds={branchIds}&territoryIds={territoryIds}&source={source}&subledgerId={subledgerId}&pageNumber={pageNumber}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
generalLedgerAccountId

string

Required

startDate

string

Required

endDate

string

Required

branchIds

string

Default value is

territoryIds

string

Default value is

source

string

None.

subledgerId

string

Default value is

pageNumber

integer

Default value is 1

pageSize

integer

Default value is 10

opco

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of GLAccountInfo
NameDescriptionTypeAdditional information
Source

string

None.

PostDate

date

None.

DebitAmount

decimal number

None.

CreditAmount

decimal number

None.

Balance

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "source": "sample string 1",
    "postDate": "2024-10-01T02:28:20.8134818-12:00",
    "debitAmount": 1.0,
    "creditAmount": 1.0,
    "balance": 1.0
  },
  {
    "source": "sample string 1",
    "postDate": "2024-10-01T02:28:20.8134818-12:00",
    "debitAmount": 1.0,
    "creditAmount": 1.0,
    "balance": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfGLAccountInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalAPI.Domain.Models.GeneralLedger">
  <GLAccountInfo>
    <Balance>1</Balance>
    <CreditAmount>1</CreditAmount>
    <DebitAmount>1</DebitAmount>
    <PostDate>2024-10-01T02:28:20.8134818-12:00</PostDate>
    <Source>sample string 1</Source>
  </GLAccountInfo>
  <GLAccountInfo>
    <Balance>1</Balance>
    <CreditAmount>1</CreditAmount>
    <DebitAmount>1</DebitAmount>
    <PostDate>2024-10-01T02:28:20.8134818-12:00</PostDate>
    <Source>sample string 1</Source>
  </GLAccountInfo>
</ArrayOfGLAccountInfo>