故障详情。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

POST /problem/detail HTTP/1.1

请求参数

名称 类型 位置 是否必选 示例值 描述
Object Body

body

problemId Long Body 1

故障id

clientToken String Body C4BE3837-1A13-413B-A225-2C88188E8A43

幂等号

返回数据

名称 类型 示例值 描述
data Object

详情

problemId Long 1

ID

createTime String 2010-03-09 15:53:45

创建时间

incidentNumber String I3443835000012016260833157948165

事件编号

incidentId Long 130000032

事件id

problemNumber String P34438300010030116260833538987481

故障编号

problemName String 故障

故障名称

problemStatus Integer HANDLING

故障状态

HANDLING 处理中

RECOVERED 已恢复

REPLAYING 复盘中

REPLAYED 已复盘

CANCEL 已取消

problemLevel Integer P1

故障等级 1=P1 2=P2 3=P3 4=P4

discoverTime String 2010-03-09 15:53:45

发现时间

recoveryTime String 2010-03-09 15:53:45

恢复时间

relatedServiceId Long 1

关联服务ID

serviceName String 服务

关联服务名称

progressSummary String 进展摘要

进展摘要

preliminaryReason String 初步原因

初步原因

mainHandler Long 小王

主要处理人

mainHandlerId Long 2000

主要处理人ID

mainHandlerPhone String 1308987****

主要处理人手机号

feedback String feedback

舆情反馈

cancelReasonDescription String 取消原因描述

取消原因描述

cancelReason Long 取消原因

取消原因

durationTime Long 300000

持续时间

progressSummaryRichTextId Long 1231231

进展摘要富文本id

handingProblemOperateLogs Array of 处理中故障操作日志

处理中故障操作日志

operator String 小王

操作人

userId Long 233

用户id

actionName String 取消故障

动作名称

actionTime String 2010-03-09 15:53:45

操作名称

userIsValid Long 1

用户是否合法

restoredProblemOperateLogs Array of 已恢复故障操作日志

已恢复故障操作日志

operator String 小王

操作人

userId Long 3232

用户id

actionName String 恢复故障

动作名称

actionTime String 2020-08-08 15:39:39

操作名称

userIsValid Long 1

用户是否合法

replayingProblemOperateLogs Array of 复盘中故障操作日志

复盘中故障操作日志

operator String 小杰

操作人

userId Long 用户id

用户id

actionName String 复盘故障

动作名称

actionTime String 2020-08-08 15:39:39

操作名称

userIsValid Long 1

用户是否合法

replayProblemOperateLogs Array of 已复盘故障操作日志

已复盘故障操作日志

operator String 小王

操作人

userId Long 2323

用户id

actionName String 复盘故障

动作名称

actionTime String 2020-08-08 15:39:39

操作名称

userIsValid Long 1

用户是否合法

effectionServices Array of 影响服务

影响服务

effectionServiceId Long 1

服务ID

effectionLevel Long P1

影响等级 P1 . P2 P3 P4

effectionStatus Integer RESTORED

影响服务状态 RECOVERED 已经恢复 ,UN_RECOVERED 未恢复

description String 描述

影响描述

serviceName String 购物车

服务名称

serviceDeleteType Integer 1

服务删除字段 1正常 0删除

coordinationGroups Array of 应急协同组

应急协同组

serviceGroupId Long 1

服务组ID

serviceGroupName String 冲上云霄

服务组名字

isValid Long 1

是否合法

timelines Array of 故障操作时间线

故障操作时间线

keyNode String 1,2,3,4,5,7,6,8,9,10

关键节点码表:PROBLEM_KEY_NODE

cancelProblemOperateLogs Array of 已取消故障操作日志

已取消故障操作日志

operator String 小王

操作人

actionName String 取消故障

动作名称

actionTime String 2020-09-08 15:38:38

操作时间

userId Long 66666

用户ID

serviceDeleteType Integer 1

serviceDeleteType

mainHandlerIsValid Long 1

主要处理人生效状态,1生效,0失效

isRuleTrigger Boolean 1

是否规则触发 1 是 0不是

requestId String C4BE3837-1A13-41VB-A225-2C88188E8A43

请求ID

示例

请求示例

POST /problem/detail HTTP/1.1
Host:gemp.aliyuncs.com
Content-Type:application/json

