Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
en:sidebar:remoteapi:apiref:account:update_billing_service [23/01/2013 08:43]
127.0.0.1 external edit
en:sidebar:remoteapi:apiref:account:update_billing_service [13/02/2013 14:51]
alek
Line 1: Line 1:
 {{indexmenu_n>​8}} {{indexmenu_n>​8}}
-====== ​Управление сервисами ​======+====== ​Services management ​======
  
-Для управления сервисами используется команда ​**core/​update_billing_service**:​+To manage services (available features and their cost), use the command ​**core/​update_billing_service**:​
  
 <code javascript>​ <code javascript>​
Line 13: Line 13:
 </​code>​ </​code>​
  
-===== Параметры ​===== +===== Parameters ​===== 
-Название ​Описание ​+Name Description ​
-| itemId | ID ресурса ​(учетной записи)| +| itemId | resource ​(accountID
-| name | название сервиса ​+| name | service name (complete list of services is given in the chapter [[get_account_data|]]) ​
-| type | тип сервиса ​(см. ниже) | +| type | service type (see below) | 
-| intervalType | тип интервала ​(см. ниже) | +| intervalType | interval type (see below) | 
-| costTable | таблица стоимости ​|+| costTable | cost table |
  
-Типы сервисов+Service types
-  * **1** -- по запросу,​ например ​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