Queries the monthly renewal price of an ApsaraDB for MongoDB instance.
Operation description
This operation is applicable to subscription instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeRenewalPrice |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BusinessInfo |
string |
No |
The business information. This is an additional parameter. |
{“ActivityId":"000000000"} |
| CouponNo |
string |
No |
The coupon code. Default value: youhuiquan_promotion_option_id_for_blank. |
default |
| DBInstanceId |
string |
Yes |
The ID of the instance. |
dds-bp12c5b040dc**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Order |
object |
The list of orders. |
|
| Coupons |
object |
||
| Coupon |
array<object> |
Details about the coupons. |
|
|
object |
|||
| Description |
string |
The description of the coupon. |
coupondemo |
| IsSelected |
string |
Indicates whether the coupon was selected. |
true |
| CouponNo |
string |
The coupon number. |
youhuiquan_promotion_option_id_for_blank |
| Name |
string |
The name of the coupon. |
youhuiquan111 |
| OriginalAmount |
number |
The original price of the order. |
1144.8 |
| DiscountAmount |
number |
The discount amount of the order. |
1144.8 |
| RuleIds |
object |
||
| RuleId |
array |
The IDs of the matched rules. |
|
|
string |
The ID of the matched rule. |
11111111 |
|
| TradeAmount |
number |
The actual price of the order. |
0 |
| Currency |
string |
The type of the currency. Valid values:
|
USD |
| RequestId |
string |
The ID of the request. |
EFD65226-08CC-4C4D-B6A4-CB3C382F67B0 |
| SubOrders |
object |
||
| SubOrder |
array<object> |
The rules matching the coupons. |
|
|
array<object> |
|||
| OriginalAmount |
number |
The original price of the order. |
1144.8 |
| DiscountAmount |
number |
The discount amount of the order. |
1144.8 |
| RuleIds |
object |
||
| RuleId |
array |
The IDs of the matched rules. |
|
|
string |
The ID of the matched rule. |
{"RuleId": [11111111,11111111,11111111]} |
|
| TradeAmount |
number |
The actual price of the order. |
0 |
| InstanceId |
string |
The ID of the instance. |
dds-bp12c5b040dc**** |
| Rules |
object |
||
| Rule |
array<object> |
Details about the promotion rules. |
|
|
object |
|||
| RuleDescId |
integer |
The ID of the rule. |
11111111 |
| Title |
string |
The title of the rule. |
demo |
| Name |
string |
The name of the rule. |
demoname |
Examples
Success response
JSON format
{
"Order": {
"Coupons": {
"Coupon": [
{
"Description": "coupondemo",
"IsSelected": "true",
"CouponNo": "youhuiquan_promotion_option_id_for_blank",
"Name": "youhuiquan111"
}
]
},
"OriginalAmount": 1144.8,
"DiscountAmount": 1144.8,
"RuleIds": {
"RuleId": [
"11111111"
]
},
"TradeAmount": 0,
"Currency": "USD"
},
"RequestId": "EFD65226-08CC-4C4D-B6A4-CB3C382F67B0",
"SubOrders": {
"SubOrder": [
{
"OriginalAmount": 1144.8,
"DiscountAmount": 1144.8,
"RuleIds": {
"RuleId": [
"{\"RuleId\": [11111111,11111111,11111111]}"
]
},
"TradeAmount": 0,
"InstanceId": "dds-bp12c5b040dc****"
}
]
},
"Rules": {
"Rule": [
{
"RuleDescId": 11111111,
"Title": "demo",
"Name": "demoname"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | DBInstanceId is mandatory for this action. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.