{
"incident_id": "string",
"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/assign' \
--header 'Content-Type: application/json' \
--data-raw '{
"incident_id": "string",
"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"
}
}