get https://interact.leadforensics.com/WebApi_v2/KPI/WatchList?numberOfResults=&clientuserid=
Returns the number of visits made to a client site of businesses assigned to a user in the date range supplied for the number of results required
Responses
Returns the number of visits made to a client site of businesses assigned to a user in the date range supplied for the number of results required
xxxxxxxxxx
20$.ajax({
type: 'GET',
dataType: 'json',
url: 'https://interact.leadforensics.com/WebApi_v2/KPI/watchlist?numberOfResults=2&clientuserid=192301',
headers: {
'Authorization-Token': 'Zax4qjY5w3tmAlqJUajROgW',
'ClientID':'45656'
},
success: function (data) {
if (data.WatchlistList.length > 0) {
//we have a watch list record
}
else {
//we do not have a watch list record
}
},
error: function (err) {
//ajax error trap
}
});