6 Replies Latest reply on Apr 10, 2019 5:17 AM by Priit Viks

    REST API VIEW DATA WITH DATE RANGE.

    Chandan  Chatterjee

      HI

      i have a view where there are different filters i am trying to Fetch these data using REST API and i am using "GET /api/api-version/sites/site-id/views/view-id/data?vf_<fieldname>=filter-value"

      One of the filter is created date. I am trying to use this filter in REST API like "vf_Created%20Date=Previous%20Month". But this filter is not getting applied. API response always returning default values. I tried passing date range in comma(,) separated like "2019-01-20,2019-01-23" but filter is not getting applied. 

      Can anyone help ??

       

      DateFilter.png

       

      Thanks