Domain name for API request: yunjing.tencentcloudapi.com.
This API (InquiryPriceOpenProVersionPrepaid) is used to inquire the price for activating HS Pro (prepaid).
Default request rate limit: 20/sec.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The valueused for this API: InquiryPriceOpenProVersionPrepaid. |
Version | Yes | String | Common parameter. The value used for this API: 2/28/2018 |
Region | No | String | Common parameter. This parameter is not required for this API. |
ChargePrepaid | Yes | ChargePrepaid | Parameter for setting prepaid mode. |
Machines.N | Yes | Array of ProVersionMachine | Array of the hosts with HS Pro activated. |
Parameter Name | Type | Description |
---|---|---|
OriginalPrice | Float | Original price of prepaid fees (in CNY). |
DiscountPrice | Float | Discount price of prepaid fees (in CNY). |
RequestId | String | The unique ID of a request, which is required for each troubleshooting case. |
https://yunjing.tencentcloudapi.com/?Action=InquiryPriceOpenProVersionPrepaid
&ChargePrepaid.Period=1
&Machines.0.MachineType=CVM
&Machines.0.MachineRegion=ap-guangzhou
&Machines.0.Quuid=add4a78a-0d59-11e8-b7ab-00e081e1a5c5
&<Common request parameters>
{
"Response": {
"DiscountPrice": 88.88,
"RequestId": "354f4ac3-8546-4516-8c8a-69e3ab73aa8a",
"OriginalPrice": 100
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using cloud APIs.
The following only lists the error codes related to this API. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation.InquiryPrice | Price query failed. |
InternalError | Internal error. |
InvalidParameter.InvalidFormat | Incorrect parameter format. |
Was this page helpful?