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 [30/01/2013 14:32]
zuve
Line 1: Line 1:
 {{indexmenu_n>​8}} {{indexmenu_n>​8}}
-====== ​Управление сервисами ​======+====== ​Services management ​======
  
-Для управления сервисами используется команда ​**core/​update_billing_service**:​+To manage services use 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 described in 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 demandfor example ​SMS, commands etcIntervalType defines frequency of service usage counter reset.  
-  * **2** -- периодический сервисплатежи за который должны поступать через определенный временной интервал+  * **2** -- periodic servicepayments 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
  
 ===== Возвращаемый результат ===== ===== Возвращаемый результат =====
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam