我使用PHREST類從RETS服務器獲取照片我可以獲取其城市,州,郵編和價格,但我無法獲取屬性圖像我使用下面的函數無法在使用PHRETS類的RETS(房地產交易系統)中獲取照片
$photos = $rets->GetObject("Property","Photo","05-020123:CLAW",1); print_r($photos);
我在這裏通過「05-020123:爪」這是UniqueID的是我從搜索查詢得到上市,我得到了以下結果:
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. ) )
請幫助我出去了。