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
Next revision Both sides next revision
en:sidebar:remoteapi:apiref:account:update_billing_service [30/01/2013 14:26]
zuve
en:sidebar:remoteapi:apiref:account:update_billing_service [13/02/2013 14:51]
alek
Line 2: Line 2:
 ====== Services management ====== ====== Services management ======
  
-To manage services use command **core/​update_billing_service**:​+To manage services ​(available features and their cost), ​use the command **core/​update_billing_service**:​
  
 <code javascript>​ <code javascript>​
Line 15: Line 15:
 ===== Parameters ===== ===== Parameters =====
 ^ Name ^ Description ^ ^ Name ^ Description ^
-| itemId | resource(account) ID| +| itemId | resource (account) ID| 
-| name | service name |+| name | service name (complete list of services is given in the chapter [[get_account_data|]]) ​|
 | type | service type (see below) | | type | service type (see below) |
 | intervalType | interval type (see below) | | intervalType | interval type (see below) |
Line 22: Line 22:
  
 Service types: Service types:
-  * **1** -- on demand, например ​SMS, Команды и т.дИнтервал определяет как часто счетчик использования сервиса будет сбрасываться.  +  * **1** -- on demand ​(for example ​SMS)//​IntervalType//​ defines frequency of service usage counter reset.  
-  * **2** -- периодический сервисплатежи за который должны поступать через определенный временной интервал+  * **2** -- periodic servicespayments for them must be performed in specified time interval
  
-Типы интервалов+Interval types
-  * **0** -- никогда+  * **0** -- never
-  * **1** -- ежечасно+  * **1** -- hourly
-  * **2** -- ежедневно+  * **2** -- daily
-  * **3** -- еженедельно+  * **3** -- weekly
-  * **4** -- ежемесячно+  * **4** -- monthly
  
-===== Возвращаемый результат ​=====+===== Response ​=====
 <​code=javascript>​ <​code=javascript>​
-{} /* пустой объект при удачном выполнениипри неудачном ​код ошибки ​*/+{} /* empty object if execution successfulif not error code */
 </​code>​ </​code>​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam