Mengkueri harga untuk memperpanjang instans ApsaraDB for MongoDB tertentu selama satu bulan.
Deskripsi operasi
Operasi ini berlaku untuk instans MongoDB berlangganan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeRenewalPrice |
get |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BusinessInfo |
string |
No |
Informasi bisnis tambahan, disediakan sebagai string JSON. |
{“ActivityId":"000000000"} |
| CouponNo |
string |
No |
Menentukan apakah akan menggunakan kupon. Nilai yang valid:
|
default |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bp12c5b040dc**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Detail pesanan. |
||
| Order |
object |
Detail pesanan. |
|
| Coupons |
object |
Detail kupon. |
|
| 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 |
true |
|
| ActivityExtInfo |
object |
||
| OriginalAmount |
number |
Jumlah asli untuk pesanan. |
1144.8 |
| DiscountAmount |
number |
Total jumlah diskon untuk pesanan. |
1144.8 |
| RuleIds |
object |
ID aturan yang cocok. |
|
| RuleId |
array |
A list of rule IDs. |
|
|
string |
An applied rule ID. |
11111111 |
|
| TradeAmount |
number |
Jumlah transaksi akhir untuk pesanan. |
0 |
| Currency |
string |
Mata uang transaksi. |
USD |
| RequestId |
string |
ID permintaan. |
EFD65226-08CC-4C4D-B6A4-CB3C382F67B0 |
| SubOrders |
object |
Detail sub-pesanan. |
|
| SubOrder |
array<object> |
Daftar sub-pesanan. |
|
|
array<object> |
Detail sub-pesanan. |
||
| 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 |
Detail aturan promosi yang tersedia. |
|
| Rule |
array<object> |
Daftar aturan promosi. |
|
|
object |
Detail aturan promosi. |
||
| RuleDescId |
integer |
The rule ID. |
11111111 |
| Title |
string |
The rule title. |
demo |
| Name |
string |
The rule name. |
demoname |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | DBInstanceId is mandatory for this action. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.