Changes for page 1. SearchHotelPrices

Last modified by Giorgi Mdivnishvili on 2024/11/06 10:47

From version 15.2
edited by Giorgi Mdivnishvili
on 2024/04/12 18:35
Change comment: There is no comment for this version
To version 15.1
edited by Giorgi Mdivnishvili
on 2024/04/11 18:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -430,6 +430,7 @@
430 430  ** To navigate through the dataset, adjust the pageNumber while keeping the pagingId constant.
431 431  ** To refresh the dataset and clear the cache, initiate a new request without a pagingId.
432 432  
433 +
433 433  **Example - Request with Caching**:
434 434  
435 435  {{{ {
... ... @@ -455,18 +455,18 @@
455 455  == Important ==
456 456  
457 457  {{error}}
458 -=== Implementing Authorization in Subsequent Requests ===
459 +It's Important to in every other request header, put Auth token
459 459  
460 -For every API request after the initial authentication, it's crucial to include the authorization token in the request header. This ensures your requests are authorized and can access the necessary resources. Here's how to properly include your token:
461 +**Key **- Authorization
461 461  
462 -* **Header Key:** Authorization
463 -* **Header Value:** Bearer [Your Token Here] - Use the bearer token provided in the initial authentication response. The authorization type should be specified as Bearer Token.
463 +**Value **- Bearer Token what is given in this response.
464 464  
465 -Additionally, to ensure your requests are properly formatted and recognized, include the following headers:
466 466  
467 -* **Content-Type:** Specify this header as application/json to indicate the format of the request body.
468 -* **Header Key:** X-nugios-timezone
469 -* **Header Value:** 240 - Adjust this value to match your local timezone offset in minutes.
466 +**also note in headers that:**
470 470  
471 -Incorporating these headers with their respective values is essential for the successful processing of your API requests.
468 +Content-Type - application/json
469 +
470 +**Key - **X-nugios-timezone
471 +
472 +**Value **- 240
472 472  {{/error}}