更换签名的资质和授权书。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
SignatureName |
string |
是 |
短信签名。 |
阿里云 |
QualificationId |
integer |
是 |
资质 ID,即您申请资质返回的 ID。您可以通过控制台国内消息资质管理页面获取当前账号下的资质 ID。 |
1*****2 |
AuthorizationLetterId |
integer |
否 |
授权委托书 ID。 |
1000********1234 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
AccessDeniedDetail |
string |
访问被拒绝详细信息,只有 RAM 校验失败才会返回此字段。 |
无 |
Message |
string |
状态码的描述。 |
OK |
RequestId |
string |
本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 |
0A974B78-02BF-4C79-ADF3-90CFBA1B55B1 |
Data |
object |
返回数据结构。 |
|
Data |
object |
本数据无返回,可忽略。 |
|
ErrMessage |
string |
状态码的描述。 |
OK |
Success |
boolean |
调用接口是否成功。 |
true |
ErrCode |
string |
请求状态码。 |
OK |
Code |
string |
请求状态码。
|
OK |
Success |
boolean |
调用接口是否成功。取值:
|
true |
示例
正常返回示例
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. | 更换签名的资质和授权委托书时,签名状态必须审核通过 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。