get https://interact.leadforensics.com/WebApi_v2/Business/GetBusinessesByCategory
Returns the businesses who have been assigned to the provided category identifier within the specified date range.
Responses
Returns the businesses who have been assigned to the provided category identifier within the specified date range.
xxxxxxxxxx
20$.ajax({
type: 'GET',
dataType: 'json',
url: 'https://interact.leadforensics.com/WebApi_v2/Business/GetBusinessesByCategory?categoryid=173863&datefrom=18-11-2015 00:00:00&dateto=19/11/2016 23:59:59&pagesize=5&pageno=1',
headers: {
'Authorization-Token': 'Zax4qjY5w3tmAlqJUajROgW',
'ClientID':'45656'
},
success: function (data) {
if (data.BusinessList.length > 0) {
//we have a business record
}
else {
//we do not have a business record
}
},
error: function (err) {
//ajax error trap
}
});