Bayut

פרמיום
Verified
על ידי Api Dojo | מְעוּדכָּן 21 days ago | Business
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

2,133ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Getting photo ids instead of photos

Rapid account: 11931280
11931280
10 months ago

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 months ago

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 months ago

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 months ago

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 months ago

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 months ago

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

Regards.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות