查询激活码信息
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeLicense |
系统规定参数。取值:DescribeLicense。 |
LicenseCode | String | 是 | xxxxxx |
激活码 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 6EF60BEC-0242-43AF-BB20-270359FB54A7 |
请求 ID |
License | Object |
激活码对象 |
|
ActivateTime | String | 2019-05-25 09:00:00 |
激活时间 |
LicenseStatus | String | ACTIVATED |
激活码状态 |
ProductName | String | LNMP环境 |
商品名称 |
ExpiredTime | String | 2019-06-25 09:00:00 |
过期时间 |
ProductSkuId | String | cmgj02****-prepay |
商品规格ID |
CreateTime | String | 2019-05-25 09:00:00 |
创建时间 |
LicenseCode | String | - |
激活码 |
InstanceId | String | 1551111111 |
业务实例ID |
SupplierName | String | **科技股份有限公司 |
供应商名称 |
ProductCode | String | cmgj02**** |
商品Code |
ExtendArray | Array of LicenseAttribute |
扩展对象数组 |
|
LicenseAttribute | |||
Code | String | - |
对象code |
Value | String | - |
对象值 |
ExtendInfo | Object |
扩展属性 |
|
AliUid | Long | 190311111111**** |
阿里云UID |
AccountQuantity | Long | - |
账号信息 |
String | id***@**.com |
邮箱 |
|
Mobile | String | 129****1111 |
电话 |
示例
请求示例
正常返回示例
JSON
格式
HTTP/1.1 200 OK
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Auth.SubAccount.Error | The specified AccessKey information does not belong to the RAM user. | 该 AccessKey 不是子账号的AccessKey |
400 | License.Invalid | The specified license is invalid. | 无效的授权码 |
400 | License.Expired | The specified license has expired. | 授权码已过期 |
400 | License.Discard | The specified license has been discarded. | 授权码已废弃 |
400 | License.NotFound | The specified license does not exist. | 授权码不存在 |
400 | Auth.ISV.Error | Only ISV accounts are allowed to call the specified API operation. | 非服务商账号,仅供服务商账号调用 |
400 | Auth.Match | The product to be enabled by the specified license does not belong to the ISV. | 授权码对应的商品不属于该服务商 |
400 | Auth.Authorized | The specified RAM user is not authorized. | 子账号没有授权 |
访问错误中心查看更多错误码。
访问错误中心查看更多错误码。