Layer 7 API Management

Expand all | Collapse all

API ignores date filter

Jump to Best Answer
  • 1.  API ignores date filter

    Posted 07-25-2018 12:44 AM

    Hi All,

    I am trying to filter the data based on date but it fetch all.

     

    The format of  "FlowStateChangedDate": "2018-07-18T01:00:15.301Z",

     

    https://host.com/slm/webservice/v2.0/hierarchicalrequirement?query =((FlowStateChangedDate >= 2018-06-01 ) AND (FlowStateChangedDate <= 2018-06-02) )&fetch=FormattedID,FlowStateChangedDate &start=1&pagesize=2000



  • 2.  Re: API ignores date filter

    Posted 07-25-2018 09:49 AM

    Hi Sarada,

     

    It appears this is for Rally is that correct? It was logged in the API Management community so would like to confirm so we can get the right eyes on this for you.

     

    Regards,

    Joe



  • 3.  Re: API ignores date filter

    Posted 07-25-2018 05:54 PM

    Yes, it's for Rally. After little bit of struggle I figured it out.



  • 4.  Re: API ignores date filter
    Best Answer

    Posted 07-25-2018 05:51 PM

    This is solved now. 

     

    The >= and <= should be encoded
    >= should be %3E%3D
    <= should be %3C%3D