Domain name for API request: intlpartnersmgt.intl.tencentcloudapi.com.
This API is used to query the product list information within the specified policy range. To call this API, contact your account manager to add it to the allowlist.
A maximum of 20 requests can be initiated per second for this API.
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 Params. The value used for this API: QueryPolicyProductListByCode. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-28. |
Region | No | String | Common Params. This parameter is not required. |
PolicyCode | Yes | String | Policy code |
ProductCode | No | String | Product code |
ProductName | No | String | Product name |
SubProductCode | No | String | Subproduct code |
SubProductName | No | String | Subproduct name |
Parameter Name | Type | Description |
---|---|---|
ProductList | Array of PolicyProductList | Policy product list |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to query policy list data by the reseller policy code and subproduct name
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: QueryPolicyProductListByCode
<Common request parameters>
{
"PolicyCode": "StandardPolicy2024",
"ProductCode": "",
"ProductName": "",
"SubProductCode": "",
"SubProductName": "CBM Memory Optimized BMM5"
}
{
"Response": {
"ProductList": [
{
"ComponentCode": "*",
"ComponentName": "*",
"ComponentTypeCode": "*",
"ComponentTypeName": "*",
"EndDate": "2024-12-31 00:00:00",
"PolicyCode": "StandardPolicy2024",
"ProductCode": "p_cvm",
"ProductName": "Cloud Virtual Machine(CVM)",
"StartDate": "2024-01-01 00:00:00",
"SubProductCode": "sp_cvm_bmm5m",
"SubProductName": "CBM Memory Optimized BMM5"
}
],
"RequestId": "5d1eb9c4-8e1b-4c8c-99b3-209e7ce35a34"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
本页内容是否解决了您的问题?