# (四) 上传解密信息信封
# (1) 接口方法url:sweepcodeController/setEncryptionStrToAppService
# (2) 请求参数:
参数名称 | 类型 | 是否必填 | 值示例 | 描述 |
---|---|---|---|---|
tId | String | 是 | 事件ID | |
accessToken | String | 是 | 登录令牌 | |
encryptInfoJson | String | 是 | 信封相关信息 |
encryptInfoJson由如下结构json转化成的字符串
节点名称 | 类型 | 描述 |
---|---|---|
encryptInfoList | ||
└ key | String | 自定义标识 |
└ caOrgType | String | CA机构类型编码 |
└ encCertSn | String | 加密证书序列号 |
└ encryptStr | String | 密文 |
请求示例(需Url编码):
http://123.121.159.112:8866/sweepcodeController/setEncryptionStrToAppService?tId=A3401314520b3359292cb054b0f95f497f5e031b816&accessToken=&encryptInfoJson={"encryptInfoList":[{"caOrgType":"010001","encCertSn":"33000...","encryptStr":"MIQcDBaD....","key":"AH-0001"}]}
1
# (3) 返回值:SweepCodeResult<String>
参数名称 | 类型 | 描述 |
---|---|---|
header | 响应头 | |
└ returnCode | String | 0成功;1失败 |
└ msg | String | 状态结果说明 |
└ size | Null | Null |
data | Null | Null |
响应示例:
{
"header": {
"returnCode": "0",
"msg": "成功",
"size": null
},
"data": null
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8