Mengkueri harga instans cache reserve.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Period |
integer |
Yes |
Periode pembelian. Unit: bulan. |
2 |
| QuotaGb |
integer |
No |
Spesifikasi cache reserve. Unit: GB. |
512000 |
| CrRegion |
string |
No |
Wilayah cache reserve. Nilai valid:
|
HK |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur tanggapan. |
||
| RequestId |
string |
ID permintaan. |
2430E05E-1340-5773-B5E1-B743929F46F2 |
| PriceModel |
object |
Informasi harga. |
|
| Price |
number |
Harga pesanan akhir, yaitu harga transaksi aktual. |
1 |
| Currency |
string |
Mata uang. Nilai valid:
|
CNY |
| TotalPrice |
number |
Harga pesanan asli. Harga pesanan asli = harga transaksi aktual + jumlah diskon. |
2 |
| DiscountPrice |
number |
Jumlah diskon pesanan. |
1 |
| Rule |
object |
||
| RuleList |
array<object> |
Aturan yang berlaku. |
|
|
object |
|||
| Name |
string |
Nama kebijakan. |
策略A |
| RuleDescId |
integer |
ID kebijakan. |
1 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2430E05E-1340-5773-B5E1-B743929F46F2",
"PriceModel": {
"Price": 1,
"Currency": "CNY",
"TotalPrice": 2,
"DiscountPrice": 1,
"Rule": {
"RuleList": [
{
"Name": "策略A",
"RuleDescId": 1
}
]
}
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalError | An internal exception occurred, please try again later. | 触发内部异常,请稍后再试。 |
| 400 | CheckPlanFailed | Invalid plan name or code. Check and try again. | 您配置的套餐名或套餐Code不正确,请确保已传入正确的套餐名或套餐Code后重试。 |
| 400 | InvalidSiteICP | The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. | 您配置的站点未备案或ICP备案信息不合法,请确保站点已完成备案后重试。 |
| 400 | InvalidSiteName | Invalid website name. Check and try again. | 您配置的站点名称不正确,请确保传入正确的站点名称后重试。 |
| 400 | SYSTEM.NoSpecificCodeFailed | Invalid subscription duration. Check and try again. | 您配置的套餐购买周期不正确,请检查后重试。 |
| 400 | InvalidComponent | The order parameters is invalid. | 订单配置参数不符合校验条件。 |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.