查詢指定MongoDB執行個體續約一個月的價格。
介面說明
本介面適用於訂用帳戶付費的 MongoDB 執行個體。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
dds:DescribeRenewalPrice |
get |
*Instance
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| BusinessInfo |
string |
否 |
附加參數,商務資訊。 |
{“ActivityId":"000000000"} |
| CouponNo |
string |
否 |
是否使用優惠券,取值說明:
|
default |
| DBInstanceId |
string |
是 |
執行個體 ID。 |
dds-bp12c5b040dc**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
訂單資訊列表。 |
||
| Order |
object |
訂單資訊列表。 |
|
| Coupons |
object |
||
| Coupon |
array<object> |
優惠券資訊列表。 |
|
|
array<object> |
優惠券資訊。 |
||
| Description |
string |
備忘資訊。 |
coupondemo |
| IsSelected |
string |
是否選中該優惠券。 |
true |
| CouponNo |
string |
優惠券編碼。 |
youhuiquan_promotion_option_id_for_blank |
| Name |
string |
優惠券名稱。 |
youhuiquan111 |
| Effective |
boolean |
優惠券是否生效。 |
true |
| ActivityExtInfo |
object |
優惠券的額外資訊。 |
|
| OriginalAmount |
number |
訂單原價。 |
1144.8 |
| DiscountAmount |
number |
訂單優惠金額。 |
1144.8 |
| RuleIds |
object |
||
| RuleId |
array |
訂單交易資訊。 |
|
|
string |
命中的策略 ID 集合。 |
11111111 |
|
| TradeAmount |
number |
訂單實際交易價。 |
0 |
| Currency |
string |
幣種。 |
USD |
| RequestId |
string |
請求 ID。 |
EFD65226-08CC-4C4D-B6A4-CB3C382F67B0 |
| SubOrders |
object |
||
| SubOrder |
array<object> |
優惠券對應的策略列表。 |
|
|
array<object> |
訂單資訊。 |
||
| OriginalAmount |
number |
訂單原價。 |
1144.8 |
| DiscountAmount |
number |
訂單優惠金額。 |
1144.8 |
| RuleIds |
object |
||
| RuleId |
array |
訂單交易資訊。 |
|
|
string |
命中策略 ID 資訊。 |
{"RuleId": [11111111,11111111,11111111]} |
|
| TradeAmount |
number |
訂單實際交易價格。 |
0 |
| InstanceId |
string |
執行個體 ID。 |
dds-bp12c5b040dc**** |
| Rules |
object |
||
| Rule |
array<object> |
活動規則列表。 |
|
|
object |
訂單資訊。 |
||
| RuleDescId |
integer |
策略 ID。 |
11111111 |
| Title |
string |
策略標題。 |
demo |
| Name |
string |
策略名稱稱。 |
demoname |
樣本
正常返回樣本
JSON格式
{
"Order": {
"Coupons": {
"Coupon": [
{
"Description": "coupondemo",
"IsSelected": "true",
"CouponNo": "youhuiquan_promotion_option_id_for_blank",
"Name": "youhuiquan111",
"Effective": true,
"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"
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | DBInstanceId is mandatory for this action. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。