[libRETS-users] Last try at City Name
Mark Klein
mklein at dis.com
Fri Jun 1 18:06:42 CDT 2007
On Jun 1, 2007, at 3:19 PM, Robert Burdick wrote:
> I cannot believe how incredible hard RETS makes it to get a city
> name. Id I have a CityID, I am executing this code
I really don't think it is RETS.
Can you post the metadata for the city resource? That will give us
some clues.
Regards,
M.
>
>
> mSession = new RetsSession("http://bc.reilrets.com:
> 6103/");
>
> if (mSession != null)
>
> {
>
> string search = "(CityID=" + mtbCityID.Text.Trim
> () + ")";
>
> bResult = mSession.Login("listsuite2",
> "l157beta");
>
> SearchRequest req = mSession.CreateSearchRequest
> ("city", "city","(CityID=58)");
>
> SearchResultSet res = mSession.Search(req);
>
>
>
>
>
> I get an error saying that CityID is not a valid query field.
> However, this query works from a browser:
>
>
>
> http://pure.reilrets.com:6103/Search.ashx?
> QueryType=DMQL2&Class=city&Format=COMPACT&SearchType=city&Query=
> (CityID=58)
>
>
>
> can someone PLEASE tell me how to do this with librets.NET?
>
> _______________________________________________
> libRETS-users mailing list
> libRETS-users at crt.realtors.org
> http://mail.crt.realtors.org/mailman/listinfo/librets-users
--
Mark Klein
PGP Key Available
www.dis.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.crt.realtors.org/pipermail/librets-users/attachments/20070601/57cc92b6/attachment.html
More information about the libRETS-users
mailing list