全部產品
Search
文件中心

Cloud Control API:GetApiPrice

更新時間:Jun 23, 2026

根據OpenAPI三元組與入參詢價

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

POST /api/v1/price/quote HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

body

object

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

price

object

pricingMode

string

success

boolean

currency

string

calculatedAmount

number

priceSummary

object

currency

string

tradePrice

number

originalPrice

number

moduleSum

number

effectiveModuleSum

number

quantity

number

pricingUnit

string

modules

array<object>

object

moduleCode

string

costAfterDiscount

number

originalCost

number

invoiceDiscount

number

unitPrice

number

upstreamRequestId

string

errorCode

string

errorMessage

string

components

object

object

currency

string

tradePrice

number

originalPrice

number

moduleSum

number

effectiveModuleSum

number

quantity

number

pricingUnit

string

modules

array<object>

object

moduleCode

string

costAfterDiscount

number

originalCost

number

invoiceDiscount

number

unitPrice

number

requestId

string

Id of the request

樣本

正常返回樣本

JSON格式

{
  "price": {
    "pricingMode": "",
    "success": true,
    "currency": "",
    "calculatedAmount": 0,
    "priceSummary": {
      "currency": "",
      "tradePrice": 0,
      "originalPrice": 0,
      "moduleSum": 0,
      "effectiveModuleSum": 0,
      "quantity": 0,
      "pricingUnit": "",
      "modules": [
        {
          "moduleCode": "",
          "costAfterDiscount": 0,
          "originalCost": 0,
          "invoiceDiscount": 0,
          "unitPrice": 0
        }
      ]
    },
    "upstreamRequestId": "",
    "errorCode": "",
    "errorMessage": "",
    "components": {
      "key": {
        "currency": "",
        "tradePrice": 0,
        "originalPrice": 0,
        "moduleSum": 0,
        "effectiveModuleSum": 0,
        "quantity": 0,
        "pricingUnit": "",
        "modules": [
          {
            "moduleCode": "",
            "costAfterDiscount": 0,
            "originalCost": 0,
            "invoiceDiscount": 0,
            "unitPrice": 0
          }
        ]
      }
    }
  },
  "requestId": ""
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情