Retrieves the details of an OpsItem.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetOpsItem |
get |
*OpsItem
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| OpsItemId |
string |
Yes |
The OpsItem ID. |
oi-d52b08695e2b46ae8413 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| OpsItem |
object |
The OpsItem. |
|
| ActualEffortHours |
number |
The actual effort spent, in hours. |
6.5 |
| ActualFinishTime |
string |
The actual finish time, in ISO 8601 format and UTC. |
2026-08-30T18:00:00Z |
| AssigneeId |
string |
The assignee identifier, in the format of type:id. |
user:123456789 |
| Attributes |
object |
The OpsItem attribute information. |
|
| Category |
string |
The category. |
Security |
| CreateBy |
string |
The creator information. |
root(130900000) |
| CreateDate |
string |
The creation time, in ISO 8601 format and UTC. |
2023-04-10T06:15Z |
| Description |
string |
The description. |
test-update |
| EstimatedEffortHours |
number |
The estimated effort, in hours. |
8.0 |
| LastModifiedBy |
string |
The user who last modified the OpsItem. |
modifiedBy |
| OpsItemId |
string |
The OpsItem ID. |
oi-d52b08695e2b46ae8413 |
| PlannedFinishTime |
string |
The planned finish time, in ISO 8601 format and UTC. |
2026-09-01T00:00:00Z |
| Priority |
integer |
The priority. |
1 |
| Progress |
integer |
The progress percentage. Valid values: 0 to 100. |
50 |
| ResourceGroupId |
string |
The resource group ID. |
rg-aekzxkofnlxtn2i |
| Resources |
array |
The list of associated resource ARNs. |
|
|
string |
The associated resource ARN. |
[\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\"] |
|
| Severity |
string |
The severity level. |
Medium |
| Solutions |
array<object> |
The list of solutions. |
|
|
object |
The Solutions. |
||
| Source |
string |
The source service. |
/aliyun/appManager |
| Status |
string |
The status. |
Open |
| Tags |
object |
The tags. |
{"K1":"V1"} |
| Title |
string |
The OpsItem title. |
test |
| UpdateDate |
string |
The update time, in ISO 8601 format and UTC. |
2023-04-10T06:15Z |
| RequestId |
string |
The request ID. |
8BED4C16-BD30-5E27-94D4-7EBCCECF70C1 |
Examples
Success response
JSON format
{
"OpsItem": {
"ActualEffortHours": 6.5,
"ActualFinishTime": "2026-08-30T18:00:00Z",
"AssigneeId": "user:123456789",
"Attributes": {
"test": "test",
"test2": 1
},
"Category": "Security",
"CreateBy": "root(130900000)\n",
"CreateDate": "2023-04-10T06:15Z",
"Description": "test-update",
"EstimatedEffortHours": 8,
"LastModifiedBy": "modifiedBy",
"OpsItemId": "oi-d52b08695e2b46ae8413\n",
"PlannedFinishTime": "2026-09-01T00:00:00Z",
"Priority": 1,
"Progress": 50,
"ResourceGroupId": "rg-aekzxkofnlxtn2i",
"Resources": [
"[\\\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\\\"]"
],
"Severity": "Medium",
"Solutions": [
{
"test": "test",
"test2": 1
}
],
"Source": "/aliyun/appManager",
"Status": "Open",
"Tags": {
"K1": "V1"
},
"Title": "test",
"UpdateDate": "2023-04-10T06:15Z\n"
},
"RequestId": "8BED4C16-BD30-5E27-94D4-7EBCCECF70C1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.