故障影响服务详情

调试

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

请求头

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

请求语法

POST /problem/process/effectionService/detail HTTP/1.1

请求参数

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

A short description of struct

effectionServiceId Long Body 9

id主键

problemId Long Body 46

故障id

clientToken String Body e2d4306a-bf4d-4345-9ae6-158223c85dbd

clientToken

返回数据

名称 类型 示例值 描述
requestId String e2d4306a-bf4d-4345-9ae6-158223c85dbd

requestId

data Object

data

effectionServiceId Long 6442430

影响服务id

serviceName String 哈哈

服务名称

serviceId Long 170000000

服务id

level Long P2

影响等级

status Long UN_RECOVERED

影响状态 0 未恢复 1已恢复

description String ew

影响描述

picUrl Array of String [ "problem/axxxxxx2-1xxxx4565-be92-f44ae2xxxxx", "problem/7xxxxxxe314-49998-b9e7-399e78b41fbd", "problem/xxxxx-f40d-4611-0978-1d1f719a929a" ]

图片key

示例

请求示例

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

{
  "effectionServiceId" : 9,
  "problemId" : 46,
  "clientToken" : "e2d4306a-bf4d-4345-9ae6-158223c85dbd"
}

正常返回示例

XML格式

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

<GetProblemEffectionServiceResponse>
    <requestId>e2d4306a-bf4d-4345-9ae6-158223c85dbd</requestId>
    <data>
        <effectionServiceId>6442430</effectionServiceId>
        <serviceName>哈哈</serviceName>
        <serviceId>170000000</serviceId>
        <description>ew</description>
        <picUrl>[             "problem/axxxxxx2-1xxxx4565-be92-f44ae2xxxxx",             "problem/7xxxxxxe314-49998-b9e7-399e78b41fbd",             "problem/xxxxx-f40d-4611-0978-1d1f719a929a"         ]</picUrl>
    </data>
</GetProblemEffectionServiceResponse>

JSON格式

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

{
  "requestId" : "e2d4306a-bf4d-4345-9ae6-158223c85dbd",
  "data" : {
    "effectionServiceId" : 6442430,
    "serviceName" : "哈哈",
    "serviceId" : 170000000,
    "description" : "ew",
    "picUrl" : [ "[             \"problem/axxxxxx2-1xxxx4565-be92-f44ae2xxxxx\",             \"problem/7xxxxxxe314-49998-b9e7-399e78b41fbd\",             \"problem/xxxxx-f40d-4611-0978-1d1f719a929a\"         ]" ]
  }
}

错误码

HttpCode 错误码 错误信息 描述
404 EffectionServiceNotExisted EffectionService does not exist. 影响服务不存在
404 ProblemNotExisted The problem does not exist. 故障不存在

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

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