JSON格式
| Name | Type | Comment |
|---|---|---|
| id | integer | 创建触发器时系统自动分配 |
| url | string | 此触发器的url地址 |
| title | string | 触发器的标题 |
| status | bool | 该触发器是否被启用,"true"or"false" |
| conditions | Condition | 触发器被触发的条件 |
| actions | Action | 触发器触发后,执行的动作 |
| created_at | date | 触发器创建时间 |
JSON示例
{
"trigger": {
"id": 985,
"url": "https://{subdomain}.kf5.com/apiv2/triggers/985.json",
"title": "提醒工单发起人已收到工单",
"status": true,
"sort": 2,
"created_at": "2016-05-10 14:02:39",
"conditions": { ... },
"actions": { ... }
}}