I am using PHREST class for getting photo from RETS Server I can get its city,state,zip and price but I am not able to get images of property for that I am using below function
$photos = $rets->GetObject("Property","Photo","05-020123:CLAW",1);
print_r($photos);
and here I am passed "05-020123:CLAW" this is UniqueID which I get from search query listing and I got below result:
Array
(
[0] => Array
(
[Success] =>
[Content-Type] => text/xml
[MIME-Version] => 1.0
[Length] => 185
[Data] =>
[ReplyCode] => 20402
[ReplyText] => V2.5.0 640: The identifier does not match the KeyField of any data in the resource. Reason: An resource-entity must only contain digits.
)
)
please help me out.