Get the List of Selected Visitor History Views
Description
You can use this API to get the list of selected visitor history view.
OAuth Scope:
SalesIQ.userpreferences.READ
URL:
Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screenname}/userpreferences
Example
Copiedhttps://salesiq.zoho.com/api/v2/zylker/userpreferences
Sample Response
Copied{
"url": "/api/v2/zylker/userpreferences",
"object": "userpreference_config",
"data": {
"visitorhistoryviews": {
"list_three": {
"view_id": "-1",
"view_name": "All Visitors"
},
"list_two": {
"view_id": "-2",
"view_name": "Repeated Visitors"
},
"list_one": {
"view_id": "-1",
"view_name": "All Visitors"
}
},
"tracking": {
"applied_preset": {
"enabled": true,
"name": "uts.tracking.config.pchats",
"applied": true,
"description": "",
"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": "1565907077207",
"system_generated": true,
"id": "34139000000002117"
},
"view": "ring",
"hide_other_agent_connected_visitors": "enabled"
}
}
}