I am using salesforce's tooling API to get metadata changes for CustomField objects where were modified after a certain date. I am using the following code which is written in JAVA.
Q.> How to write a greater than "LastModifiedDate" criteria ?
private static final String created_date_compared = "2016-02-01T00:00:00.000+0000";
String restURL;
restURL = "/tooling/query/?q=Select+Id,DeveloperName,NamespacePrefix+From+CustomField+Where+LastModifiedDate+>+="+ created_date_compared;
I am getting the following error. If I remove the > sign the query works fine.
Exception in thread "main" java.lang.IllegalArgumentException: Illegal character in query at index 144: https://na9.salesforce.com/services/data/v36.0/tooling/query/?q=Select+Id,DeveloperName,NamespacePrefix+From+CustomField+Where+LastModifiedDate+>+=2016-02-01T00:00:00.000+0000