GetProblemImprovement
Retrieves the details of post-incident review and improvement.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:GetProblemImprovement |
get |
*All Resource
|
None | None |
Request syntax
POST /problem/improvement/detail HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| problemId |
string |
No |
The problem ID. |
312312 |
| clientToken |
string |
No |
The idempotency token. |
4361a0e1-6747-4834-96ce-0c4840fd3812 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
string |
The request ID. |
4361a0e1-6747-4834-96ce-0c4840fd3811 |
| data |
object |
The fault impact record. |
|
| problemId |
string |
The problem ID. |
231231 |
| problemReason |
string |
The cause of the fault. |
Cause of the fault |
| recentActivity |
string |
The recent activity lookup table (PROBLEM_RECENT_ACTIVITY). |
2 |
| injectionMode |
string |
The injection mode lookup table (PROBLEM_INJECTION_MODE). |
3 |
| recoveryMode |
string |
The recovery mode lookup table (PROBLEM_RECOVERY_MODE). |
2 |
| discoverSource |
string |
The discovery source lookup table (PROBLEM_DISCOVER_SOURCE). |
1 |
| userReport |
integer |
The user report lookup table (PROBLEM_USER_REPORT). |
1 |
| monitorSourceName |
string |
The name of the monitoring source. |
Zabbix |
| relationChanges |
string |
The associated changes. |
Associated changes |
| dutyUserId |
integer |
The ID of the fault owner. |
231 |
| replayDutyUserId |
integer |
The ID of the post-incident review owner. |
23123 |
| replayDutyUserPhone |
string |
The mobile phone number of the post-incident review owner. |
1308787**** |
| dutyDepartmentId |
string |
The department responsible for the fault. |
12312 |
| dutyUserName |
string |
The name of the fault owner. |
Xiao Ming |
| dutyUserPhone |
string |
The mobile phone number of the fault owner. |
13098898**** |
| replayDutyUserName |
string |
The name of the post-incident review owner. |
Xiao Hua |
| remark |
string |
The remark. |
Remark |
| isManual |
boolean |
Indicates whether the operation is manual. |
true |
| dutyDepartmentName |
string |
The name of the department responsible for the fault. |
Service Group B |
| measureList |
array<object> |
The list of improvement measures. |
|
|
object |
The list of improvement measures. |
||
| measureId |
integer |
The ID of the improvement measure, which is used for deletion or update. |
12312 |
| type |
integer |
The measure type lookup table (PROBLEM_REPLAY_IMPROVEMENT). |
2 |
| content |
string |
The content of the measure. |
Content A |
| checkStandard |
string |
The acceptance standard. |
Acceptance Standard A |
| checkUserId |
integer |
The ID of the acceptor. |
12 |
| checkUserName |
string |
The name of the acceptor. |
Xiao Jun |
| directorName |
string |
The name of the owner. |
Xiao Zhang |
| stalkerName |
string |
The name of the tracker. |
Xiao Li |
| planFinishTime |
string |
The planned completion time in the YYYY-MM-DD HH:mm:ss format. |
2021-05-01 00:00:00 |
| directorId |
integer |
The ID of the owner. |
212 |
| stalkerId |
integer |
The ID of the tracker. |
3121 |
| status |
string |
The status. Valid values:
|
UNIMPROVED |
| checkUserIsValid |
integer |
Indicates whether the acceptor is invalid. Valid values:
|
1 |
| directorIsValid |
integer |
Indicates whether the director is invalid. Valid values:
|
1 |
| stalkerIsValid |
integer |
Indicates whether the tracker is invalid. Valid values:
|
1 |
| customProblemReason |
string |
The custom fault cause. |
1 |
| replayDutyUserIsValid |
integer |
Indicates whether the post-mortem owner is invalid. Valid values:
|
1 |
| dutyUserIsValid |
integer |
Indicates whether the fault owner is invalid. Valid values:
|
1 |
Examples
Success response
JSON format
{
"requestId": "4361a0e1-6747-4834-96ce-0c4840fd3811",
"data": {
"problemId": "231231",
"problemReason": "故障的原因",
"recentActivity": "2",
"injectionMode": "3",
"recoveryMode": "2",
"discoverSource": "1",
"userReport": 1,
"monitorSourceName": "Zabbix",
"relationChanges": "关联变更",
"dutyUserId": 231,
"replayDutyUserId": 23123,
"replayDutyUserPhone": "1308787****",
"dutyDepartmentId": "12312",
"dutyUserName": "小明",
"dutyUserPhone": "13098898****",
"replayDutyUserName": "小花",
"remark": "备注",
"isManual": true,
"dutyDepartmentName": "服务组B",
"measureList": [
{
"measureId": 12312,
"type": 2,
"content": "内容A",
"checkStandard": "验收标准A",
"checkUserId": 12,
"checkUserName": "小军",
"directorName": "小张",
"stalkerName": "小李",
"planFinishTime": "2021-05-01 00:00:00",
"directorId": 212,
"stalkerId": 3121,
"status": "UNIMPROVED",
"checkUserIsValid": 1,
"directorIsValid": 1,
"stalkerIsValid": 1
}
],
"customProblemReason": "1",
"replayDutyUserIsValid": 1,
"dutyUserIsValid": 1
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ProblemNotExisted | The problem does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.