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"
   });
}

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
For customer support, please contact us here.

Post Comment