擷取詢價結果。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
bpstudio:GetResult4QueryInstancePrice4Modify |
get |
*BPStudioVirtual
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| TaskId |
string |
是 |
變更配置詢價任務 id(有效時間為 1 小時,逾時後無法查詢到結果並且返回參數沒有 Data 這一屬性) |
price4modify/19862074****/rm-uf69xr871l***fj39/WQ9ULO4SLD**PQY5/FL1IZLW**3H78OC |
| ApplicationId |
string |
否 |
應用 ID |
02S7UU41WKJL7ERR |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID |
A07FFDF2-78FA-1B48-9E38-88E833A93187 |
| Message |
string |
錯誤資訊 |
Success |
| Code |
string |
響應碼 |
200 |
| Data |
object |
變更配置詢價結果 |
|
| TaskId |
string |
任務 ID。 |
d9a3e99b-6954-4a16-ad51-954db4a528b7 |
| Status |
string |
應用狀態 |
SUCCESS |
| PriceList |
array<object> |
計費結果清單
|
|
|
object |
計費結果清單 |
||
| NodeType |
string |
產品 code |
vpc |
| TradeAmount |
number |
最終價,為原價減去折扣金額。 |
1 |
| DiscountAmount |
number |
減免金額 |
2 |
| OriginalAmount |
number |
原價 |
3 |
| PriceUnit |
string |
單位:金額/時 |
200/hour |
| PromotionName |
string |
優惠資訊 |
Offer Information |
| Error |
string |
失敗原因 |
Get information on price failures |
| AccessDeniedDetail |
string |
許可權校正失敗詳情。 |
{ "PolicyType": "", "AuthPrincipalOwnerId": "", "EncodedDiagnosticMessage": "", "AuthPrincipalType": "", "AuthPrincipalDisplayName": "", "NoPermissionType": "", "AuthAction": "" } |
樣本
正常返回樣本
JSON格式
{
"RequestId": "A07FFDF2-78FA-1B48-9E38-88E833A93187",
"Message": "Success",
"Code": "200",
"Data": {
"TaskId": "d9a3e99b-6954-4a16-ad51-954db4a528b7",
"Status": "SUCCESS",
"PriceList": [
{
"NodeType": "vpc",
"TradeAmount": 1,
"DiscountAmount": 2,
"OriginalAmount": 3,
"PriceUnit": "200/hour",
"PromotionName": "Offer Information",
"Error": "Get information on price failures"
}
]
},
"AccessDeniedDetail": "{\n \"PolicyType\": \"\",\n \"AuthPrincipalOwnerId\": \"\",\n \"EncodedDiagnosticMessage\": \"\",\n \"AuthPrincipalType\": \"\",\n \"AuthPrincipalDisplayName\": \"\",\n \"NoPermissionType\": \"\",\n \"AuthAction\": \"\"\n }"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。