GetProblemEffectionService
Retrieves the details of services affected by a fault.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:GetProblemEffectionService |
get |
*All Resource
|
None | None |
Request syntax
POST /problem/process/effectionService/detail HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| effectionServiceId |
integer |
No |
The primary key ID. |
9 |
| problemId |
integer |
No |
The fault ID. |
46 |
| clientToken |
string |
No |
The idempotency token. |
e2d4306a-bf4d-4345-9ae6-158223c85dbd |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
string |
The request ID. |
e2d4306a-bf4d-4345-9ae6-158223c85dbd |
| data |
object |
The query results. |
|
| effectionServiceId |
integer |
The ID of the affected service. |
6442430 |
| serviceName |
string |
The service name. |
Haha |
| serviceId |
integer |
The service ID. |
170000000 |
| level |
integer |
The impact level. Valid values: 1, 2, 3, and 4, which correspond to P1, P2, P3, and P4. |
2 |
| status |
integer |
The impact status. Valid values:
|
1 |
| description |
string |
The impact description. |
ew |
| picUrl |
array |
The image URL. |
|
|
string |
The image key. |
[ "problem/axxxxxx2-1xxxx4565-be92-f44ae2xxxxx", "problem/7xxxxxxe314-49998-b9e7-399e78b41fbd", "problem/xxxxx-f40d-4611-0978-1d1f719a929a" ] |
Examples
Success response
JSON format
{
"requestId": "e2d4306a-bf4d-4345-9ae6-158223c85dbd",
"data": {
"effectionServiceId": 6442430,
"serviceName": "Haha",
"serviceId": 170000000,
"level": 0,
"status": 1,
"description": "ew",
"picUrl": [
"[ \"problem/axxxxxx2-1xxxx4565-be92-f44ae2xxxxx\", \"problem/7xxxxxxe314-49998-b9e7-399e78b41fbd\", \"problem/xxxxx-f40d-4611-0978-1d1f719a929a\" ]"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | EffectionServiceNotExisted | EffectionService does not exist. | |
| 404 | ProblemNotExisted | The problem does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.