Airbnb

פרמיום
על ידי DataCrawler | מְעוּדכָּן a month ago | Travel
פּוֹפּוּלָרִיוּת

9.7 / 10

חֶבִיוֹן

1,122ms

רמת שירות

100%

Health Check

100%

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

Get Property Reviews ignores parameters when paginating

Rapid account: Trevornemanic
trevornemanic
16 days ago

The Get Property Reviews endpoint doesn’t work as expected when paginating. The parameters are ignored, making the resulting pages after the first one not usable.

Issue 1: In the query below, ALL reviews after the 19th index will be non-English results.
{“propertyId”:“32377158”,“totalRecords”:“50”,“offset”:“150”,“languageId”:“en”}

Issue 2: Pagination happens in amounts of 50, ignoring the totalRecords parameter. The bug happens any time after the first pagination. eg
{“propertyId”:“32377158”,“totalRecords”:“10”,“offset”:“100”,“languageId”:“en”}

Rapid account: Trevornemanic
trevornemanic Commented 16 days ago

Hi DataCrawler,

The totalRecords parameter has a maximum limit of 40 records. Are you trying to do 50 records?

It has a limit of 40 when there is no offset. Once there is an offset, things get weird.
41 records returned… querystring = {“propertyId”:“32377158”,“totalRecords”:“40”,“offset”:“1”,“languageId”:“en”}
42 records returned… querystring = {“propertyId”:“32377158”,“totalRecords”:“40”,“offset”:“2”,“languageId”:“en”}
… increases until 50 are always returned

I appreciate your team for looking into it!

Rapid account: Data Crawler
DataCrawler Commented 16 days ago

Hello,

You need to look for data->localizedReview->comments object to get translated value. Please check below screenshot.

Thanks

Rapid account: Data Crawler
DataCrawler Commented 16 days ago

Hello,

The totalRecords parameter has a maximum limit of 40 records. Are you trying to do 50 records?

Thanks

Rapid account: Data Crawler
DataCrawler Commented 16 days ago

Hello,

The technical team has been notified of the issue. We would appreciate it if you could give us a little time to investigate the issue.

Thanks.

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

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