Agent Data no longer returned
I have been using the following code to retrieve agent email and phone numbers for a listing. For some reason over the past few days the query no longer returns results. is there a change in this process or is it possible my account has been limited in what data i can fetch?
I get no errors returned, no data, not a thing that points to a failure or a point to start to identify the issue.
$search = $rets->searchQuery("Agent","Agent",("U_UserFirstName={$rec['LA11_UserFirstName]}),(U_UserLastName={$rec['LA1_UserLastName']})",array('Limit'=>1,'select'=>'*'));
if($rets->TotalRecordsFound() > 0) {
$agent = $rets->FetchRow($search);
var_dump($agent);
}
Comments
If you can provide your RETS Login URL and account name we can be of more help. Also what is "LA11_UserFirstName"? Is that possibly supposed to be "LA1_UserFirstName"?
yes LA11_UserFirstName should be LA1_UserFirstName here is the information you requested
$loginUrl = "http://nsar.rets.paragonrels.com/rets/fnisrets.aspx/NSAR/login?rets-version=rets/1.7.2"; $username = "TPV16720";