Ask Your Question
0

Is it possible to search an MLS ID on different classes

asked 2016-02-10 07:54:56 -0500

$search = $rets->Search("Property","MF_6,CM_5,VL_4,RR_3,2F_2,1F_1", "(ListingID=201517231)", [ 'QueryType' => 'DMQL2', 'Count' => 1, // count and records 'Format' => 'COMPACT-DECODED', 'Limit' => 1, 'StandardNames' => 0, // give system names ]);

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-10 08:20:41 -0500

updated 2016-02-10 10:21:41 -0500

The RETS standard doesn't include support doing that. The field sets for classes could be the same or could be have drastically different definitions. Also fields can have different lookup values assigned to different classes.

To determine the class of the listing Paragon RETS returns the L_Class field. Depending on whether you are using COMPACT or COMPACT-DECODED it will return either the class numeric value or the description of the class.

COMPACT = L_Class=1 COMPACT-DECODED=RESIDENTIAL/FARMS

Currently in paragon the numeric value is appended to the classname value ie. RF_1.

To find the class using the value returned in COMPACT-DECODED you would need to lookup the description in the class metadata: <class> <classname>RF_1</classname> <description>RESIDENTIAL/FARMS</description> ... </class>

We do not have a field that returns the className value directly.

edit flag offensive delete link more

Comments

Is it possible for getting Class ID of a particular MLS. If so we will get that and run the search query again.

hari gravatar imagehari ( 2016-02-10 08:26:44 -0500 )edit

I have one listing I'd 201517231.I need to know is this I'd belong to which class 1F_1 or RF_1. Is their any Api or search query can help me?

hari gravatar imagehari ( 2016-02-10 21:30:18 -0500 )edit

What RETS login URL and loginname are you using to connect to the MLS since I don't see anywhere where you said what MLS you were searching?

bwolven gravatar imagebwolven ( 2016-02-11 09:43:56 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-02-10 07:54:56 -0500

Seen: 67 times

Last updated: Feb 10 '16