Ask Your Question
0

help on phrets search query

asked 2018-10-01 14:25:37 -0600

wildgoose gravatar image

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).

edit retag flag offensive close merge delete

Comments

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 gravatar imagebwolven ( 2018-10-01 14:28:59 -0600 )edit

$rets_login_url = "http://bcar.rets.paragonrels.com/rets/fnisrets.aspx/BCAR/login?rets-version=RETS/1.7.2"; $rets_username = "ChasonWachter";

wildgoose gravatar imagewildgoose ( 2018-10-01 15:27:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-01 15:37:24 -0600

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.

edit flag offensive delete link more

Comments

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

wildgoose gravatar imagewildgoose ( 2018-10-01 16:35:35 -0600 )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.
Failures:
* 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 gravatar imagebwolven ( 2018-10-01 17:25:10 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-10-01 14:25:37 -0600

Seen: 35 times

Last updated: Oct 01