Query parameters can be mixed together. For example it is possible to filter, sort and take only 10 results with few fields in the same query:
function getData(){
$.ajax({
type: "GET",
url: 'https://[subdomain].manageworkonline.com/awt/api/[entity]?filter=([field]=[value])&sort=[field2]&fields=[field2],[field3]&take=10&skip=10',
crossDomain: true,
xhrFields: { withCredentials: true },
success: function(response){
if(response.Success){
alert(response.Data.Data.length
+ " out of " + response.Data.Count
+ " items returned");
} else {
alert(response.ErrorMessage);
}
},
dataType: "json"
});
}
Post your comment on this topic.