获取指定动态码表的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
gemp:GetEscalationPlan |
get |
*全部资源
|
无 | 无 |
请求语法
POST /escalationPlan/detail HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| body |
object |
否 |
A short description of struct |
|
| escalationPlanId |
integer |
是 |
升级计划 id |
345 |
| clientToken |
string |
否 |
幂等标识 |
A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST |
| data |
object |
data |
|
| escalationPlanId |
integer |
升级计划 id |
2345 |
| escalationPlanName |
string |
升级计划名称 |
升级计划234 |
| escalationPlanDescription |
string |
升级计划描述 |
描述1234 |
| escalationPlanScopeObjects |
array<object> |
升级计划范围对象列表 |
|
|
object |
object |
||
| scopeObjectId |
integer |
范围对象 id |
234 |
| scope |
string |
范围对象类型 |
SERVICE |
| scopeObjectName |
string |
范围对象名称 |
xx服务 |
| escalationPlanScopeObjects |
integer |
服务删除字段 1 正常 0 删除 |
1 |
| scopeObjectDeletedType |
integer |
服务删除字段 1 正常 0 删除 |
1 |
| escalationPlanRules |
array<object> |
升级计划规则列表 |
|
|
array<object> |
object |
||
| escalationPlanRuleId |
integer |
升级计划 id |
345 |
| escalationPlanConditions |
array<object> |
升级计划条件 |
|
|
object |
object |
||
| level |
string |
事件等级 |
P1 |
| effection |
string |
影响等级 |
LOW |
| escalationPlanStrategies |
array<object> |
升级计划策略 |
|
|
array<object> |
object |
||
| noticeTime |
integer |
通知时间 |
40 |
| escalationPlanType |
string |
升级计划类型 |
UN_ACKNOWLEDGE |
| noticeObjectList |
array<object> |
通知对象列表 |
|
|
object |
object |
||
| noticeObjectId |
integer |
通知对象 id |
234 |
| noticeObjectName |
string |
通知对象名称 |
张老三 |
| noticeChannels |
string |
通知对象渠道 |
SMS |
| enableWebhook |
boolean |
是否支持群通知 |
true |
| serviceGroups |
array<object> |
服务组列表 |
|
|
object |
服务组内容 |
||
| id |
integer |
服务组 id |
343 |
| serviceGroupName |
string |
服务组名称 |
VCD是 |
| noticeObjects |
array |
通知对象 |
|
|
integer |
通知对象 id |
111 |
|
| noticeRoleList |
array |
角色 ID 列表 |
|
|
integer |
角色 ID 列表 |
222 |
|
| noticeRoleObjectList |
array<object> |
角色对象列表 |
|
|
object |
角色对象列表 |
||
| id |
integer |
通知对象的 ID |
111 |
| name |
string |
通知对象的名称 |
XX服务组 |
| createTime |
string |
创建时间,格式为 YYYY-MM-DD HH:mm:ss。 |
2021-09-09 09:09:09 |
| isGlobal |
boolean |
是否是全局策略 true:是 false:否 |
true |
示例
正常返回示例
JSON格式
{
"requestId": "A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST",
"data": {
"escalationPlanId": 2345,
"escalationPlanName": "升级计划234",
"escalationPlanDescription": "描述1234",
"escalationPlanScopeObjects": [
{
"scopeObjectId": 234,
"scope": "SERVICE",
"scopeObjectName": "xx服务",
"escalationPlanScopeObjects": 1,
"scopeObjectDeletedType": 1
}
],
"escalationPlanRules": [
{
"escalationPlanRuleId": 345,
"escalationPlanConditions": [
{
"level": "P1",
"effection": "LOW"
}
],
"escalationPlanStrategies": [
{
"noticeTime": 40,
"escalationPlanType": "UN_ACKNOWLEDGE",
"noticeObjectList": [
{
"noticeObjectId": 234,
"noticeObjectName": "张老三"
}
],
"noticeChannels": "SMS",
"enableWebhook": true,
"serviceGroups": [
{
"id": 343,
"serviceGroupName": "VCD是"
}
],
"noticeObjects": [
111
],
"noticeRoleList": [
222
],
"noticeRoleObjectList": [
{
"id": 111,
"name": "XX服务组"
}
]
}
]
}
],
"createTime": "2021-09-09 09:09:09",
"isGlobal": true
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | EscalationPlanNotExists | The specified escalation plan does not exist. | 升级计划不存在 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。