GetEscalationPlan
Retrieves the details of a specified dynamic lookup table.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:GetEscalationPlan |
get |
*All Resource
|
None | None |
Request syntax
POST /escalationPlan/detail HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
A short description of struct |
|
| escalationPlanId |
integer |
Yes |
The ID of the upgrade plan. |
345 |
| clientToken |
string |
No |
The idempotency token. |
A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST |
| data |
object |
data |
|
| escalationPlanId |
integer |
The ID of the upgrade plan. |
2345 |
| escalationPlanName |
string |
The name of the upgrade plan. |
Upgrade plan 234 |
| escalationPlanDescription |
string |
The description of the upgrade plan. |
Description 1234 |
| escalationPlanScopeObjects |
array<object> |
The list of scope objects for the upgrade plan. |
|
|
object |
object |
||
| scopeObjectId |
integer |
The ID of the scope object. |
234 |
| scope |
string |
The object type. |
SERVICE |
| scopeObjectName |
string |
The name of the scope object. |
XX service |
| escalationPlanScopeObjects |
integer |
The service deletion field. Valid values: 1: Normal. 0: Deleted. |
1 |
| scopeObjectDeletedType |
integer |
The service deletion field. Valid values: 1: Normal. 0: Deleted. |
1 |
| escalationPlanRules |
array<object> |
The list of rules for the upgrade plan. |
|
|
array<object> |
object |
||
| escalationPlanRuleId |
integer |
The ID of the upgrade plan. |
345 |
| escalationPlanConditions |
array<object> |
The conditions for the upgrade plan. |
|
|
object |
object |
||
| level |
string |
The event level. |
P1 |
| effection |
string |
The impact level. |
LOW |
| escalationPlanStrategies |
array<object> |
The strategies for the upgrade plan. |
|
|
array<object> |
object |
||
| noticeTime |
integer |
The notification time. |
40 |
| escalationPlanType |
string |
The type of the upgrade plan. |
UN_ACKNOWLEDGE |
| noticeObjectList |
array<object> |
The list of notification recipients. |
|
|
object |
object |
||
| noticeObjectId |
integer |
The ID of the notification recipient. |
234 |
| noticeObjectName |
string |
The name of the notification recipient. |
John Doe |
| noticeChannels |
string |
The channels of the notification recipient. |
SMS |
| enableWebhook |
boolean |
Specifies whether group notifications are supported. |
true |
| serviceGroups |
array<object> |
The list of service groups. |
|
|
object |
The content of the service group. |
||
| id |
integer |
The ID of the service group. |
343 |
| serviceGroupName |
string |
The name of the service group. |
VCD service |
| noticeObjects |
array |
The notification recipients. |
|
|
integer |
The ID of the notification recipient. |
111 |
|
| noticeRoleList |
array |
The list of role IDs. |
|
|
integer |
The list of role IDs. |
222 |
|
| noticeRoleObjectList |
array<object> |
The list of role objects. |
|
|
object |
The list of role objects. |
||
| id |
integer |
The ID of the notification recipient. |
111 |
| name |
string |
The name of the notification recipient. |
XX service group |
| createTime |
string |
The creation time. The format is YYYY-MM-DD HH:mm:ss. |
2021-09-09 09:09:09 |
| isGlobal |
boolean |
Specifies whether the policy is a global policy. Valid values:
|
true |
Examples
Success response
JSON format
{
"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
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | EscalationPlanNotExists | The specified escalation plan does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.