This is an old revision of the document!
Account statistics
To get account statistics use command account/get_account_history:
svc=account/get_account_history¶ms={"itemId":<long>,
"days":<int>,
"tz":<int>}
Parameters
Name | Description |
itemId | resource(account) ID |
days | time, for wich statistics are requested (days) |
tz | timezone |
Response
[
[
<uint>, /* action type: 1 - payment, 0 - write off */
<text>, /* date */
<text>, /* service */
<text>, /* cost */
<uint>, /* quantity */
<text> /* information */
]
]