获取指定动态码表的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求头
该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。
请求语法
POST /escalationPlan/detail HTTP/1.1
请求参数
名称 | 类型 | 位置 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|---|
Object | Body | 否 | A short description of struct |
||
escalationPlanId | Long | Body | 是 | 345 | 升级计划id |
clientToken | String | Body | 否 | A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST | 幂等标识 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
requestId | String | A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST | Id of the request |
data | Object | data |
|
escalationPlanId | Long | 2345 | 升级计划id |
escalationPlanName | String | 升级计划234 | 升级计划名称 |
escalationPlanDescription | String | 描述1234 | 升级计划描述 |
escalationPlanScopeObjects | Array of escalationPlanScopeObjects | 升级计划范围对象列表 |
|
scopeObjectId | Long | 234 | 范围对象id |
scope | String | SERVICE | 范围对象类型 |
scopeObjectName | String | xx服务 | 范围对象名称 |
escalationPlanScopeObjects | Integer | 1 | 服务删除字段 1正常 0删除 |
scopeObjectDeletedType | Integer | 1 | 服务删除字段 1正常 0删除 |
escalationPlanRules | Array of escalationPlanRules | 升级计划规则列表 |
|
escalationPlanRuleId | Long | 345 | 升级计划id |
escalationPlanConditions | Array of escalationPlanConditions | 升级计划条件 |
|
level | String | P1 | 事件等级 |
effection | String | LOW | 影响等级 |
escalationPlanStrategies | Array of escalationPlanStrategies | 升级计划策略 |
|
noticeTime | Long | 40 | 通知时间 |
escalationPlanType | String | UN_ACKNOWLEDGE | 升级计划类型 |
noticeObjectList | Array of noticeObjectList | 通知对象列表 |
|
noticeObjectId | Long | 234 | 通知对象id |
noticeObjectName | String | 张老三 | 通知对象名称 |
noticeChannels | String | SMS | 通知对象渠道 |
enableWebhook | Boolean | true | 是否支持群通知 |
serviceGroups | Array of serviceGroups | 服务组列表 |
|
id | Long | 343 | 服务组id |
serviceGroupName | String | VCD是 | 服务组名称 |
createTime | String | 2021-09-09 09:09:09 | 创建时间 |
示例
请求示例
POST /escalationPlan/detail HTTP/1.1
Host:gemp.aliyuncs.com
Content-Type:application/json
{
"escalationPlanId" : 345
}
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<GetEscalationPlanResponse>
<requestId>A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST</requestId>
<data>
<escalationPlanId>2345</escalationPlanId>
<escalationPlanName>升级计划234</escalationPlanName>
<escalationPlanDescription>描述1234</escalationPlanDescription>
<escalationPlanScopeObjects>
<scopeObjectId>234</scopeObjectId>
<scope>SERVICE</scope>
<scopeObjectName>xx服务</scopeObjectName>
</escalationPlanScopeObjects>
<escalationPlanRules>
<escalationPlanRuleId>345</escalationPlanRuleId>
<escalationPlanType>UN_ACKNOWLEDGE</escalationPlanType>
<escalationPlanConditions>
<level>P1</level>
<effection>LOW</effection>
</escalationPlanConditions>
<escalationPlanStrategies>
<noticeTime>40</noticeTime>
<noticeObjects>43</noticeObjects>
<noticeChannels>SMS</noticeChannels>
</escalationPlanStrategies>
</escalationPlanRules>
<createTime>2021-09-09 09:09:09</createTime>
</data>
</GetEscalationPlanResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"requestId" : "A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST",
"data" : {
"escalationPlanId" : 2345,
"escalationPlanName" : "升级计划234",
"escalationPlanDescription" : "描述1234",
"escalationPlanScopeObjects" : [ {
"scopeObjectId" : 234,
"scope" : "SERVICE",
"scopeObjectName" : "xx服务"
} ],
"escalationPlanRules" : [ {
"escalationPlanRuleId" : 345,
"escalationPlanType" : "UN_ACKNOWLEDGE",
"escalationPlanConditions" : [ {
"level" : "P1",
"effection" : "LOW"
} ],
"escalationPlanStrategies" : [ {
"noticeTime" : 40,
"noticeObjects" : [ 43 ],
"noticeChannels" : "SMS"
} ]
} ],
"createTime" : "2021-09-09 09:09:09"
}
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | EscalationPlanNotExists | The specified escalation plan does not exist. | 升级计划不存在 |
访问错误中心查看更多错误码。
访问错误中心查看更多错误码。