UpdateProblemEffectionService
Updates the service affected by a fault.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:UpdateProblemEffectionService |
update |
*All Resource
|
None | None |
Request syntax
POST /problem/process/effectionService/update HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body parameters. |
|
| serviceId |
integer |
No |
The ID of the associated service. |
33 |
| level |
string |
No |
The impact level in descending order. Valid values:
|
P1 |
| status |
string |
No |
The impact status. Valid values:
|
· |
| description |
string |
No |
The description of the impact. |
XXXX Building |
| picUrl |
array |
No |
The URL of the image. |
|
|
string |
No |
The key of the image. |
problem/xxxxxxxx-a2c8-40b9-9162-08a6c2e338e2 |
|
| problemId |
integer |
No |
The ID of the fault. |
190000000 |
| effectionServiceId |
integer |
No |
The ID of the affected service. |
103 |
| clientToken |
string |
No |
The client token for idempotence. |
c26f36de-1ec8-496a-a828-880676c5ef81 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| requestId |
string |
The ID of the request. |
ffbf594-e093-46ad-bdcd-df4d7097125a |
Examples
Success response
JSON format
{
"requestId": "ffbf594-e093-46ad-bdcd-df4d7097125a"
}
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.