[libRETS-users] Getting an Entire Resource
Robert Burdick
rburdick at wAppearances.com
Fri Jun 1 16:26:17 CDT 2007
Yeah, this query works with our RETS server, RE Info Link. The empty query
gets the entire table of cities, city codes, etc. Is there another spec
compliant way to do this? All of my thrashing is simply to get the city
name associated with a listing! This is no longer returned from our server,
just the CityId, so I'm trying to look the city name up.
-----Original Message-----
From: librets-users-bounces at crt.realtors.org
[mailto:librets-users-bounces at crt.realtors.org] On Behalf Of Keith T. Garner
Sent: Friday, June 01, 2007 2:22 PM
To: For discussion and help for and by the users of the libRETS C++ library
Subject: Re: [libRETS-users] Getting an Entire Resource
On Fri, 1 Jun 2007 4:12 pm, Robert Burdick wrote:
> I am trying to get a complete city resource, meaning all city
> information on my RETS server. I need to do the libRETS.NET
> equivalent of this query:
>
>
http://pure.reilrets.com:6103/Search.ashx?QueryType=DMQL2&Class=city&Format=
STANDARD-XML&SearchType=city&Query=
Does that query actually work? If so, its out of spec. You cannot have
an empty query.
> I need to do something like this:
>
> Session.CreateSearchRequest("city", "city", );
>
> but I get an error saying that the query cant be empty. So How do
> I request the entire resource?
Is that error from the server or via librets? I can't remember if
libRETS checks for that or not and I'm away from my computer at the
moment.
If it is libRETS, I can see an argument for making a flag to relax that
complaint if its libRETS complaining.
Keith
--
Keith T. Garner kgarner at realtors.org
Managing Director - Center for REALTOR Technology
National Association of REALTORS
(From his mobile device)_______________________________________________
libRETS-users mailing list
libRETS-users at crt.realtors.org
http://mail.crt.realtors.org/mailman/listinfo/librets-users
More information about the libRETS-users
mailing list