查看指定分配器下所有规则
GET /apiv2/voiceTriggers/{id}/voiceTriggerConditions.json调用权限
admin
curl 示例
curl https://{subdomain}.kf5.com/apiv2/voiceTriggers/1000013/voiceTriggerConditions.json \
-v -u {email_address}:{password}返回示例
Status: 200 OK{
"voice_trigger_conditions": [
{
"id": 1500004,
"rule_id": 1200012,
"type": "and",
"source": "organization",
"operator": "is",
"value": "158"
},
{
"id": 1500005,
"rule_id": 1200012,
"type": "and",
"source": "organization",
"operator": "is_not",
"value": "736"
},
{
"id": 1500006,
"rule_id": 1200012,
"type": "and",
"source": "time",
"operator": "in_between",
"value": "00:00-02:00"
},
{
"id": 1500007,
"rule_id": 1200012,
"type": "and",
"source": "time",
"operator": "not_in_between",
"value": "04:00-12:00"
},
{
"id": 1500008,
"rule_id": 1200012,
"type": "and",
"source": "field_4",
"operator": "is",
"value": "male"
},
{
"id": 1500009,
"rule_id": 1200012,
"type": "and",
"source": "organization",
"operator": "is",
"value": "158"
},
{
"id": 1500011,
"rule_id": 1200012,
"type": "and",
"source": "organization",
"operator": "is",
"value": "158"
},
{
"id": 1500013,
"rule_id": 1200012,
"type": "or",
"source": "time",
"operator": "in_between",
"value": "09:00-18:33"
}
],
"count": 8,
"next_page": null,
"previous_page": null}