GET api/AccountLedger?AccountNum={AccountNum}&UtilityId={UtilityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccountNum

integer

Required

UtilityId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AccountLedger
NameDescriptionTypeAdditional information
AccountNum

integer

None.

UtilityId

integer

None.

BillType

string

None.

EntryType

string

None.

TransactionId

integer

None.

TransactionDate

date

None.

Description

string

None.

Reading

integer

None.

Usage

integer

None.

Quantity

integer

None.

Amount

decimal number

None.

Balance

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AccountNum": 1,
    "UtilityId": 2,
    "BillType": "sample string 3",
    "EntryType": "sample string 4",
    "TransactionId": 5,
    "TransactionDate": "2020-02-15T21:12:49.6172155+00:00",
    "Description": "sample string 7",
    "Reading": 8,
    "Usage": 9,
    "Quantity": 10,
    "Amount": 11.0,
    "Balance": 12.0
  },
  {
    "AccountNum": 1,
    "UtilityId": 2,
    "BillType": "sample string 3",
    "EntryType": "sample string 4",
    "TransactionId": 5,
    "TransactionDate": "2020-02-15T21:12:49.6172155+00:00",
    "Description": "sample string 7",
    "Reading": 8,
    "Usage": 9,
    "Quantity": 10,
    "Amount": 11.0,
    "Balance": 12.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountLedger xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountLedger>
    <AccountNum>1</AccountNum>
    <Amount>11</Amount>
    <Balance>12</Balance>
    <BillType>sample string 3</BillType>
    <Description>sample string 7</Description>
    <EntryType>sample string 4</EntryType>
    <Quantity>10</Quantity>
    <Reading>8</Reading>
    <TransactionDate>2020-02-15T21:12:49.6172155+00:00</TransactionDate>
    <TransactionId>5</TransactionId>
    <Usage>9</Usage>
    <UtilityId>2</UtilityId>
  </AccountLedger>
  <AccountLedger>
    <AccountNum>1</AccountNum>
    <Amount>11</Amount>
    <Balance>12</Balance>
    <BillType>sample string 3</BillType>
    <Description>sample string 7</Description>
    <EntryType>sample string 4</EntryType>
    <Quantity>10</Quantity>
    <Reading>8</Reading>
    <TransactionDate>2020-02-15T21:12:49.6172155+00:00</TransactionDate>
    <TransactionId>5</TransactionId>
    <Usage>9</Usage>
    <UtilityId>2</UtilityId>
  </AccountLedger>
</ArrayOfAccountLedger>