Open ravisangar opened 9 years ago
Hi Ravi,
That error is usually in response to the parameters in the query not being understood by the server you are connecting to.
Can you send over an example of the parameters you are passing to SearchRequest with any select fields you may also be passing?
I have the same issue. I want to download everything for residential. What should be the query and the select parameters? Currently I am using the following with Invalid query type error:
String sQuery = "(Member_num=.ANY.)";
// String sQuery = "*";
String sResource = "Property";
String sClass = "Residential";
// String sClass = "A";
//Create a SearchRequest
SearchRequest request = new SearchRequest(sResource, sClass, sQuery);
//Select only available fields
String select ="toronto"; //,field3,field4,field5";
request.setSelect(select);
I have the same issue. I want to download everything for residential. What should be the query and the select parameters? Currently I am using this .code run successfully but we get only status value .not other fields value .what we pass in select parameters then we get all fields data .
String sQuery = "(Status=|A)";
String sResource = "Property";
String sClass = "ResidentialProperty";
// Create a SearchRequest
SearchRequest request = new SearchRequest(sResource, sClass, sQuery);
// Select only available fields
String select = "Status,community_code,addr";
request.setSelect(select);
Hi There,
I am getting an exception saying "org.realtors.rets.client.InvalidReplyCodeException: 20203 (Miscellaneous search error) Invalid Query Type.", when running the provided sample to do a search.
I am using RETS 1.7. I was able to successfully log in. Exception is thrown when the search is performed.
Thanks, Ravi