This is an old revision of the document!


Account statistics

To get account statistics use command account/get_account_history:

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

Parameters

Name Description
itemId resource(account) ID
days количество дней, за которое нужно получить статистику
tz timezone

Response

[
	[
		<uint>,		/* тип операции: 1 - платеж, 0 - списание */
		<text>,		/* дата */
		<text>,		/* услуга */
		<text>,		/* стоимость */	
		<uint>,		/* количество */		
		<text>		/* информация */
	]
]
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam