Processing an Incident Ticket
Function
This API is used to execute the event ticket process. Currently, only the following functions are supported: accepting an event ticket, submitting an event ticket solution, and verifying the event handling result.
URI
POST /v1/external/incident/handle
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
incident_num |
Yes |
String |
Event ticket number. |
|
operator |
Yes |
String |
Operator ID. |
|
operate_key |
Yes |
String |
Operation type |
|
parameter |
No |
Map<String,Object> |
Input parameter. The input parameter verification varies depending on the scenario, and the required parameter keys are different.
|
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
provider_code |
String |
Definition: Service ID. Value range: N/A Default value: 049 |
|
error_code |
String |
Definition: Request response code. Value range: GOM.00000000~GOM.00009999999 Default value: GOM.00000000 |
|
error_msg |
String |
Definition: Response description for a request. Value range: N/A |
|
data |
Object |
Information returned after different actions are performed. Currently, the value is fixed to null. |
Status code: 400
|
Parameter |
Type |
Description |
|---|---|---|
|
provider_code |
String |
Definition: Service ID. Value range: N/A Default value: 049 |
|
error_code |
String |
Definition: Request response code. Value range: GOM.00000000~GOM.00009999999 Default value: GOM.00000000 |
|
error_msg |
String |
Definition: Response description for a request. Value range: N/A |
Example Requests
-
Accept the incident ticket.
https://{Endpoint}/v1/external/incident/handle { "incident_num" : "IM202403221515060171753781", "operator" : "7da46971b7e24eed90cf777cc2ff8b91", "operate_key" : "acceptedIncident1", "parameter" : { } } -
Submit a solution to the incident ticket.
https://{Endpoint}/v1/external/incident/handle { "incident_num" : "IM202403221515060171753781", "operator" : "7da46971b7e24eed90cf777cc2ff8b91", "operate_key" : "commitSolution1", "parameter" : { "mtm_type" : "inc_type_p_config_issues", "is_service_interrupt" : true, "cause" : "100001", "solution" : "20001" } } -
Verify the event handling result.
https://{Endpoint}/v1/external/incident/handle { "incident_num" : "IM202403221515060171753781", "operator" : "7da46971b7e24eed90cf777cc2ff8b91", "operate_key" : "confirm", "parameter" : { "virtual_confirm_result" : false, "virtual_confirm_comment" : "13" } }
Example Responses
Status code: 200
Request succeeded.
For more status codes, see Status Codes.
{
"error_code" : "GOM.00000000",
"error_msg" : null,
"provider_code" : 4,
"data" : null
}
Status code: 400
The request failed to be processed due to bad syntax.
For more status codes, see Status Codes.
{
"error_code" : "GOM.00007256",
"error_msg" : "Invalid parameters",
"provider_code" : 4,
"data" : null
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request succeeded. For more status codes, see Status Codes. |
|
400 |
The request failed to be processed due to bad syntax. For more status codes, see Status Codes. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.