Request
Body Params  application/json
{
    "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"
    }
}
Request Code Samples
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"
    }
}'
Responses
application/json {
    "error": {
        "code": "InvalidParameter",
        "message": "string"
    },
    "data": {
        "incident_id": "string",
        "title": "string"
    }
}
Modified at 2025-01-22 10:14:38