Note: This page has not yet been converted to the new developer portal format. Please use Swagger to test this API.
Critical Event Incidents
Critical Event Incidents API
is used to manage incidents under an event within an organization.
GET /cm/v1/crisisEvent/{id}/incidentInfos
Description
Return a set of incidents under a critical event.
Parameters
Parameter | Position | Type | Optional | Description |
---|---|---|---|---|
organizationId | header | Long | n | The ID of the organization. |
Authorization | header | String | n | Basic authorization header. |
id | url path | String | n | The ID of the critical event. |
Response Body
HTTP Status Code | Response Body |
---|---|
200Ok | CrisisIncidentData object: { "crisisIncidentTemplates": "[]", "crisisIncidentInstances": "[{"accountId":1328214341320736,"status":"A","createdId":281754149584903,"createdName":"lingxiao jin","lastModifiedId":281754149584903,"lastModifiedName":"lingxiao jin","createdDate":1605772355490,"lastModifiedDate":1605772355490,"organizationId":1328214341320748,"createdProxyName":"eb admin","lastModifiedProxyName":"eb admin","resourceBundleId":1328214341320764,"id":299346335682474,"name":"test12","incidentStatus":"Open","phaseStatus":{"id":1001,"name":"New","seq":100,"incidentStatus":"Open","isDefault":true,"status":"A","phaseNodeType":"Begin","phaseFlag":0,"flowFlag":0},"hasJournal":false,"duration":950404,"isCloseIncident":false,"incidentAction":"Launch","incidentType":"Incident","serviceType":"DEFAULT","subServiceId":0,"enableIncidentChat":false,"launchType":"SendNow","useTemplateVarValue":false,"newService":false},{"accountId":1328214341320736,"status":"A","createdId":281754149584903,"createdName":"lingxiao jin","lastModifiedId":281754149584903,"lastModifiedName":"lingxiao jin","createdDate":1577924337906,"lastModifiedDate":1577924337906,"organizationId":1328214341320748,"resourceBundleId":1328214341320764,"id":300308408304215,"name":"Escaltions_Tmp_RA821","incidentStatus":"Open","phaseStatus":{"id":1001,"name":"New","seq":100,"incidentStatus":"Open","isDefault":true,"status":"A","phaseNodeType":"Begin","phaseFlag":0,"flowFlag":0},"hasJournal":false,"duration":28798422,"isCloseIncident":false,"incidentType":"Incident","serviceType":"DEFAULT","subServiceId":0,"enableIncidentChat":false,"launchType":"SendNow","useTemplateVarValue":false,"newService":false}]", "crisisSchedules": "[]", "crisisIncidents": [ { "id": 299346335682474, "type": "IncidentTemplate", "name": "test12", "crisisIncidentType": "IncidentTemplate" }, { "id": 300308408304215, "type": "IncidentTemplate", "name": "Escaltions_Tmp_RA821", "crisisIncidentType": "IncidentTemplate" } ] } |
400 | Bad Request. |
401 | Unauthorized |
403 | Forbidden. No Permission For this Resource |
404 | Resource Not Found |
406 | Not Acceptable. Illegal Input. |
500 | Internal Error |
POST /cm/v1/crisisEvent/{id}/incidentScenarios/batch
Description
Batch link incident scenarios to a critical event.
Parameters
Parameter | Position | Type | Optional | Description |
---|---|---|---|---|
organizationId | header | Long | n | The ID of the organization. |
Authorization | header | String | n | Basic authorization header. |
id | url path | String | n | The ID of the critical event. |
LongIdListObject | body | Object | n | The IDs of the incident scenarios. |
Request Body
LongIdListObject:
HTTP Status Code | Response Body |
---|---|
200Ok | |
400 | Bad Request. |
401 | Unauthorized |
403 | Forbidden. No Permission For this Resource |
404 | Resource Not Found |
406 | Not Acceptable. Illegal Input. |
500 | Internal Error |
POST /cm/v1/crisisEvent/{id}/incidentTemplates/batch
Description
Batch link incident templates to a critical event.
Parameters
Parameter | Position | Type | Optional | Description |
---|---|---|---|---|
organizationId | header | Long | n | The ID of the organization. |
Authorization | header | String | n | Basic authorization header. |
id | url path | String | n | The ID of the critical event. |
LongIdListObject | body | Object | n | The IDs of the incident templates. |
Request Body
LongIdListObject:
HTTP Status Code | Response Body |
---|---|
200Ok | |
400 | Bad Request. |
401 | Unauthorized |
403 | Forbidden. No Permission For this Resource |
404 | Resource Not Found |
406 | Not Acceptable. Illegal Input. |
500 | Internal Error |
POST /cm/v1/crisisEvent/{id}/incidents/batch
Description
Batch link incidents to a critical event.
Parameters
Parameter | Position | Type | Optional | Description |
---|---|---|---|---|
organizationId | header | Long | n | The ID of the organization. |
Authorization | header | String | n | Basic authorization header. |
id | url path | String | n | The ID of the critical event. |
LongIdListObject | body | Object | n | The IDs of the incident templates. |
Request Body
LongIdListObject:
HTTP Status Code | Response Body |
---|---|
200Ok | |
400 | Bad Request. |
401 | Unauthorized |
403 | Forbidden. No Permission For this Resource |
404 | Resource Not Found |
406 | Not Acceptable. Illegal Input. |
500 | Internal Error |