Bayut

부분 유료
분류별 Api Dojo | 업데이트됨 24일 전 | Business
인기

9.8 / 10

지연 시간

2,142ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Getting photo ids instead of photos

Rapid account: 11931280
11931280
10달 전

I am getting photo ids instead of the photos when I fetch by list. Is there a way to get the photo URL from the id ?

Rapid account: Apidojo
apidojo Commented 9달 전

Hello,

The listing page or list endpoint often displays a photo (coverPhoto field in this case) next to the record. Don’t all of you see this in every applications/sites? All photos are always available in the detailed page OR detail endpoint (photos field in this case).

Regards.

Rapid account: Alekseiartemev
alekseiartemev Commented 9달 전

Done some research and there is a way to get it: use properties/list, get ExternalID, then call properties/detail to get certain listings details. It is possible to get photo URLs from there.

Rapid account: Alekseiartemev
alekseiartemev Commented 9달 전

Actually I have the same question. It is about get properties response -> photoIDs section: it is the list of image IDs, but how to obtain real image URLs?

Rapid account: 11931280
11931280 Commented 10달 전

Thanks for your fast reply !

here is the URL: ${baseUrl}/properties/list?locationExternalIDs=5002&purpose=for-sale&hitsPerPage=6

in the object returned for each property it is showing only … PhotoCount, PhotoIDS …

Rapid account: Apidojo
apidojo Commented 10달 전

What endpoint are you talking about? Please send long with the request/response sample?

Regards.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입