获取

    此方法允许根据给定的参数检索关联。

    此方法对于任何用户可用。可以在用户角色设置中撤销调用该方法的权限。更多信息请查看 用户角色

    Parameters

    此方法支持以下参数。

    (integer/array) 返回其中之一:

    • 一个对象数组;
    • 如果使用了 countOutput 参数,将返回获取对象的数量。

    示例

    检索关联

    请求:

    响应:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": [
    4. {
    5. "name": "Correlation 1",
    6. "description": "",
    7. "status": "0",
    8. "filter": {
    9. "evaltype": "0",
    10. "formula": "",
    11. "conditions": [
    12. {
    13. "type": "3",
    14. "oldtag": "error",
    15. "newtag": "ok",
    16. }
    17. "eval_formula": "A"
    18. },
    19. "operations": [
    20. {
    21. "type": "0"
    22. }
    23. ]
    24. }
    25. ],
    26. }

    来源