First time here? Check out the FAQ!

help on phrets search query

  • retag add tags

I have been using two phrets parameters as follows: $rets_modtimestamp_field = "L_ListOffice1"; $rets_status_field = "L_StatusCatID";

But when I change the $rets_modtimestamp_field to any other parameter I get nothing. (originally it was the parameter to pull all properties with a listing date >= to the $rets+modtimestamp_filed. I found that if I changed the modtimestamp_field to = L_ListOffice1 field I could pull our properties.

$query = "({$rets_modtimestamp_field}=215)";

    // run RETS search

    $search = $rets->SearchQuery("Property", $class, $query, array('Limit' => 1000));

I would appreciate any insight you can provide, or if you could point me to any documentation that might help (preferably with examples).

wildgoose's avatar
asked 2018-10-01 14:25:37 -0500
edit flag offensive 0 remove flag close merge delete


Please provide the RETS URL and account name (NO PASSWORDS).
Are you saying you change to another office beside 215 you get no records?

bwolven's avatar bwolven (2018-10-01 14:28:59 -0500) edit

$rets_login_url = ""; $rets_username = "ChasonWachter";

wildgoose's avatar wildgoose (2018-10-01 15:27:12 -0500) edit
add a comment see more comments

1 Answer


Looks like your account is currently disabled.
Your login request is failing, which is probably why you aren't getting any records returned.
You will need to contact the MLS directly to have them enable it.

bwolven's avatar
answered 2018-10-01 15:37:24 -0500
edit flag offensive 0 remove flag delete link


Well, I CAN download our own listings, but cannot download other listings....

wildgoose's avatar wildgoose (2018-10-01 16:35:35 -0500) edit

The last request I see from account "ChasonWachter" was 2018-09-28 08:41:00.727 CST.
I tried logging in with your account but it fails.
Found out it was disabled by MLS this morning.
I see also that you have another account "Chason Wachter" that is enabled.
* Your account doesn't allow access to CM_6 class
* Status search: "(L_StatusCatID=1)" for active, "(L_StatusCatID=2)" for closed
* Date search: "(L_UpdateDate=2018-09-26T06:00:00+)" in UTC

bwolven's avatar bwolven (2018-10-01 17:25:10 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer