একাধিক প্রপার্টির জন্য লাইভ অন Google স্ট্যাটাস আপডেট করার জন্য সংগ্রহ-স্তরের কাস্টম পদ্ধতি। প্রতিটি কল একাধিক হোটেল চালু বা বন্ধ করতে পারে। কিছু হোটেল চালু করতে এবং কিছু হোটেল বন্ধ করতে, আপনাকে একাধিক কল করতে হবে।
HTTP অনুরোধ
POST https://travelpartner.googleapis.com/v3/{account=accounts/*}/hotels:setLiveOnGoogle
প্রয়োজন। প্রপার্টি গুগলে দেখাবে কিনা। সত্য হলে, Google বৈশিষ্ট্য দেখাবে যদি তাদের ইন্টিগ্রেশন সম্পূর্ণ হয় এবং প্রপার্টি উপলব্ধ থাকে। মিথ্যা হলে, Google কখনই প্রপার্টি দেখাবে না।
partnerHotelIds[]
string
প্রয়োজন। LiveOnGoogle সেটিংসের সাথে আপডেট করার বৈশিষ্ট্যগুলি সনাক্ত করে৷
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
সর্বস্বত্ব সংরক্ষিত। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2022-08-23 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2022-08-23 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis method allows you to update the "Live on Google" status for multiple hotel properties, enabling or disabling their visibility on Google.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify whether to show or hide properties on Google using the \u003ccode\u003eliveOnGoogle\u003c/code\u003e boolean field in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe request body also requires a list of \u003ccode\u003epartnerHotelIds\u003c/code\u003e to identify the specific properties to update.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes lists of successfully updated (\u003ccode\u003eupdatedHotelIds\u003c/code\u003e) and failed (\u003ccode\u003efailedHotelIds\u003c/code\u003e) hotel properties.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/travelpartner\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]