Forum Discussion

mpw83's avatar
mpw83
Contributor
5 years ago

How to send '>' symbol on query parameter ?

I am sending the following type of SQL as a parameter in Rest request

 

SELECT+Name+FROM+dayJob+WHERE+JobType+=+'topTwo'+AND+CreatedDate+>+2020-02-11T02:30:00.00Z

But I am getting `Illegal character in query` exception for the symbol ">" in "CreatedDate+>+2020-02-11T02:30:00.00Z" 

Also, I am sure this SOQL query is correct as well. I am only getting this issue when I am sending the request through the ReadyAPI. 

Is there are any way to solve this issue? Thanks 

 

 

  • nmrao's avatar
    nmrao
    Champion Level 3
    Not experienced with those.
    But you may try the below and see if any of these works or not.
    1. >
    2. \>
    • mpw83's avatar
      mpw83
      Contributor

      nmrao Thanks for your reply, 

      Didn't work, 

      for > -- I can see its converting and sending the '>' symbol but still getting `Illegal character in query ` error 

      for \> -- also getting `Illegal character in query` error