Forum Discussion

SteveLaurel's avatar
SteveLaurel
Qrew Cadet
4 years ago

JSON Pipeline Header Syntax

Anyone know the syntax in a JSON Pipeline for header.

I am trying to query only data on or after this date.

I am trying: filter: lastupdatedate ge datetime'2021-06-02'

Thanks

------------------------------
Steve Laurel
------------------------------

2 Replies

  • Did you ever get this figured out?   I'm also having problems with the header and body syntax.   

    Pipelines keeps putting " " around the whole input making the request invalid.   


    ------------------------------
    Jeff Peterson
    ------------------------------
    • SteveLaurel's avatar
      SteveLaurel
      Qrew Cadet
      Jeff - I was able to make it work by adding the filters to the URL and not use the headers.

      ?$filter=lastupdatedate%20ge%20datetime%272021-06-03%27%20

      ------------------------------
      Steve Laurel
      ------------------------------