Quantcast
Viewing all articles
Browse latest Browse all 2378

How to Filter Date column in web api query?

I want below web api query to retrieve  rows where mc_issuestarttime is >= 2 years from today.  Since it refreshes daily, this should return rolling 2 years of data.

How to filter below to do this?

ok.api.crm.dynamics.com/.../mc_alerts$select=_mc_symptomtypealertid_value,mc_resolutiontime,mc_alertnumber,statuscode,statecode,mc_fixphases,mc_alertid, mc_symptomdurationhours,mc_name, mc_symptomdurationtotalminutes,mc_customersaffected,mc_eventdurationdays, mc_resolutiontime, mc_eventdurationtotalminutes, mc_eventdurationminutes, mc_businessimpact, mc_alertnumber, mc_eventdurationhours, mc_symptomdurationdays, new_totalcustomersimpacted, mc_symptomdurationminutes, mc_issuestarttime, mc_severityid, mc_subtypeid, mc_symptomtypealertid,mc_fixphases,_mc_severityid_value,mc_reportedstarttime,_mc_subtypeid_value&$filter=statecode eq 0 and statuscode eq 100000000 or statuscode eq 100000000 or statuscode eq 1


Viewing all articles
Browse latest Browse all 2378

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>