GET api/subscriptions/{subscriptionId}/accountrecords/{startDate}/{endDate}
Retrieves a list of account records (invoices) for the specified subscription.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subscriptionId |
The ID of the subscription for which to retrieve records. |
integer |
Required |
| startDate |
The first date from which to include records. |
string |
Required |
| endDate |
The last date until which to include records. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of account records (invoices).
Collection of AccountRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountSourceId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| BillingCycleId | integer |
None. |
|
| BillingDate | date |
None. |
|
| Number | integer |
None. |
|
| RecordDate | date |
None. |
|
| RecordDescription | string |
None. |
|
| id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AccountSourceId": 1,
"Amount": 2.0,
"BillingCycleId": 3,
"BillingDate": "2025-12-15T02:03:33.175522+01:00",
"Number": 4,
"RecordDate": "2025-12-15T02:03:33.175522+01:00",
"RecordDescription": "sample string 5",
"id": 6
},
{
"AccountSourceId": 1,
"Amount": 2.0,
"BillingCycleId": 3,
"BillingDate": "2025-12-15T02:03:33.175522+01:00",
"Number": 4,
"RecordDate": "2025-12-15T02:03:33.175522+01:00",
"RecordDescription": "sample string 5",
"id": 6
}
]
text/html
Sample:
[{"AccountSourceId":1,"Amount":2.0,"BillingCycleId":3,"BillingDate":"2025-12-15T02:03:33.175522+01:00","Number":4,"RecordDate":"2025-12-15T02:03:33.175522+01:00","RecordDescription":"sample string 5","id":6},{"AccountSourceId":1,"Amount":2.0,"BillingCycleId":3,"BillingDate":"2025-12-15T02:03:33.175522+01:00","Number":4,"RecordDate":"2025-12-15T02:03:33.175522+01:00","RecordDescription":"sample string 5","id":6}]
application/xml, text/xml
Sample:
<ArrayOfAccountRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<AccountRecord>
<AccountSourceId>1</AccountSourceId>
<Amount>2</Amount>
<BillingCycleId>3</BillingCycleId>
<BillingDate>2025-12-15T02:03:33.175522+01:00</BillingDate>
<Number>4</Number>
<RecordDate>2025-12-15T02:03:33.175522+01:00</RecordDate>
<RecordDescription>sample string 5</RecordDescription>
<id>6</id>
</AccountRecord>
<AccountRecord>
<AccountSourceId>1</AccountSourceId>
<Amount>2</Amount>
<BillingCycleId>3</BillingCycleId>
<BillingDate>2025-12-15T02:03:33.175522+01:00</BillingDate>
<Number>4</Number>
<RecordDate>2025-12-15T02:03:33.175522+01:00</RecordDate>
<RecordDescription>sample string 5</RecordDescription>
<id>6</id>
</AccountRecord>
</ArrayOfAccountRecord>