更新时间:2023-12-18 GMT+08:00
分享

查询工单详情

功能介绍

查询工单详情

调试

您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。

URI

GET /v2/servicerequest/cases/{case_id}

表1 路径参数

参数

是否必选

参数类型

描述

case_id

String

工单id

最小长度:1

最大长度:64

表2 Query参数

参数

是否必选

参数类型

描述

group_id

String

组id

最小长度:0

最大长度:64

请求参数

表3 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

用户Token。

通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。

最小长度:1

最大长度:5000

X-Language

String

语言环境,值为通用的语言描述字符串,比如zh-cn等,默认为zh-cn。

会根据语言环境对应展示一些国际化的信息,比如工单类型名称等。

最小长度:1

最大长度:32

X-Time-Zone

String

环境时区,值为通用的时区描述字符串,比如GMT+8等,默认为GMT+8。

涉及时间的数据会根据环境时区处理。

最小长度:1

最大长度:32

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

incident_detail_info

IncidentDetailInfoV2 object

工单详情

表5 IncidentDetailInfoV2

参数

参数类型

描述

xcustomer_id

String

子用户id

最小长度:0

最大长度:64

xcustomer_name

String

子用户名称

最小长度:0

最大长度:256

status

Integer

状态 0:待受理 1:处理中 2:待确认结果 3:已完成 4:已撤销 12:无效 17: 待反馈

最小值:0

最大值:20

judgement

String

评价内容

最小长度:0

最大长度:400

incident_id

String

工单id

最小长度:0

最大长度:64

business_type_name

String

问题类型名称

最小长度:0

最大长度:64

incident_type_name

String

工单类型名称

最小长度:0

最大长度:64

customer_id

String

客户id

最小长度:0

最大长度:64

dc_name

String

区域名称

最小长度:0

最大长度:64

simple_description

String

简要描述

最小长度:0

最大长度:2000

source_name

String

来源名称

最小长度:0

最大长度:64

create_time

String

创建时间

最小长度:0

最大长度:32

message_list

Array of IncidentMessageV2 objects

留言列表

数组长度:0 - 65535

incident_satisfaction

Array of IncidentSatisfactionV2Do objects

满意度列表

数组长度:0 - 65535

severity_name

String

严重性名称

最小长度:0

最大长度:64

business_ownership

Integer

业务归属 0华为云 1BP伙伴 2ISV

最小值:0

最大值:2

resolve_time

Long

解决时间

最小值:0

最大值:9223372036854775807

ext_info

IncidentDetailExtInfoV2 object

工单附加信息

表6 IncidentMessageV2

参数

参数类型

描述

type

Integer

类型,0客户留言 1华为工程师留言

最小值:0

最大值:1

replier

String

回复人ID

最小长度:0

最大长度:64

content

String

留言内容

最小长度:0

最大长度:5000

message_id

String

留言id

最小长度:0

最大长度:64

replier_name

String

回复人名称

最小长度:0

最大长度:256

create_time

String

创建时间

最小长度:0

最大长度:32

is_first_message

Integer

是否是第一条留言

最小值:0

最大值:1

accessory_list

Array of SimpleAccessoryV2 objects

附件列表

数组长度:0 - 65535

表7 SimpleAccessoryV2

参数

参数类型

描述

accessory_id

String

附件id

最小长度:0

最大长度:64

file_actual_name

String

附件实际名称

最小长度:0

最大长度:256

表8 IncidentSatisfactionV2Do

参数

参数类型

描述

value

Integer

满意度总分数

最小值:0

最大值:65535

satisfaction_id

Integer

满意度分类id

最小值:0

最大值:9999

satisfaction_value

Integer

满意度的值

最小值:0

最大值:65535

satisfaction_name

String

满意度分类名称

最小长度:0

最大长度:32

per_value

Integer

每格的分数

最小值:0

最大值:65535

sat_category_id

String

满意度维度id

最小长度:0

最大长度:32

sat_category_name

String

满意度维度名称

最小长度:0

最大长度:32

表9 IncidentDetailExtInfoV2

参数

参数类型

描述

area_code

String

国家码

最小长度:0

最大长度:16

remind_mobile

String

提醒手机

最小长度:0

最大长度:32

remind_mail

String

提醒邮箱

最小长度:0

最大长度:256

contact_type

String

联系方式类型

最小长度:0

最大长度:1

remind_time

String

提醒时间

最小长度:0

最大长度:32

cc_email

String

抄送邮箱

最小长度:0

最大长度:5000

commodity_id

String

ISV商品id

最小长度:0

最大长度:64

请求示例

响应示例

状态码: 200

response of 200

{
  "incident_detail_info" : {
    "incident_id" : "123",
    "business_type_name" : "123",
    "incident_type_name" : "123",
    "customer_id" : "123",
    "xcustomer_id" : "123",
    "xcustomer_name" : "123",
    "dc_name" : "123",
    "simple_description" : "123",
    "status" : 1,
    "judgement" : "123",
    "message_list" : [ {
      "type" : 0,
      "replier" : "test",
      "message_id" : "test",
      "content" : "test",
      "replier_name" : "test",
      "create_time" : "test",
      "is_first_message" : 0,
      "accessory_list" : [ {
        "accessory_id" : "test",
        "file_actual_name" : "test"
      } ]
    } ],
    "incident_satisfaction" : [ {
      "value" : 1,
      "satisfaction_value" : 1,
      "satisfaction_id" : 1,
      "satisfaction_name" : "test",
      "per_value" : 1,
      "sat_category_id" : "test",
      "sat_category_name" : "test"
    } ],
    "severity_name" : "test",
    "business_ownership" : 1,
    "resolve_time" : "test",
    "ext_info" : [ {
      "area_code" : "test",
      "remind_mobile" : "test",
      "remind_mail" : "test",
      "contact_type" : "test",
      "remind_time" : "test",
      "cc_email" : "test",
      "commodity_id" : "test"
    } ],
    "source_name" : "123",
    "create_time" : "123"
  }
}

状态码

状态码

描述

200

response of 200

错误码

请参见错误码

分享:

    相关文档

    相关产品