Get Criteria of the Fields in Visitor Routing Module
Description
You can use this API to populate the criteria of the fields available in the visitor routing module.
OAuth Scope:
SalesIQ.criteriafields.READ
You can use these datatypes and comparator populate your criteria of the fields. You can refer the field name and values here.
URL:
Copiedhttps://{[zohosalesiq_server_uri](https://www.zoho.com/salesiq/help/developer-section/rest-api-v2.html)}/api/v2/{screenname}/criteriafields/visitorrouting
Example:
Copiedhttps://salesiq.zoho.com/api/v2/zylker/criteriafields/visitorrouting
Sample Response:
Copied{
"url": "/api/v2/zylker/criteriafields/visitorrouting",
"object": "criteria_fields",
"data": {
"fields": [
{
"datatype": "string",
"group_name": "website_values",
"field_name": "referer"
},
{
"datatype": "options",
"group_name": "user_values",
"field_name": "country"
},
{
"datatype": "options",
"group_name": "technology",
"field_name": "browser"
},
{
"datatype": "options",
"group_name": "technology",
"field_name": "operating_system"
},
{
"datatype": "options",
"group_name": "website_values",
"field_name": "search_engine"
},
{
"datatype": "count",
"group_name": "user_values",
"field_name": "number_of_visits"
},
{
"datatype": "count",
"group_name": "general",
"field_name": "number_of_past_chats"
},
{
"datatype": "ip_address",
"group_name": "user_values",
"field_name": "ip_address"
},
{
"datatype": "options",
"group_name": "department",
"field_name": "department"
},
{
"datatype": "string",
"group_name": "website_values",
"field_name": "landing_page_url"
},
{
"datatype": "string",
"group_name": "website_values",
"field_name": "landing_page_title"
},
{
"datatype": "visitor_info",
"group_name": "user_values",
"field_name": "visitor_info"
},
{
"datatype": "options",
"group_name": "user_values",
"field_name": "region"
},
{
"datatype": "string",
"group_name": "utm_values",
"field_name": "campaign_source"
},
{
"datatype": "string",
"group_name": "utm_values",
"field_name": "campaign_term"
},
{
"datatype": "string",
"group_name": "utm_values",
"field_name": "campaign_medium"
},
{
"datatype": "string",
"group_name": "utm_values",
"field_name": "campaign_content"
},
{
"datatype": "string",
"group_name": "utm_values",
"field_name": "utm_campaign_name"
},
{
"datatype": "options",
"group_name": "user_values",
"field_name": "city"
},
{
"datatype": "options",
"group_name": "user_values",
"field_name": "state"
},
{
"datatype": "options",
"group_name": "user_values",
"field_name": "visitor_type"
},
{
"datatype": "options",
"group_name": "triggered_status",
"field_name": "triggered_status"
},
{
"datatype": "options",
"group_name": "website_values",
"field_name": "current_visit_source"
},
{
"datatype": "string",
"group_name": "user_values",
"field_name": "email"
},
{
"datatype": "options",
"group_name": "website_values",
"field_name": "first_visit_source"
},
{
"datatype": "count",
"group_name": "user_values",
"field_name": "leadscore"
}
]
}
}