CreateIncident
Manually creates an event.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:CreateIncident |
create |
*All Resource
|
None | None |
Request syntax
POST /incident/manualSave HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
body |
|
| incidentLevel |
string |
No |
The event level. Valid values: P1, P2, P3, and P4. |
P1 |
| clientToken |
string |
No |
The client token used to ensure idempotence. |
2b63cdef-7ac3-4892-a76d-0f3389ef729f |
| relatedServiceId |
integer |
No |
The ID of the associated service. |
12312 |
| effect |
string |
No |
The impact level. Valid values: HIGH and LOW. |
LOW |
| incidentTitle |
string |
No |
The title of the incident. |
Incident title A |
| assignUserId |
integer |
No |
The ID of the assigned user. |
12312 |
| incidentDescription |
string |
No |
The description of the incident. |
Incident description B |
| channels |
array |
No |
The notification channels. Valid values: |
|
|
string |
No |
The notification channel. |
SMS |
|
| serviceGroupId |
integer |
No |
12000 |
Service group ID |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| data |
object |
Id of the request |
|
| incidentId |
integer |
The ID of the incident. |
Incident ID |
| requestId |
string |
requestId |
FD200FAE-E98F-496E-BFE6-4CE61E59A2E9 |
Examples
Success response
JSON format
{
"data": {
"incidentId": 0
},
"requestId": "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ResourceNotFound | The specified Resource is not found. | The specified Resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.