Updated on 2022-10-13 GMT+08:00
Querying Service Ticket Details

Querying Service Ticket Details

Function Description

Users query details of a submitted HUAWEI CLOUD service ticket.

URI

GET /v1.0/servicerequest/case/detail

Request

Request Parameters

Parameter

Mandatory

Type

Value Range

Description

caseId

Yes

String

32

Specifies the service ticket ID.

See Querying Service Ticket Details to get the ID.

Request Example

caseId=TT201801020526 

Response Message

Response Parameters

Table 1 Response parameters

Parameter

Type

Description

caseDetail

CaseDetail

Describes the service ticket details.

For details, see Table 2.

Table 2 caseDetail field description

Parameter

Type

Description

caseId

String

Specifies the service ticket ID.

businessTypeName

String

Specifies the problem type name.

incidentTypeName

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 problem regarding the service ticket.

status

Integer

Service ticket status.

0: To be handled

1: Processing

2: Result pending confirmation

3: Completed

4: Canceled

sourceName

String

Specifies the service ticket source name.

createTime

TimeStamp

Specifies the service ticket creation time.

Example time format: 2019-05-22T03:30:52Z

messageList

List<Message>

Specifies the message list of the service ticket.

For details, see Table 3.

satisfaction

List<Satisfaction>

Satisfaction rating.

For details, see Table 5.

judgment

String

Evaluation of the service ticket service.

isAuthorized

Integer

Whether it is authorized or not

0: Not authorized

1: Authorized

Table 3 messageList field data structure

Parameter

Type

Description

messageId

String

Indicates the message ID.

type

Integer

Indicates the message type.

0 indicates customer message

1 indicates reply message by customer service personnel.

replier

String

Specifies the message replier.

replierName

String

Specifies the replier name.

content

String

Specifies the message content.

accessoryDetailList

List<AccessoryDetail>

Specifies the message attachment list.

For details, see Table 4.

createTime

TimeStamp

Specifies the creation time.

Table 4 accessoryDetailList field data structure

Parameter

Type

Description

accessoryId

String

Specifies the attachment ID.

accessoryName

String

Specifies the attachment name.

Table 5 satisfaction field data structure

Parameter

Type

Description

satisfactionId

Integer

Specifies the satisfaction ID.

1: Satisfaction on timeliness

3: Satisfaction on handling result

satisfactionValue

Integer

Indicates the satisfaction degree (from 1 to 5).

Example Response

{
    "caseDetail": {
        "caseId": "TT201801020526",
        "businessTypeName": "Event discount",
        "typeName": "Consulting",
        "customerId": "xxx",
        "dcName": "CN North-Beijing1",
        "simpleDescribe": "Is there any event discount?",
        "status": 3,
        "sourceName": "User Center",
        "createTime": 2019-05-22T03:30:52Z,
        "messageList": [
            {
                "messageId": "xxx",
                "type": 0,
                "replier": "xxx",
                "replierName": "xxx",
                "content": "Problem description: Is there any event discount?",
                "createTime": 2019-05-22T03:30:52Z,
                "accessoryDetailList": []
            },
            {
                "messageId": "xxx",
                "type": 1,
                "replier": "xxx",
                "content": "Thank you for your feedback. We will contact you within one workday. Please keep your phone available. Thank you!",
                "createTime": 2019-05-22T03:30:52Z,
                "accessoryDetailList": []
            }
        ],
        "satisfaction": [
            {
                "satisfactionId": 1,
                "satisfactionValue": 5
            },
            {
                "satisfactionId": 3,
                "satisfactionValue": 5
            }
        ],
        "isauthorized": 0,
        "judgment": "Satisfactory"
    }
}

Status Code

For details about status codes, see Status Codes.

Error Code

For details about error codes, see Historical Error Codes.