Hi,
Pls dowload Odata Query Designer.
http://crm2011odatatool.codeplex.com/
After building your query using OData Query Designer you can make jquery ajax request
jQuery.ajax({
type: "GET",
contentType: "application/json; charset=utf-8",
datatype: "json",
url: odataUri,
cache: cacheData,
async: isAsync,
beforeSend: function (XMLHttpRequest) {
//Specifying this header ensures that the results will be returned as JSON.
XMLHttpRequest.setRequestHeader("Accept", "application/json");
},
success: function (data, textStatus, XmlHttpRequest) {
//implement your business code
},
error: function (XmlHttpRequest, textStatus, errorThrown) {
//handle error
}
});
If you find this post helpful then please Vote as Helpful and Mark As Answer. Thanks and Regards, Polat Aydın
My blog