This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:account:get_account_history [23/01/2013 08:43] 127.0.0.1 external edit |
en:sidebar:remoteapi:apiref:account:get_account_history [10/04/2013 07:45] zuve |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n>12}} | {{indexmenu_n>12}} | ||
- | ====== Статистика учетной записи ====== | + | ====== Account statistics ====== |
- | Для получения статистики нужно использовать команду **account/get_account_history**: | + | |
+ | To get account statistics, use the command **account/get_account_history**: | ||
<code javascript> | <code javascript> | ||
Line 9: | Line 10: | ||
</code> | </code> | ||
- | ===== Параметры ===== | + | :!: Current request can't be executed simultaneously with following requests: |
- | ^ Название ^ Описание ^ | + | |
- | | itemId | ID ресурса (учетной записи)| | + | * [[../report/exec_report|report/exec_report]], |
- | | days | количество дней, за которое нужно получить статистику | | + | * [[../report/export_result|report/export_result]], |
- | | tz | часовой пояс | | + | * [[../report/get_result_chart|report/get_result_chart]], |
+ | * [[../report/get_result_map|report/get_result_map]], | ||
+ | * [[../messages/load_interval|messages/load_interval]], | ||
+ | * [[../render/create_messages_layer|render/create_messages_layer]], | ||
+ | * [[../unit/get_trips|unit/get_trips]], | ||
+ | * [[../resource/get_driver_bindings|resource/get_driver_bindings]], | ||
+ | * [[../resource/get_trailer_bindings|resource/get_trailer_bindings]], | ||
+ | * all requests from chapter [[../exchange/exchange]]. | ||
+ | |||
+ | ===== Parameters ===== | ||
+ | ^ Name ^ Description ^ | ||
+ | | itemId | resource (account) ID| | ||
+ | | days | time to request statistics (days) | | ||
+ | | tz | timezone | | ||
- | ===== Возвращаемый результат ===== | + | ===== Response ===== |
<code=javascript> | <code=javascript> | ||
[ | [ | ||
[ | [ | ||
- | <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> |
|