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-11-21T09:59:46.0537097Z", "EndDate": "2024-11-21T09:59:46.0537097Z", "Values": [ { "DateTime": "2024-11-21T09:59:46.0537097Z", "Balance": 2.0, "ClearedBalance": 3.0, "UnclearedBalance": 0.0 }, { "DateTime": "2024-11-21T09:59:46.0537097Z", "Balance": 2.0, "ClearedBalance": 3.0, "UnclearedBalance": 0.0 } ], "Id": 3 }