客户注册

客户注册

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.register 游客可访问

Header parameters
versionstringRequired

版本号

Example: 0.0.1
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
langstringRequired

语言

Example: zh-CN
X-Forwarded-ForstringRequired
Body
countrystringRequired

国家

langstringOptional

语言信息,默认en-US

loginNamestringRequired

账号:邮箱/手机号码,与type配合使用

phoneAreastringOptional

手机区号,与注册方式配合使用,默认+86

typeinteger · int32 · min: 1 · max: 3Required

注册方式:1邮箱,2手机号码

registerDevicestringOptional

注册的设备型号

verifyCodestringRequired

验证码

sendTokenstringRequired

验证码发送票据

registerSourceinteger · int32 · min: 1Required

注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台注册:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他

utmSourcestringOptional

广告来源(开户链接参数source)

utmMediumstringOptional

广告媒介(开户链接参数medium)

utmCampaignstringOptional

广告系列(开户链接参数campaign)

utmContentstringOptional

广告组(开户链接参数content)

utmTermstringOptional

关键词(开户链接参数term)

customerGroupIdinteger · int64Optional

客户组ID

openAccountTypeinteger · int32Optional

开户类型:0.个人 1.企业 ,默认个人

pwdstringOptional

密码,MD5加密

thirdServerCodestringOptional

第三方系统唯一编号

thirdServerSourcestringOptional

第三方系统来源,如:代理=agent

Responses
200
成功
application/json
post
POST /api/register/customer.app.CustomerWebApiService.register HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
X-Forwarded-For: text
Content-Type: application/json
Accept: */*
Content-Length: 430

{
  "country": "text",
  "lang": "text",
  "loginName": "text",
  "phoneArea": "text",
  "type": 1,
  "registerDevice": "text",
  "verifyCode": "text",
  "sendToken": "text",
  "registerSource": 1,
  "utmSource": "text",
  "utmMedium": "text",
  "utmCampaign": "text",
  "utmContent": "text",
  "utmTerm": "text",
  "customerGroupId": 1,
  "tradeTypeCurrencyList": [
    {
      "allCurrency": "text",
      "tradeType": "text"
    }
  ],
  "openAccountType": 1,
  "pwd": "text",
  "thirdServerCode": "text",
  "thirdServerSource": "text"
}
200

成功

{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "customerNo": "text",
    "list": [
      {
        "levelCode": "text",
        "openAccountType": 1,
        "levelName": "text",
        "pathName": "text",
        "pathCode": "text",
        "elementList": [
          {
            "elementCode": "text",
            "elementName": "text",
            "showType": "text",
            "extend": "text",
            "elementValue": "text",
            "elementValueInputGroup": "text",
            "elementCodeInputGroup": "text"
          }
        ]
      }
    ],
    "companyId": 1,
    "email": "text",
    "phone": "text",
    "phoneArea": "text",
    "name": "text",
    "loginPassStatus": "text",
    "payPassStatus": "text",
    "customerGroupId": 1,
    "country": "text",
    "id": 1,
    "optional": 1,
    "companyKycStatus": 1,
    "thirdServerCode": "text",
    "source": "text",
    "capitalInStatus": 1,
    "openAccountType": 1,
    "companyType": "text",
    "associationCompanyId": 1,
    "registerTime": 1,
    "apiCheckSwitch": true,
    "apiCheckRule": "text"
  },
  "ok": true,
  "fail": true
}

Last updated