GET api/account/{id}/balances?startDate={startDate}&endDate={endDate}
Get balance of an account
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
startDate | date |
None. |
|
endDate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Dezrez.Core.DataContracts.Accounts.Financial.Query.AccountHistoryDataContractName | Description | Type | Additional information |
---|---|---|---|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Values | Collection of Dezrez.Core.DataContracts.Accounts.Financial.Query.AccountHistoryBalanceDataContract |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "StartDate": "2024-10-04T18:58:04.984418Z", "EndDate": "2024-10-04T18:58:04.984418Z", "Values": [ { "DateTime": "2024-10-04T18:58:04.984418Z", "Balance": 2.0, "ClearedBalance": 3.0, "UnclearedBalance": 0.0 }, { "DateTime": "2024-10-04T18:58:04.984418Z", "Balance": 2.0, "ClearedBalance": 3.0, "UnclearedBalance": 0.0 } ], "Id": 3 }