Check More Hotel Results
The Check More Hotel Results method allows you to verify if the `moreResults` parameter is set to `true` in the Hotel Search Results API's response. This method is essential for retrieving additional search results that were not included in the initial response.
More Hotel Results Request
Method | URL |
---|---|
GET | https://das.hotel.demircode.net/HotelAPI/moreResults?sessionId=<sessionId> &nextToken=<nextToken>&maxResult=20> |
More Hotel Results Elements
Element | Format | Description | Required |
---|---|---|---|
sessionId | String | Use the session ID that was returned in the Hotel Search Results API's response. | REQUIRED |
nextToken | String | Every result set returned by the Hotel Search Results API has a unique token. This token is used to retrieve any missed or timed-out search results based on the token provided. | REQUIRED |
maxResult | Integer | Specify the number of results you want to receive in the search response | REQUIRED |
Daha Fazla Otel Sonucunu Kontrol Et
Daha Fazla Otel Sonucunu Kontrol Et yöntemi, Otel Arama Sonuçları API'sinin yanıtındaki `moreResults` parametresinin `true` olarak ayarlanıp ayarlanmadığını doğrulamanıza olanak tanır. Bu yöntem, ilk yanıta dahil edilmeyen ek arama sonuçlarını almak için gereklidir.
Daha Fazla Otel Sonuçları İsteği
Yöntem | URL |
---|---|
GET | https://das.hotel.demircode.net/HotelAPI/moreResults?sessionId=<sessionId> &nextToken=<nextToken>&maxResult=20> |
Daha Fazla Otel Sonuçları Elemanları
Eleman | Format | Açıklama | Gerekli |
---|---|---|---|
sessionId | String | Otel Arama Sonuçları API'sinin yanıtında döndürülen oturum kimliğini kullanın. | GEREKLİ |
nextToken | String | Otel Arama Sonuçları API'si tarafından döndürülen her sonuç setinin benzersiz bir tokeni vardır. Bu token, sağlanan tokena dayalı olarak kaçırılan veya zaman aşımına uğramış arama sonuçlarını geri almak için kullanılır. | GEREKLİ |
maxResult | Integer | Arama yanıtında almak istediğiniz sonuç sayısını belirtin. | GEREKLİ |