{
"title": "string",
"description": "string",
"incident_severity": "string",
"channel_id": 0,
"assigned_to": {
"person_ids": [
0
],
"escalate_rule_id": "string",
"escalate_rule_name": "string",
"layer_idx": 0,
"layer_person_reset": {
"0": {
"team_ids": [
0
],
"person_ids": [
0
],
"schedule_to_role_ids": {
"{schedule_id}": [
0
]
}
}
},
"type": "assign"
}
}
curl --location --request POST 'http://prod-cn.your-api-server.com/incident/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"description": "string",
"incident_severity": "string",
"channel_id": 0,
"assigned_to": {
"person_ids": [
0
],
"escalate_rule_id": "string",
"escalate_rule_name": "string",
"layer_idx": 0,
"layer_person_reset": {
"0": {
"team_ids": [
0
],
"person_ids": [
0
],
"schedule_to_role_ids": {
"{schedule_id}": [
0
]
}
}
},
"type": "assign"
}
}'
{
"error": {
"code": "InvalidParameter",
"message": "string"
},
"data": {
"incident_id": "string",
"title": "string"
}
}