Create a Dealer account

for example: http://api.shinemonitor.com/public/?sign=45a0317337cad1b975b7cc8e6ae35401daa5c356&salt=6799118618252297881&token=5b13e18eaa179d4bdce4cf2cc0e66eaa506c7f27ccac6b9e7beaa190ec0e386f&action=addDist&usr=usr&pwd=pwd&vcode=00,01&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action addDist True
usr Account name to register True
pwd Password, a hexadecimal lowercase string encrypted by RC4 (SECRET, SHA-1 (PWD)) True
email Mail False
mobile Phone False
qname Nickname False
photo Avatar, Uploaded avatar image address False
cname Company name False
ctel Company phone False
rid Custom Role ID False
desc Description False
vcode Dealer codes, multiple separated by ',' True
source source True

response: No text

{
    "err":0,
    "desc":"ERR_NONE"
}

Possible errors:

Response error code Description Details
0x0007 ERR_MISSING_PARAMETER Missing necessary parameters
0x0010 ERR_PASSWORD_VERIF_FAIL Password verification failed (encryption error)
0x0011 ERR_PASSWORD_FORMAT_ERROR Password format error
0x0012 ERR_MOBILE_BINDED Phone number bound
0x0013 ERR_MOBILE_FORMAT Phone number format error
0x0014 ERR_EMAIL_FORMAT Email format error
0x0015 ERR_USRNAME_FORMAT User name format error
0x0016 ERR_COMPANY_NAME_FORMAT Company name format error
0x0017 ERR_VCODE_INVALID Invalid manufacturer code
0x0018 ERR_USR_NAME_DUPLICATE Repeat of user name
0x0170 ERR_NOT_FOUND_DEFINEDROLE Role not found
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 11:28:15

results matching ""

    No results matching ""