Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sidebar:remoteapi:apiref:account:get_account_history [31/01/2013 06:50]
zuve
en:sidebar:remoteapi:apiref:account:get_account_history [10/12/2021 09:01] (current)
chdi [Response]
Line 2: Line 2:
 ====== Account statistics ====== ====== Account statistics ======
  
-To get account statistics use command **account/​get_account_history**:​+To get account statisticsuse 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 | time, for wich statistics ​are requested ​(days) |+| days | time to request ​statistics (days) |
 | tz | timezone | | tz | timezone |
  
 ===== Response ===== ===== Response =====
 +[[https://​sdk.wialon.com/​wiki/​en/​sidebar/​remoteapi/​apiref/​account/​get_account_data#​spisok_servisov|Service list]] with type PERIODIC and cost table (or counter or days_count). ​
 +
 +Please note the following services have the other names in JSON response.
 +
 +<​code=javascript>​
 + "​days_counter"​->​ "​cnt"​
 + "​email_report"​->​ "​erp"​
 + "​email_notification"​->​ "​enf"​
 +</​code>​
 +
 <​code=javascript>​ <​code=javascript>​
 [ [
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam