更换签名的资质和授权书。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
SignatureName | string | 是 | 短信签名。 | 阿里云 |
QualificationId | long | 是 | 资质 ID,即您申请资质返回的 ID。您可以通过控制台国内消息资质管理页面获取当前账号下的资质 ID。 | 1*****2 |
AuthorizationLetterId | long | 否 | 授权委托书 ID。 | 1000********1234 |
返回参数
示例
正常返回示例
JSON
格式
{
"AccessDeniedDetail": "无",
"Message": "OK",
"RequestId": "0A974B78-02BF-4C79-ADF3-90CFBA1B55B1",
"Data": {
"Data": {
"test": "test",
"test2": 1
},
"ErrMessage": "OK",
"Success": true,
"ErrCode": "OK"
},
"Code": "OK",
"Success": true
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | QualificationNotExist | Can't query qualification information. | 查询不到资质信息 |
400 | SmsAuthorizationLetterNotExist | Authorization does not belong to the customer. | 授权书不属于该客户 |
400 | SmsSignatureNotExist | Signature does not exist. | 签名不存在 |
400 | SmsQualificationRegisterFailed | The registration of the current qualification fails. Please modify the qualification and re-bind the qualification before completing the signature registration process again. | 当前资质报备失败,请完成修改后,再重新绑定资质后再重新完成签名报备流程 |
400 | SmsQualificationNotPassed | The qualification has not been approved and cannot be bound to the signature. | 资质未审核通过,不能绑定到签名 |
400 | SmsPassedAuthorizationLetterNotMatch | Please bind audited authorization letter whose the social credit code is same to the the social credit code of qualification. | 请绑定和资质统一社会信用代码一致的且审核通过的资质授权书 |
400 | QualificationNotComplete | The qualification elements are incomplete. | 资质要素不完整,缺失的要素有[] |
400 | SmsSignNotAuthorized | the signature is not in the sign scope of the authorization letter. | 该签名不在授权书范围内容 |
400 | SMS_STATUS_ILLEGAL | When replacing the qualification and power of attorney of the signature, the signature status must be approved. | 更换签名的资质和授权委托书时,签名状态必须审核通过 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|---|---|
2025-04-17 | OpenAPI 错误码发生变更、OpenAPI 入参发生变更 | 查看变更详情 |