User Manual
Version 7.5
×

Create account

 
Example:
https://<address>/ax/api.php?cmd=accountadd
 
Parameters:
cmd : accountadd
Mandatory parameters
bill_price- Price ID (you can get using command pricelist)
inn
Optional parameters
acc_deposit: sum of deposit (by default 0)
acc_type : type of tariffaction by default 1 - postpaid,  2 - prepaid, 3 - postpaid ligth
org_type:  1 - Legal (by default), 2 - private, 3 - self employed
bill_phone : company phone number
comment
code : ERP system code
kpp : 
block_limit : minimum amount for block (for postpaid ligth only)
modules : id of modules (you can get list of available modules using command modlist)
bill_email - email 
org_name - company name
 
Request:
https://<address>/ax/api.php?cmd=accountadd&bill_price=143&bill_email=demo1@skyelectronics.ru&org_name=PUP&comment=lalala&in
 
Answer :
{
 "code": 0,
 "data": {
 "id": "4018",
 "login": "demo1@skyelectronics.ru",
 "password": "blPs0S"
 },
 "msg": "OK"
}
 
Return Account ID and admin login/password