get https://interact.leadforensics.com/WebApi_v2/KPI/MostActiveCompanies
Returns the most active companies on a client site for the date range supplied limited to the number of results required
Responses
Returns the most active companies on a client site for the date range supplied limited to the number of results required
xxxxxxxxxx
20$.ajax({
type: 'GET',
dataType: 'json',
url: 'https://interact.leadforensics.com/WebApi_v2/KPI/MostActiveCompanies?dateid=14&numberOfResults=2',
headers: {
'Authorization-Token': 'Zax4qjY5w3tmAlqJUajROgW',
'ClientID':'45656'
},
success: function (data) {
if (data.MostActiveCompaniesList.length > 0) {
//we have an active company record
}
else {
//we do not have an active company record
}
},
error: function (err) {
//ajax error trap
}
});