Obtains the list data of ticket problem categories.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductId |
integer |
Yes |
The ID of the product. You can call the ListProducts operation to obtain the product ID. The ProductId parameter is the ID of an Alibaba Cloud product. Multiple Categories are displayed for each product. |
18550 |
| Name |
string |
No |
The name of the classification question. Fuzzy search is supported. |
ecs |
| Language |
string |
No |
Multi-language, support, Chinese, English. Value definition: zh: Chinese, en: English. |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The response code. |
200 |
| Message |
string |
The error message. If success is set to false, the message is returned. |
success |
| RequestId |
string |
The ID of the request. |
CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC |
| Success |
boolean |
Indicates whether the request was successful. Valid values: The value true indicates a success. The value false indicates a failure. |
true |
| Data |
array<object> |
The return value, which is a list of question categories |
|
|
object |
|||
| CategoryName |
string |
The name of the ticket issue category. |
ECS |
| CategoryId |
integer |
The ID of the ticket issue category. |
7161 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC",
"Success": true,
"Data": [
{
"CategoryName": "ECS",
"CategoryId": 7161
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | param.illegal | Params illegal. | |
| 401 | illegal.auth | You are not authorized to perform the operation. | You are not authorized to perform this operation. |
| 500 | System.error | An error occurred while processing your request. | An error occurred while processing your request. Please try again. |
| 403 | No permissions | No permissions to access. | RAM authentication does not have permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.