GetProblemImprovement

Updated at:

Retrieves the details of post-incident review and improvement.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • IMPROVED: Improved.

  • UNIMPROVED: Unimproved.

UNIMPROVED

checkUserIsValid

integer

Indicates whether the acceptor is invalid. Valid values:

  • 0: Invalid.

  • 1: Valid.

1

directorIsValid

integer

Indicates whether the director is invalid. Valid values:

  • 0: Invalid.

  • 1: Valid.

1

stalkerIsValid

integer

Indicates whether the tracker is invalid. Valid values:

  • 0: Invalid.

  • 1: Valid.

1

customProblemReason

string

The custom fault cause.

1

replayDutyUserIsValid

integer

Indicates whether the post-mortem owner is invalid. Valid values:

  • 0: Invalid.

  • 1: Valid.

1

dutyUserIsValid

integer

Indicates whether the fault owner is invalid. Valid values:

  • 0: Invalid.

  • 1: Valid.

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.