调用 SetResellerUserQuota 设置用户配额账本的 Quota 额度。
调试
前往 API Explorer 在线调试,API Explorer 提供在线调用 API、动态生成 SDK Example 代码和快速检索接口等能力,能显著降低使用云 API 的难度,推荐使用。
请求参数
名称 |
类型 |
是否必填 |
示例值 |
描述 |
OwnerId |
Long |
是 |
239****111 |
阿里云 UID |
Amount |
String |
是 |
100000 |
额度金额 |
Currency |
String |
否 |
CNY |
币种 |
OutBizId |
String |
否 |
201****444 |
外部业务流水 |
返回参数
名称 |
类型 |
示例值 |
描述 |
RequestId |
String |
323232 |
请求标识 |
Code |
String |
200 |
返回码 |
Message |
String |
successful |
返回信息 |
Success |
Boolean |
true |
请求是否成功,取值:
|
Data |
Boolean |
true |
设置是否成功,取值:
|
请求示例
https://business.aliyuncs.com/?Action=SetResellerUserQuota
&OwnerId=239****111
&Amount=100000
&Currency=CNY
返回示例
{
"RequestId":"323232",
"Code":"200",
"Message":"successful",
"Success":true,
"Data":true
}
错误码
HttpCode |
错误码 |
错误信息 |
描述 |
500 |
CreditInnerError |
This interface has some error. Please try again. |
界面错误,请重试 |
400 |
NotApplicable |
This API is not applicable for caller. |
该接口不适用 |
400 |
NotAuthorized |
This API is not authorized for caller. |
调用者未授权 |
400 |
InternalError |
The request processing has failed due to some unknown error, exception or failure. |
由于某些未知的错误或异常,请求处理失败。 |
400 |
ParameterError |
Missing the must parameter. |
缺少重要参数 |
500 |
UndefinedError |
The request processing has failed due to some unknown error. |
由于某些未知错误,请求处理失败 |