Create account

To create a new account, use the command account/create_account:

svc=account/create_account&params={"itemId":<long>,
				   "plan":<text>}

Parameters

Name Description
itemId resource ID
plan billing plan

Response

{}	/* empty object if execution successful, if not - error code */

Errors

Code Value
1 invalid session
2 invalid service name
3 invalid result
4 - invalid format or value of parameters
- resource doesn't belong to any account
- current user hasn't got an account
- current account has no subplans to assign
6 error activating billing plan
7 - access denied
- current user has no rights to create accounts
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam