[libRETS-users] Strange Error

Mark Klein mklein at dis.com
Wed Dec 19 21:51:39 CST 2007


On Dec 19, 2007, at 10:06 AM, Russ Perna wrote:

> This is the request from RETS Connector:
> URI:
> /Search.asmx/Search? 
> SearchType=Property&Class=1&Select=217&Format=COMPACT&Qu
> eryType=DMQL2&Query=(290=%7CACT),(40=%7C440)
>
> This is the request from libRets:
> URI:
> /Search.asmx/Search?Class=1&Count=1&Format=COMPACT&Query=(290% 
> 3dACT),(40%3d4
> 40)&QueryType=DMQL2&SearchType=Property&Select=217&StandardNames=0

Sorry for being late to the party. :-)

I don't see in the thread whether or not you actually tried the  
proper lookup syntax. I would expect to see the query from librets to  
look like:

...;Query=(290%3d%7cACT),(40%3d%7c440)...

One thing to try is to attempt to issue this query from your favorite  
browser if possible (some servers will allow it, some won't). You can  
also try it from cURL. Here is a sample using the crt demo server:

http://demo.crt.realtors.org:6103/rets/login

(use Joe for the user and Schmoe for the password)

The next line may be wrapped, so you may need to untangle it ... it  
should be one long line:

http://demo.crt.realtors.org:6103/rets/search? 
Format=COMPACT&SearchType=Property&Class=ResidentialProperty&StandardNam 
es=0&QueryType=DMQL&Query=(LN%3D1%2B)%2C(BATHS%3D3%2B)%2C(BEDROOMS% 
3D3%2B)

This should show 3 properties. Unfortunately, I can't demo this with  
a lookup.

Try doing the same with your provider and see if the query works  
outside of librets. That will help us get a better handle on things.

Regards,



M.



--
Mark Klein
PGP Key Available
www.dis.com





More information about the libRETS-users mailing list