接口描述
发送签署验证短信,调用此接口后,签署时需要调用相应的短信验证签署接口。
接口名称
MobileService.sendSignMobileCode3rd(String accountId, String mobile,Boolean isForeign)
请求参数
参数名称 | 类型 | 必选 | 长度 | 参数说明 | 示例值 |
accountId | String | 是 | 40 | 签署者账号标识 | |
mobile | String | 是 | 20 | 待接收短信验证码的手机 | |
isInland | boolean | 否 | | 标记是否为国外账号,默认true true-国内手机号 false-国外手机号 | |
响应参数
展开全部参数参数名称 | 类型 | 必选 | 参数说明 | 示例值 | |
Result | Result | 是 | | | |
| errCode | int | 是 | 错误码,0标识成功,其他均标识失败 | |
msg | String | 否 | 错误信息,错误码对应的说明信息 | | |
errorShow | boolean | 否 | 错误信息是否建议显示 |
请求示例
// 获取正式生成服务 // 获取客户端的代码:ServiceClient getKHD = ServiceClientManager.get("您的pojectId"); MobileService mobileService = getKHD.mobileService(); Result result = mobileService.sendSignMobileCode3rd("B261DE0A7EA145EFA753636D03E0120A", "182681xxxxxx", true); if (result.getErrCode() != 0) System.out.println("指定手机发送签署短信验证码失败:" + JSONObject.fromObject(result)); else System.out.println("指定手机发送签署短信验证码成功" + JSONObject.fromObject(result));
响应示例
{ "errCode":0, "errShow":false, "msg":"" }
错误码
错误码 | 错误描述 | 解决方案 |