Method:/user/create
To create a new user, we must specify the name of the user and its parent: either a domain or a unit. On success, the method always returns the internal user id of the newly created user.
Parameters
{ "attrs": { "domain.id": "parent domain id", "loginName": "the login name", "password": "the password", "email": "the email", ... } }
Response
{ "error":0, "result":{"id":"the id of the newly created user"} }