Querying Service Ticket List
Function Description
Users query the list of submitted HUAWEI CLOUD service tickets.
URI
GET /v1.0/servicerequest/case
Request
Request Parameters
Parameter |
Mandatory |
Type |
Value Range |
Description |
---|---|---|---|---|
searchKey |
No |
String |
16 |
Fuzzy search for brief description of the service ticket. |
caseId |
No |
String |
32 |
Fuzzy search for the service ticket number. |
subCustomerName |
No |
String |
32 |
Fuzzy search for the IAM username. |
startTime |
No |
String |
N/A |
Start time of the service ticket to be queried. Example time format: 2019-05-22 03:30:52 |
endTime |
No |
String |
N/A |
End time of the service ticket to be queried. Example time format: 2019-05-22 03:30:52 |
status |
No |
Integer |
N/A |
Status. 0: To be handled 1: Processing 2: Result pending confirmation 3: Completed 4: Canceled When all are queried, the result is empty. |
pageNo |
No |
Integer |
N/A |
Specifies the current page number. When this parameter is not passed, the default value is 1. |
pageSize |
No |
Integer |
N/A |
Specifies the number of records on each page. The value range is 1 to 100. If this parameter is not passed, the default value is 10. |
Request Example
searchKey=HUAWEI CLOUD&caseId=&startTime=&endTime=&subCustomerId=test&status=&pageNo=1&pageSize=10
Response Message
Response Parameters
Parameter |
Type |
Description |
---|---|---|
totalCount |
Integer |
Specifies the total number of service tickets. |
caseList |
List<Case> |
Specifies the list of service ticket information. For details, see Table 3. |
Parameter |
Type |
Description |
---|---|---|
caseId |
String |
Specifies the service ticket ID. |
businessTypeName |
String |
Specifies the problem type name. |
typeName |
String |
Specifies the type name. |
customerId |
String |
Specifies the account ID. |
subCustomerId |
String |
IAM user ID. |
subCustomerName |
String |
IAM username. |
dcName |
String |
Specifies the region name. |
simpleDescribe |
String |
Brief description of the service ticket. |
status |
String |
Service ticket status. 0: To be handled 1: Processing 2: Result pending confirmation 3: Completed 4: Canceled 12: Invalid |
createTime |
TimeStamp |
Specifies the service ticket creation time. Example time format: 2019-05-22T03:30:52Z |
Example Response
{ "totalCount": 13, "caseList": [ { "caseId": "TT201801020526", "businessTypeName": "Remote log-in", "typeName": "Fault reporting", "customerId": "f9ae1952bf75xxx1a0099d93ba9dd91f", "subCustomerId": "3dc0ca7ffd3xxx26a40f5cfa1a0da7f0", "subCustomerName": "xxx", "dcName": "CN North-Beijng1", "simpleDescribe": "When a remote desktop is used to connect to a Windows VM and the normal resolution is used, icons on the page are too small.", "status": 3, "createTime": 2019-05-22T03:30:52Z }, { "caseId": "TT201712280631", "businessTypeName": "ECS creation", "typeName": "Fault reporting", "customerId": "f9ae1952bf75xxx1a0099d93ba9dd91f", "subCustomerId": "3dc0ca7ffd3xxx26a40f5cfa1a0da7f0", "subCustomerName": "xxx", "dcName": "CN North-Beijng4", "simpleDescribe": "Failed to create ECS", "status": 3, "createTime": 2019-05-22T03:30:52Z } ... ] }
Status Code
For details about status codes, see Status Codes.
Error Code
For details about error codes, see Historical Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.