ChangeSignatureQualification - 更换签名的资质和授权书

更换签名的资质和授权书。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
SignatureNamestring

短信签名。

阿里云
QualificationIdlong

资质 ID,即您申请资质返回的 ID。您可以通过控制台国内消息资质管理页面获取当前账号下的资质 ID。

1*****2
AuthorizationLetterIdlong

授权委托书 ID。

1000********1234

返回参数

名称类型描述示例值
object
AccessDeniedDetailstring

访问被拒绝详细信息,只有 RAM 校验失败才会返回此字段。

Messagestring

状态码的描述。

OK
RequestIdstring

本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。

0A974B78-02BF-4C79-ADF3-90CFBA1B55B1
Dataobject

返回数据结构。

Dataobject

本数据无返回,可忽略。

ErrMessagestring

状态码的描述。

OK
Successboolean

调用接口是否成功。

true
ErrCodestring

请求状态码。

OK
Codestring

请求状态码。

  • 返回 OK 代表请求成功。
  • 其他错误码,请参见本章节的错误码列表或产品API 错误码
OK
Successboolean

调用接口是否成功。取值:

  • true:调用成功。
  • false:调用失败。
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错误码错误信息描述
400QualificationNotExistCan't query qualification information.查询不到资质信息
400SmsAuthorizationLetterNotExistAuthorization does not belong to the customer.授权书不属于该客户
400SmsSignatureNotExistSignature does not exist.签名不存在
400SmsQualificationRegisterFailedThe registration of the current qualification fails. Please modify the qualification and re-bind the qualification before completing the signature registration process again.当前资质报备失败,请完成修改后,再重新绑定资质后再重新完成签名报备流程
400SmsQualificationNotPassedThe qualification has not been approved and cannot be bound to the signature.资质未审核通过,不能绑定到签名
400SmsPassedAuthorizationLetterNotMatchPlease bind audited authorization letter whose the social credit code is same to the the social credit code of qualification.请绑定和资质统一社会信用代码一致的且审核通过的资质授权书
400QualificationNotCompleteThe qualification elements are incomplete.资质要素不完整,缺失的要素有[]
400SmsSignNotAuthorizedthe signature is not in the sign scope of the authorization letter.该签名不在授权书范围内容
400SMS_STATUS_ILLEGALWhen replacing the qualification and power of attorney of the signature, the signature status must be approved.更换签名的资质和授权委托书时,签名状态必须审核通过

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2025-04-17OpenAPI 错误码发生变更、OpenAPI 入参发生变更查看变更详情