Get请求参数
名称 |
类型 |
必须 |
长度限制(字符) |
参数格式 |
描述 |
Action |
String |
是 |
确定值 |
[a-zA-Z]+ |
操作接口名,系统规定参数,取值:CreateQuotaApplication |
POST请求参数(content-type: application/json)
名称 |
类型 |
必须 |
长度限制(字符) |
参数格式 |
描述 |
ProductCode |
String |
是 |
确定值 |
|
服务名称缩写 |
QuotaId |
String |
是 |
|
|
配额项 |
DesireValue |
String |
否 |
|
|
申请值(如果是权益配额不需要传,资源配额必填) |
Reason |
String |
是 |
1-600 |
|
申请理由 |
RegionId |
String |
|
|
|
机房id(全局类型的服务不需要传,按机房类型的服务需要传) |
返回元素(调用成功)
名称 |
类型 |
描述 |
ApplyId |
Array |
配额调整申请uuid |
RequestId |
String |
请求id |
错误码(调用不成功)
错误代码(Code) |
错误消息(Message) |
HTTP 状态码 |
中文描述(语义) |
MissingRequiredHeader |
Bad request, must include valid http header: X-KSC-ACCOUNT-ID, X-KSC-SERVICE, X-KSC-REGION. |
400 |
|
InvalidParameterValue |
Parameters error: %s |
400 |
参数错误:%s,具体错误信息在%s说明 |
QuotaProductCodeNotExits |
ProductCode not exits. |
400 |
产品名称缩写对应的服务不存在。 |
QuotaQuotaIdNotExits |
QuotaId not exits. |
400 |
配额项对应的配额不存在。 |
QuotaNotAdjustable |
The quota cannot be adjusted. |
400 |
配额不可调整。 |
QuotaRegoinIdNotExits |
RegoinId not exits. |
400 |
机房id对应的机房不存在。 |
QuotaNotAdjustable |
The quota cannot be adjusted. |
400 |
配额不可调整。 |
QuotaAddQuotaApplyFailed |
add quota apply failed. |
500 |
添加配额申请失败。 |
示例
请求示例
http://quota.api.ksyun.com/?ClientIp=10.232.3.218&Action=CreateQuotaApplication&Version=2021-05-19&AccountId=2000103461
返回示例
<ApplyId>GzDbDLrLToeWhU_5GPl86w</ApplyId>
<RequestId>b2f2cfb6-2ede-463e-89eb-88b7250340e2</RequestId>
{
"ApplyId": "GzDbDLrLToeWhU_5GPl86w",
"RequestId": "b2f2cfb6-2ede-463e-89eb-88b7250340e2"
}