Method: accounts.hotelViews.list
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
হোটেল দর্শনের তালিকা প্রদান করে।
HTTP অনুরোধ
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string অ্যাকাউন্টের সম্পদের নাম জিজ্ঞাসা করা হচ্ছে। বিন্যাস হল accounts/{account_id} । |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
pageSize | integer একটি একক পৃষ্ঠায় পুনরুদ্ধার করার জন্য উপাদানের সংখ্যা। |
pageToken | string পুনরুদ্ধার করতে পৃষ্ঠার টোকেন। |
filter | string ঐচ্ছিক। হোটেল ভিউ ফিল্টার করতে ব্যবহৃত শর্ত (ক্ষেত্র এবং অভিব্যক্তি)। সিনট্যাক্সের জন্য in অপারেটরের চারপাশে স্পেস প্রয়োজন। অন্যথায়, স্পেস বাদ দেওয়া যেতে পারে। শর্ত যোগদান করা যাবে না. hotelId ক্ষেত্রটি নির্দিষ্ট হোটেল নির্বাচন করতে ব্যবহার করা যেতে পারে। liveOnGoogle ক্ষেত্রটি Google দেখায় এমন বৈশিষ্ট্যগুলি বা Google অনুসন্ধান ফলাফলে বাদ দেওয়া বৈশিষ্ট্যগুলি নির্বাচন করতে পারে৷ অ্যাকাউন্টের জন্য ফেরত দেওয়া হোটেল ভিউগুলির তালিকা ফিল্টার করতে matchStatus ক্ষেত্রটি ব্যবহার করা যেতে পারে। বৈধ অবস্থার উদাহরণ এবং তাদের সিনট্যাক্স নিম্নরূপ: -
hotelId = 'hotel_ABC' -
hotelId in ('hotel_ABC', 'hotel_XYZ') -
liveOnGoogle = 'TRUE' -
liveOnGoogle = 'FALSE' -
matchStatus = 'NOT_MATCHED' -
matchStatus in ('NOT_MATCHED', 'MATCHED', 'MAP_OVERLAP')
|
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"hotelViews": [
{
object (HotelView )
}
],
"nextPageToken": string
} |
ক্ষেত্র |
---|
hotelViews[] | object ( HotelView ) সারির তালিকা যা প্রশ্নের সাথে মেলে। |
nextPageToken | string ফলাফলের পরবর্তী পৃষ্ঠা পুনরুদ্ধার করতে ব্যবহৃত পৃষ্ঠা সংখ্যা টোকেন। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/travelpartner
আরও তথ্যের জন্য, OAuth 2.0 ওভারভিউ দেখুন।
সর্বস্বত্ব সংরক্ষিত। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2022-08-23 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2022-08-23 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eRetrieves a list of hotel views associated with a specific account, allowing for filtering and pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequest is made via a GET method to the specified endpoint with required path and optional query parameters.\u003c/p\u003e\n"],["\u003cp\u003eResponse includes an array of hotel views and a token for retrieving subsequent pages if available.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/travelpartner\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.hotelViews.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListHotelViewsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns the list of hotel views.\n\n### HTTP request\n\n`GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/hotelViews`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------|\n| `parent` | `string` The resource name of the account being queried. The format is `accounts/{account_id}`. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Number of elements to retrieve in a single page. |\n| `pageToken` | `string` Token of the page to retrieve. |\n| `filter` | `string` Optional. The conditions (fields and expressions) used to filter HotelViews. The syntax requires spaces surrounding the `in` operator. Otherwise, spaces can be omitted. Conditions cannot be joined. The `hotelId` field can be used to select specific hotels. The `liveOnGoogle` field can select properties that Google shows, or properties that are omitted in google search results. A value of 'TRUE' includes properties that are conditionally active, e.g. LIVE_ON_GOOGLE_STATUS_ACTIVE_OUTSIDE_DSA_REGION. The `matchStatus` field can be used to filter the list of HotelViews returned for the account. Examples of valid conditions and their syntax are as follows: - `hotelId = 'hotel_ABC'` - `hotelId in ('hotel_ABC', 'hotel_XYZ')` - `liveOnGoogle = 'TRUE'` - `liveOnGoogle = 'FALSE'` - `matchStatus = 'NOT_MATCHED'` - `matchStatus in ('NOT_MATCHED', 'MATCHED', 'MAP_OVERLAP')` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [HotelViewService.ListHotelViews](/hotels/hotel-prices/api-reference/rest/v3/accounts.hotelViews/list#google.travel.travelpartner.v3.HotelViewService.ListHotelViews).\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"hotelViews\": [ { object (/hotels/hotel-prices/api-reference/rest/v3/accounts.hotelViews#HotelView) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| `hotelViews[]` | `object (`[HotelView](/hotels/hotel-prices/api-reference/rest/v3/accounts.hotelViews#HotelView)`)` The list of rows that match the query. |\n| `nextPageToken` | `string` Pagination token used to retrieve the next page of results. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/travelpartner`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]