更新故障影响服务。

调试

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

请求头

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

请求语法

POST /problem/process/effectionService/update HTTP/1.1

请求参数

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

A short description of struct

serviceId Long Body 33

关联服务id

level String Body P1

影响等级

status String Body UN_RECOVERED

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

description String Body xxxx大厦

影响描述

picUrl Array of String Body problem/xxxxxxxx-a2c8-40b9-9162-08a6c2e338e2

图片key

problemId Long Body 190000000

故障id

effectionServiceId Long Body 103

影响服务id

clientToken String Body c26f36de-1ec8-496a-a828-880676c5ef81

clientToken

返回数据

名称 类型 示例值 描述
requestId String ffbf594-e093-46ad-bdcd-df4d7097125a

requestId

示例

请求示例

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

{
  "serviceId" : 33,
  "level" : "P1",
  "status" : "UN_RECOVERED",
  "description" : "xxxx大厦",
  "picUrl" : [ "problem/xxxxxxxx-a2c8-40b9-9162-08a6c2e338e2" ],
  "problemId" : 190000000,
  "effectionServiceId" : 103,
  "clientToken" : "c26f36de-1ec8-496a-a828-880676c5ef81"
}

正常返回示例

XML格式

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

<UpdateProblemEffectionServiceResponse>
    <requestId>ffbf594-e093-46ad-bdcd-df4d7097125a</requestId>
</UpdateProblemEffectionServiceResponse>

JSON格式

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

{
  "requestId" : "ffbf594-e093-46ad-bdcd-df4d7097125a"
}

错误码

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

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

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