This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:account:get_account_history [30/01/2013 15:00] zuve |
en:sidebar:remoteapi:apiref:account:get_account_history [13/02/2013 14:58] alek |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Account statistics ====== | ====== Account statistics ====== | ||
- | To get account statistics use command **account/get_account_history**: | + | To get account statistics, use the command **account/get_account_history**: |
<code javascript> | <code javascript> | ||
Line 12: | Line 12: | ||
===== Parameters ===== | ===== Parameters ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
- | | itemId | resource(account) ID| | + | | itemId | resource (account) ID| |
- | | days | количество дней, за которое нужно получить статистику | | + | | days | time to request statistics (days) | |
| tz | timezone | | | tz | timezone | | ||
Line 20: | Line 20: | ||
[ | [ | ||
[ | [ | ||
- | <uint>, /* тип операции: 1 - платеж, 0 - списание */ | + | <uint>, /* action type: 1 - payment, 0 - write off */ |
- | <text>, /* дата */ | + | <text>, /* date */ |
- | <text>, /* услуга */ | + | <text>, /* service */ |
- | <text>, /* стоимость */ | + | <text>, /* cost */ |
- | <uint>, /* количество */ | + | <uint>, /* quantity */ |
- | <text> /* информация */ | + | <text> /* information */ |
] | ] | ||
] | ] | ||
</code> | </code> |
|