用户激活凭证申请接口
接口说明
本接口为用户激活凭证申请接口
证书申请流程

请求准备证书颁发
接口名 |
/cert/prepare4UserActivate |
接口描述 |
用户激活凭证申请接口 |
data输入参数
参数名称 |
类型 |
必填 |
说明 |
phoneNo |
String |
是 |
证书申请人当前使用手机号 |
返回参数
参数名称 |
类型 |
必填 |
说明 |
voucherId |
String |
是 |
证书申请凭证id |
JAVA调用实例
String url="xxx";
String appId;
String appSecret;
String phoneNo="";
Map<String, Object> params = new HashMap<String, Object>();
params.put("phoneNo", phoneNo);
String data = JSONObject.toJSONString(params);
Map channelContext = MessageUtil.getChannelContext(appId, appSecret,
"app_secret", data, null);
String rpcResult = HttpsClientUtil.getInstance().httpsPost(
url+"/api/v1/cert/prepare4UserActivate",
JSONObject.toJSONString(channelContext)
);