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 | количество дней, за которое нужно получить статистику |
tz | timezone |
Response
[
[
<uint>, /* тип операции: 1 - платеж, 0 - списание */
<text>, /* дата */
<text>, /* услуга */
<text>, /* стоимость */
<uint>, /* количество */
<text> /* информация */
]
]