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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccountNum

integer

Required

UtilityId

integer

Required

Body Parameters

None.

Response Information

Resource Description

AccountBalance
NameDescriptionTypeAdditional information
RecordId

integer

None.

AccountNum

integer

None.

UtilityId

integer

None.

Balance

decimal number

None.

PastDue

decimal number

None.

Aging_0_30

decimal number

None.

Aging_31_60

decimal number

None.

Aging_61_90

decimal number

None.

Aging_Over_90

decimal number

None.

LastPaymentDate

date

None.

LastPaymentAmount

decimal number

None.

DateUpdated

date

None.

Aging_91_120

decimal number

None.

Aging_Over_120

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "AccountNum": 2,
  "UtilityId": 3,
  "Balance": 4.0,
  "PastDue": 5.0,
  "Aging_0_30": 6.0,
  "Aging_31_60": 7.0,
  "Aging_61_90": 8.0,
  "Aging_Over_90": 9.0,
  "LastPaymentDate": "2024-03-28T10:43:00.9350133+00:00",
  "LastPaymentAmount": 1.0,
  "DateUpdated": "2024-03-28T10:43:00.9350133+00:00",
  "Aging_91_120": 10.0,
  "Aging_Over_120": 11.0
}

application/xml, text/xml

Sample:
<AccountBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <AccountNum>2</AccountNum>
  <Aging_0_30>6</Aging_0_30>
  <Aging_31_60>7</Aging_31_60>
  <Aging_61_90>8</Aging_61_90>
  <Aging_91_120>10</Aging_91_120>
  <Aging_Over_120>11</Aging_Over_120>
  <Aging_Over_90>9</Aging_Over_90>
  <Balance>4</Balance>
  <DateUpdated>2024-03-28T10:43:00.9350133+00:00</DateUpdated>
  <LastPaymentAmount>1</LastPaymentAmount>
  <LastPaymentDate>2024-03-28T10:43:00.9350133+00:00</LastPaymentDate>
  <PastDue>5</PastDue>
  <RecordId>1</RecordId>
  <UtilityId>3</UtilityId>
</AccountBalance>