QueryMonthlySlaList
Queries the SLA compensation list for users.
Operation description
Provides the list of SLA compensation details for users, including only data from the last two months.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bssapi:QueryMonthlySlaList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Months |
array |
No |
The list of months in the yyyyMM format. |
[202602,202603] |
|
integer |
No |
The month in the yyyyMM format. Only the last two months are supported. |
202603 |
|
| ProductCodes |
array |
No |
The product codes used for filtering. |
["ecs","oss"] |
|
string |
No |
The code of the cloud service. |
oss |
|
| InstanceIds |
array |
No |
The instance IDs used for filtering. |
["instance_1","instance_2"] |
|
string |
No |
The instance ID. Separate multiple IDs with commas. A maximum of 100 IDs are supported. |
rm-xxxxxxxxxxxx |
|
| PayStatuses |
array |
No |
The compensation statuses used for filtering. Valid values: 0 and 1. |
|
|
integer |
No |
The compensation status. Valid values: 0: Not compensated. 1: Compensated. |
1 |
|
| CurrentPage |
integer |
No |
The current page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
10 |
| EcIdAccountIds |
array<object> |
No |
The list of enterprises and accounts. If this parameter is left empty, the current account is queried. |
|
|
object |
No |
The list of enterprises and accounts. If this parameter is left empty, the current account is queried. |
||
| EcId |
string |
No |
The ID of the enterprise entity. |
1501603440974415 |
| AccountIds |
array |
No |
The list of account IDs to access. If this parameter is left empty, all accounts under the current entity ID are selected. |
|
|
integer |
No |
The ID of the member accounts. |
1501603440974415 |
|
| Nbid |
string |
No |
The ID of the primary marketplace. If this parameter is left empty, the marketplace ID of the current user is used. |
2684201000001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BssApiPageResult |
||
| CurrentPage |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of records. |
5 |
| Data |
array<object> |
The list of data. |
|
|
object |
The message body. |
||
| Month |
integer |
The month in the yyyyMM format. |
202603 |
| DamagedId |
string |
The unique identifier of the damage record, which is used for targeted claims. |
9b7***9413 |
| ProductCode |
string |
The code of the product. |
oss |
| InstanceId |
string |
The ID of the instance. |
OSSBAG-cn-0xl0n****003 |
| AvailableRate |
number |
The service availability. |
99.9155 |
| PayRate |
number |
The compensation ratio, in percentage. |
10 |
| MonthlyServiceCharge |
number |
The monthly service fee. |
365.00 |
| ShouldPaySum |
number |
The compensation amount to be paid. |
36.5 |
| PayStatus |
integer |
The compensation status. Valid values: 0: Not compensated. 1: Compensated. 2: No compensation required. |
1 |
| PayDescription |
string |
The compensation description. |
SLA compensation |
| Metadata |
any |
The metadata of the response structure. |
{} |
| RequestId |
string |
The ID of the request. |
6000EE23-274B-4E07-A697-FF2E999520A4 |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 5,
"Data": [
{
"Month": 202603,
"DamagedId": "9b7***9413",
"ProductCode": "oss",
"InstanceId": "OSSBAG-cn-0xl0n****003",
"AvailableRate": 99.9155,
"PayRate": 10,
"MonthlyServiceCharge": 365,
"ShouldPaySum": 36.5,
"PayStatus": 1,
"PayDescription": "SLA compensation"
}
],
"Metadata": "{}",
"RequestId": "6000EE23-274B-4E07-A697-FF2E999520A4"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified request contains invalid parameters. | |
| 500 | InternalError | 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.