get https://api.supportbench.com/search/asset/
Returns a list of asset objects
Responses
Returns a list of asset objects
xxxxxxxxxx
15var search_data = null;
var search_string = 'product';
​
$.ajax({
url: 'https://api.supportbench.net/search/asset/' + encodeURIComponent(search_string),
type: 'get',
contentType: 'application/json',
dataType: 'json',
beforeSend: function(request) {
request.setRequestHeader('Authorization', 'Bearer ' + token);
},
success: function(r) {
search_data = jQuery.parseJSON(r);
}
});