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 [10/04/2013 07:45] zuve |
||
---|---|---|---|
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 9: | Line 9: | ||
"tz":<int>} | "tz":<int>} | ||
</code> | </code> | ||
+ | |||
+ | :!: Current request can't be executed simultaneously with following requests: | ||
+ | |||
+ | * [[../report/exec_report|report/exec_report]], | ||
+ | * [[../report/export_result|report/export_result]], | ||
+ | * [[../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 ===== | ===== 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 33: | ||
[ | [ | ||
[ | [ | ||
- | <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> |
|