Queries the available quota for a user in a reseller payment scenario.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
bss:QueryResellerAvailableQuota | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ItemCodes | string | No | You do not need to specify this parameter. | 无 |
Response elements
Parameter | Type | Description | Example |
object | |||
Code | string | The error code returned if the call fails. See the "Error codes" section of this topic. | 200 |
Message | string | Additional information about the result. | Successful! |
Data | string | The available quota balance of the user. | 300 |
RequestId | string | The request ID. | 79EE7556-0CFD-44EB-9CD6-B3B526E3A85F |
Success | boolean | Indicates whether the call was successful. A value of | true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "Successful!",
"Data": "300",
"RequestId": "79EE7556-0CFD-44EB-9CD6-B3B526E3A85F",
"Success": true
}Error codes
HTTP status code | Error code | Error message | Description |
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. | |
400 | -304 | Record is not exists. | |
400 | CreditInnerError | This interface has some error. Please try again. | |
500 | UndefinedError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.