Retrieves the result of a price inquiry.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:GetResult4QueryInstancePrice4Modify |
get |
*BPStudioVirtual
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
Yes |
The ID of the price inquiry task for the instance configuration change. The ID is valid for one hour. If the task times out, you cannot query the result and the Data parameter is not returned. |
price4modify/19862074****/rm-uf69xr871l***fj39/WQ9ULO4SLD**PQY5/FL1IZLW**3H78OC |
| ApplicationId |
string |
No |
The application ID. |
02S7UU41WKJL7ERR |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
A07FFDF2-78FA-1B48-9E38-88E833A93187 |
| Message |
string |
The error message. |
Success |
| Code |
string |
The response code. |
200 |
| Data |
object |
The result of the price inquiry for the instance configuration change. |
|
| TaskId |
string |
The task ID. |
d9a3e99b-6954-4a16-ad51-954db4a528b7 |
| Status |
string |
The application status. |
SUCCESS |
| PriceList |
array<object> |
The list of billing results.
|
|
|
object |
The list of billing results. |
||
| NodeType |
string |
The product code. |
vpc |
| TradeAmount |
number |
The final price. This is the original price minus the discount. |
1 |
| DiscountAmount |
number |
The discount. |
2 |
| OriginalAmount |
number |
The original price. |
3 |
| PriceUnit |
string |
The unit: Amount/Hour. |
200/hour |
| PromotionName |
string |
The discount information. |
Offer Information |
| Error |
string |
The cause of the failure. |
Get information on price failures |
| AccessDeniedDetail |
string |
The details about the failed permission verification. |
{ "PolicyType": "", "AuthPrincipalOwnerId": "", "EncodedDiagnosticMessage": "", "AuthPrincipalType": "", "AuthPrincipalDisplayName": "", "NoPermissionType": "", "AuthAction": "" } |
Examples
Success response
JSON format
{
"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 }"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.