{
  "problemId" : 1,
  "clientToken" : "C4BE3837-1A13-413B-A225-2C88188E8A43"
}

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<GetProblemResponse>
    <data>
        <problemId>1</problemId>
        <createTime>2010-03-09 15:53:45</createTime>
        <incidentNumber>I3443835000012016260833157948165</incidentNumber>
        <incidentId>130000032</incidentId>
        <problemNumber>P34438300010030116260833538987481</problemNumber>
        <problemName>故障</problemName>
        <discoverTime>2010-03-09 15:53:45</discoverTime>
        <recoveryTime>2010-03-09 15:53:45</recoveryTime>
        <relatedServiceId>1</relatedServiceId>
        <serviceName>服务</serviceName>
        <progressSummary>进展摘要</progressSummary>
        <preliminaryReason>初步原因</preliminaryReason>
        <mainHandlerId>2000</mainHandlerId>
        <feedback>feedback</feedback>
        <cancelReasonDescription>取消原因描述</cancelReasonDescription>
        <handingProblemOperateLogs>
            <operator>小王</operator>
            <actionName>取消故障</actionName>
            <actionTime>2010-03-09 15:53:45</actionTime>
        </handingProblemOperateLogs>
        <restoredProblemOperateLogs>
            <operator>小王</operator>
            <actionName>恢复故障</actionName>
            <actionTime>2020-08-08 15:39:39</actionTime>
        </restoredProblemOperateLogs>
        <replayingProblemOperateLogs>
            <operator>小杰</operator>
            <actionName>复盘故障</actionName>
            <actionTime>2020-08-08 15:39:39</actionTime>
        </replayingProblemOperateLogs>
        <replayProblemOperateLogs>
            <operator>小王</operator>
            <actionName>复盘故障</actionName>
            <actionTime>2020-08-08 15:39:39</actionTime>
        </replayProblemOperateLogs>
        <effectionServices>
            <effectionServiceId>1</effectionServiceId>
            <description>描述</description>
            <serviceName>购物车</serviceName>
        </effectionServices>
        <coordinationGroups>
            <serviceGroupId>1</serviceGroupId>
            <serviceGroupName>冲上云霄</serviceGroupName>
        </coordinationGroups>
        <timelines>
            <keyNode>1,2,3,4,5,7,6,8,9,10</keyNode>
        </timelines>
        <cancelProblemOperateLogs>
            <operator>小王</operator>
            <actionName>取消故障</actionName>
            <actionTime>2020-09-08 15:38:38</actionTime>
        </cancelProblemOperateLogs>
    </data>
    <requestId>C4BE3837-1A13-41VB-A225-2C88188E8A43</requestId>
</GetProblemResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "data" : {
    "problemId" : 1,
    "createTime" : "2010-03-09 15:53:45",
    "incidentNumber" : "I3443835000012016260833157948165",
    "incidentId" : 130000032,
    "problemNumber" : "P34438300010030116260833538987481",
    "problemName" : "故障",
    "discoverTime" : "2010-03-09 15:53:45",
    "recoveryTime" : "2010-03-09 15:53:45",
    "relatedServiceId" : 1,
    "serviceName" : "服务",
    "progressSummary" : "进展摘要",
    "preliminaryReason" : "初步原因",
    "mainHandlerId" : 2000,
    "feedback" : "feedback",
    "cancelReasonDescription" : "取消原因描述",
    "handingProblemOperateLogs" : [ {
      "operator" : "小王",
      "actionName" : "取消故障",
      "actionTime" : "2010-03-09 15:53:45"
    } ],
    "restoredProblemOperateLogs" : [ {
      "operator" : "小王",
      "actionName" : "恢复故障",
      "actionTime" : "2020-08-08 15:39:39"
    } ],
    "replayingProblemOperateLogs" : [ {
      "operator" : "小杰",
      "actionName" : "复盘故障",
      "actionTime" : "2020-08-08 15:39:39"
    } ],
    "replayProblemOperateLogs" : [ {
      "operator" : "小王",
      "actionName" : "复盘故障",
      "actionTime" : "2020-08-08 15:39:39"
    } ],
    "effectionServices" : [ {
      "effectionServiceId" : 1,
      "description" : "描述",
      "serviceName" : "购物车"
    } ],
    "coordinationGroups" : [ {
      "serviceGroupId" : 1,
      "serviceGroupName" : "冲上云霄"
    } ],
    "timelines" : [ {
      "keyNode" : "1,2,3,4,5,7,6,8,9,10"
    } ],
    "cancelProblemOperateLogs" : [ {
      "operator" : "小王",
      "actionName" : "取消故障",
      "actionTime" : "2020-09-08 15:38:38"
    } ]
  },
  "requestId" : "C4BE3837-1A13-41VB-A225-2C88188E8A43"
}

错误码

HttpCode 错误码 错误信息 描述
404 ProblemNotExisted The problem does not exist. 故障不存在

访问错误中心查看更多错误码。

访问错误中心查看更多错误码。