Skip to main content

List all the Tracking Presets

Description

You can use this API to get the list of all the tracking presets.

OAuth Scope: 

SalesIQ.trackingpresets.READ

URL:

Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screenname}/trackingpresets

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylkerinc/trackingpresets

Success Response

Copied{
  "url": "/api/v2/zylkerinc/trackingpresets",
  "object": "tracking_preset_config",
  "data": [
    {
      "enabled": true,
      "name": "Hot leads",
      "applied": true,
      "description": "Preset for filtering hot leads",
      "rule": {
        "ring_three": [
          {
            "or_criteria": [
              {
                "comparator": "greater_than",
                "values": [
                  "12"
                ],
                "field_name": "number_of_past_chats"
              }
            ]
          }
        ],
        "ring_two": [
          {
            "or_criteria": [
              {
                "comparator": "less_than",
                "values": [
                  "123"
                ],
                "field_name": "leadscore"
              }
            ]
          }
        ],
        "ring_four": [
          {
            "or_criteria": [
              {
                "comparator": "not_equals",
                "values": [
                  "25"
                ],
                "field_name": "number_of_visits"
              }
            ]
          }
        ],
        "ring_one": [
          {
            "or_criteria": [
              {
                "comparator": "is_equal_to",
                "values": [
                  "EOSS"
                ],
                "field_name": "campaign_content"
              }
            ]
          }
        ]
      },
      "modified_time": "1560934983118",
      "id": "40526000001468003"
    },
    {
      "enabled": true,
      "name": "Past chats",
      "applied": false,
      "description": "Based on number of past chats",
      "rule": {
        "ring_three": [
          {
            "or_criteria": [
              {
                "comparator": "greater_than",
                "values": [
                  "3"
                ],
                "field_name": "number_of_past_chats"
              }
            ]
          }
        ],
        "ring_two": [
          {
            "or_criteria": [
              {
                "comparator": "greater_than",
                "values": [
                  "5"
                ],
                "field_name": "number_of_past_chats"
              }
            ]
          }
        ],
        "ring_four": [
          {
            "or_criteria": [
              {
                "comparator": "greater_than",
                "values": [
                  "1"
                ],
                "field_name": "number_of_past_chats"
              }
            ]
          }
        ],
        "ring_one": [
          {
            "or_criteria": [
              {
                "comparator": "greater_than",
                "values": [
                  "7"
                ],
                "field_name": "number_of_past_chats"
              }
            ]
          }
        ]
      },
      "modified_time": "1560934831021",
      "system_generated": true,
      "id": "40526000000002071"
    },
    {
      "enabled": true,
      "name": "Vintage",
      "applied": false,
      "description": "Prospects for vintage collection",
      "rule": {
        "ring_three": [
          {
            "or_criteria": [
              {
                "comparator": "contains",
                "values": [
                  "price"
                ],
                "field_name": "landing_page_title"
              }
            ]
          }
        ],
        "ring_two": [
          {
            "or_criteria": [
              {
                "comparator": "contains",
                "values": [
                  "home"
                ],
                "field_name": "landing_page_url"
              }
            ]
          }
        ],
        "ring_four": [
          {
            "or_criteria": [
              {
                "comparator": "is_equal_to",
                "values": [
                  "vintage"
                ],
                "field_name": "campaign_content"
              }
            ]
          }
        ],
        "ring_one": [
          {
            "or_criteria": [
              {
                "comparator": "is_equal_to",
                "values": [
                  "USA"
                ],
                "field_name": "country"
              }
            ]
          }
        ]
      },
      "modified_time": "1560934977624",
      "id": "40526000001469001"
    }
  ]
}