Queries the common questions for a specific product.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListCommonQuestion | The operation that you want to perform. Set the value to ListCommonQuestion. |
Language | String | No | zh | The language that you use, supporting English, Chinese, and Japanese. Valid values: en, zh, and jp, which indicate English, Chinese, and Japanese, respectively. |
ProductId | Long | No | 12 | The product ID. You can call the ListProducts operation to obtain product information. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 | The status code. |
Data | Struct | The data returned after the call succeeds. |
|
List | Array | The list of common questions. |
|
Id | Integer | 34 | The ID of the common question. |
Name | String | Remote connection consultation | The name of the common question. |
Message | String | success | The prompt message. |
RequestId | String | CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC | The ID of the request. |
Success | Boolean | true | Indicates whether the request is successful. The value true indicates a success. The value false indicates a failure. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ListCommonQuestion
&<Common request parameters>
Sample success responses
XML
format
<Message>success</Message>
<Data>
<List>
<Id>218</Id>
<Name>Independent cloud disk application</Name>
</List>
<List>
<Id>25</Id>
<Name>ECS technical consultation</Name>
</List>
<List>
<Id>169</Id>
<Name>ECS service consultation</Name>
</List>
</Data>
<Code>200</Code>
<Success>true</Success>
JSON
format
{
"Message": "success",
"Data": {
"List": [
{
"Id": 218,
"Name": "Independent cloud disk application"
},
{
"Id": 25,
"Name": "ECS technical consultation"
},
{
"Id": 169,
"Name": "ECS service consultation"
}
]
},
"Code": 200,
"Success": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | param.illegal | The specified parameter is invalid. Please check the parameter. | The error message returned because there are invalid parameters. Modify the parameter settings as required. |
500 | System.error | An error occurred while processing your request. | The error message returned because an internal error has occurred. Try again later. |
For a list of error codes, visit the API Error Center.