Checks whether the commercial edition of a specified service is activated for the current account.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| CommodityCode |
string |
Yes |
The product code.
|
arms_app_post |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
49C82193-E991-5F6A-AF3E-1664D8****** |
| UserAndCommodityStatus |
object |
The commercialization status of the service. |
|
| Status |
string |
The commercialization status. Valid values:
Valid values:
|
Normal |
| FreeDays |
integer |
The number of remaining free-of-charge days for the service. |
10 |
| Basic |
boolean |
Indicates whether the account is using the Basic Edition. |
false |
| ChargeType |
string |
The billing method. |
usage |
| Lable |
string |
The tags. |
NEW |
| ExtraInfo |
object |
The additional information. |
info |
| Enable |
boolean |
Indicates whether the service is activated. |
true |
Examples
Success response
JSON format
{
"RequestId": "49C82193-E991-5F6A-AF3E-1664D8******",
"UserAndCommodityStatus": {
"Status": "Normal",
"FreeDays": 10,
"Basic": false,
"ChargeType": "usage",
"Lable": "NEW",
"ExtraInfo": {
"test": "test",
"test2": 1
},
"Enable": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.