Thursday, January 15, 2015

CRM 2011 Rest Query Syntax with example


  1.  SDK.REST.retrieveMultipleRecords("vaccinationprogram", "$select=vaccinationprogramId,VaccinationPeriod, &$filter=VaccinationPeriod/Value  eq  " + obj , results, errorHandler, oncomplete);

   2    var oDataSetName = "distsalesSet";

        // Column names (Pass * to read all columns)
        var columns = "mtdnetsales";
        // Prepare filter
        var filter = "accountid/Id eq guid'" + clinic + "' and Year eq '" + salesyear_py + "'";


 RetrieveMultiple(oDataSetName, columns, filter);

No comments:

Post a Comment