Command disabled: backlink

Account statistics

To get account statistics, use the command account/get_account_history:

svc=account/get_account_history&params={"itemId":<long>,
					"days":<int>,
					"tz":<int>}

:!: Current request can't be executed simultaneously with following requests:

Parameters

Name Description
itemId resource (account) ID
days time to request statistics (days)
tz timezone

Response

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.

 "days_counter"-> "cnt"
 "email_report"-> "erp"
 "email_notification"-> "enf"
[
	[
		<uint>,		/* action type: 1 - payment, 0 - write off */
		<text>,		/* date */
		<text>,		/* service */
		<text>,		/* cost */	
		<uint>,		/* quantity */		
		<text>		/* information */
	]
]
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam