分派故障
POST
https://api.flashcat.cloud/incident/assign
最后修改时间:2023-12-26 03:10:06
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/incident/assign?app_key' \
--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"
}
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json