Queries the monthly renewal price of an ApsaraDB for MongoDB instance.
Operation description
This operation is applicable to subscription instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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. | youhuiquan_promotion_option_id_for_blank |
DBInstanceId | string | Yes | The ID of the instance. | dds-bp12c5b040dc**** |
Response parameters
Examples
Sample success responses
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": [
"11111111"
]
},
"TradeAmount": 0,
"InstanceId": "dds-bp12c5b040dc****"
}
]
},
"Rules": {
"Rule": [
{
"RuleDescId": 11111111,
"Title": "demo",
"Name": "demoname"
}
]
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | MissingParameter | DBInstanceId is mandatory for this action. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2024-01-19 | The Error code has changed | see changesets | ||||
|