PHRETS
PHRETS copied to clipboard
ReplyCode 20203
Hello, my query look as
$results = $this->rets->Search('Property', 'RD_1', "*", ['Limit' => null, 'Select' => 'L_ListingID,L_UpdateDate']);
but me need select only active listings, I try this query
$results = $this->rets->Search('Property', 'RD_1', "L_Status=Active", ['Limit' => null, 'Select' => 'L_ListingID,L_UpdateDate']);
and I receive this error
PHRETS\Exceptions\RETSException: Could not parse DMQL2 Query: Lookup StatDetail defines no lookup type with value: 'Active' at or near position 11. [...(L_Status= !-->Active)),((] in /Volumes/Code/estateblock/vendor/troydavisson/phrets/src/Session.php:437
How can I get listing by status?