Queries the sales information about the configuration assessment feature, including the purchased quota and the consumed quota.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | No | The region in which the Security Center instance is deployed. Valid values:
| cn-hangzhou |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "F5CF78A7-30AA-59DB-847F-13EE3AE7****",
"CheckSale": {
"PurchaseCount": 1000,
"ConsumeCount": 500,
"LoyalUser": true,
"SaleUserType": 1
}
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | NoPermission | no permission | - |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
