Gets the price to renew a specified MongoDB instance for one month.
Operation description
This API is for subscription-based MongoDB 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 |
Additional business information. |
{“ActivityId":"000000000"} |
| CouponNo |
string |
No |
Specifies whether to use a coupon. Valid values:
|
default |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bp12c5b040dc**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The order details. |
||
| Order |
object |
The order details. |
|
| Coupons |
object |
The coupon details. |
|
| Coupon |
array<object> |
A list of available coupons. |
|
|
array<object> |
The details of a coupon. |
||
| Description |
string |
The coupon description. |
coupondemo |
| IsSelected |
string |
Indicates whether the coupon is selected. |
true |
| CouponNo |
string |
The coupon code. |
youhuiquan_promotion_option_id_for_blank |
| Name |
string |
The coupon name. |
youhuiquan111 |
| Effective |
boolean |
||
| ActivityExtInfo |
object |
||
| OriginalAmount |
number |
The original order amount. |
1144.8 |
| DiscountAmount |
number |
The discount amount for the order. |
1144.8 |
| RuleIds |
object |
The IDs of rules applied to the order. |
|
| RuleId |
array |
A list of rule IDs. |
|
|
string |
An applied rule ID. |
11111111 |
|
| TradeAmount |
number |
The trade amount of the order. |
0 |
| Currency |
string |
The currency for the transaction. |
USD |
| RequestId |
string |
The request ID. |
EFD65226-08CC-4C4D-B6A4-CB3C382F67B0 |
| SubOrders |
object |
The suborder details. |
|
| SubOrder |
array<object> |
A list of suborders. |
|
|
array<object> |
Details of a suborder. |
||
| OriginalAmount |
number |
The original suborder amount. |
1144.8 |
| DiscountAmount |
number |
The discount amount of the suborder. |
1144.8 |
| RuleIds |
object |
The IDs of rules applied to the suborder. |
|
| RuleId |
array |
A list of rule IDs. |
|
|
string |
An applied rule ID. |
{"RuleId": [11111111,11111111,11111111]} |
|
| TradeAmount |
number |
The trade amount of the suborder. |
0 |
| InstanceId |
string |
The instance ID. |
dds-bp12c5b040dc**** |
| Rules |
object |
The promotion rule details. |
|
| Rule |
array<object> |
A list of promotion rules. |
|
|
object |
Details of a promotion rule. |
||
| RuleDescId |
integer |
The rule ID. |
11111111 |
| Title |
string |
The rule title. |
demo |
| Name |
string |
The rule name. |
demoname |
Examples
Success response
JSON format
{
"Order": {
"Coupons": {
"Coupon": [
{
"Description": "coupondemo",
"IsSelected": "true",
"CouponNo": "youhuiquan_promotion_option_id_for_blank",
"Name": "youhuiquan111",
"Effective": false,
"ActivityExtInfo": {
"test": "test",
"test2": 1
}
}
]
},
"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.