启用升级计划。

调试

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

请求头

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

请求语法

POST /escalationPlan/enable HTTP/1.1

请求参数

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

A short description of struct

escalationPlanId Long Body 234534

升级计划ID

clientToken String Body A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST

幂等标识

返回数据

名称 类型 示例值 描述
requestId String A5A1FEAE-9C47-011C-9C73-A376BC21925D

Id of the request

示例

请求示例

POST /escalationPlan/enable HTTP/1.1
Host:gemp.aliyuncs.com
Content-Type:application/json

{
  "escalationPlanId" : 234534,
  "clientToken" : "A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST"
}

正常返回示例

XML格式

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

<EnableEscalationPlanResponse>
    <requestId>A5A1FEAE-9C47-011C-9C73-A376BC21925D</requestId>
</EnableEscalationPlanResponse>

JSON格式

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

{
  "requestId" : "A5A1FEAE-9C47-011C-9C73-A376BC21925D"
}

错误码

HttpCode 错误码 错误信息 描述
400 EscalationPlanAlreadyEnable The escalation plan is already enabled. 升级计划已启用
404 EscalationPlanNotExists The specified escalation plan does not exist. 升级计划不存在

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

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