Differences
This shows you the differences between two versions of the page.
|
|
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] |
{{indexmenu_n>5}} | |
====== Change billing plan ====== | |
| |
To assign biiling plan use command **account/update_plan**: | |
| |
<code javascript> | |
svc=account/update_plan¶ms={"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> | |