Differences

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

Link to this comparison view

en:sidebar:remoteapi:apiref:account:update_plan [30/01/2013 14:03]
zuve
en:sidebar:remoteapi:apiref:account:update_plan [29/11/2013 13:31]
Line 1: Line 1:
-{{indexmenu_n>​5}} 
-====== Change billing plan ====== 
  
-To assign biiling plan use command **account/​update_plan**: ​ 
- 
-<code javascript>​ 
-svc=account/​update_plan&​params={"​itemId":<​long>,​ 
- "​plan":<​text>​} 
-</​code>​ 
- 
-:!: //​Attention!//​\\ To assign billing plans current user must have access rights of type: account management (see [[../​core/​check_items_billing#​Resources| Access flags: Resources]]) upon specified accoun, also current user must be direct or inderect parent of specified account. 
- 
-===== Parameters ===== 
-^ Name ^ Description ^ 
-| itemId | resource(account) ID | 
-| plan | billing plan name | 
- 
-===== Response ===== 
-<​code=javascript>​ 
-{} /* empty object if execution successful, if not - error code */ 
-</​code>​ 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2020 Gurtam