[Rets-dev] Search responses and StandardNames
Scott Gifford
sgifford at suspectclass.com
Mon Feb 19 21:16:34 CST 2007
Hello,
At a customer's request, I'm adding RETS 1.5 support to some existing
property search software. I'm not 100% clear on which names are used
in the search results, and I wanted to confirm my understanding:
1. If StandardNames is 1 and Format is COMPACT or COMPACT-DECODED,
DMQL2 parameter names query use standard names, and results use
standard names
2. If StandardNames is 0 and Format is COMPACT or COMPACT-DECODED,
DMQL2 parameter names use system names, and results use system
names.
3. If StandardNames is 1 and Format is STANDARD-XML, DMQL2 parameter
names use standard names, and results use system names, nested
inside various levels of XML as described in the DTD.
4. If StandardNames is 0 and Format is STANDARD-XML, DMQL2 parameter
names use system names, and results use system names, nested
inside various levels of XML as described in the DTD.
5. The default for Format is STANDARD-XML, and the default for
StandardNames is 0, so by default Case 4 above is used.
Is this correct? In particular, case 4 seems strange, since the query
is using system names while the results come back with standard names.
Also, if there are fields that are not standard fields, it seems they
are accessible using COMPACT format by setting StandardNames to 0, but
impossible to access in XML format. Is that right?
----Scott.
More information about the Rets-dev
mailing list