Google Business Profile एपीआई में
एपीआई का नया तरीका है. इसकी मदद से, एक ही एपीआई अनुरोध में कई `डेली मेट्रिक` फ़ेच की जा सकती हैं.
सेवा बंद होने का शेड्यूल देखें. साथ ही, v4 reportInsights API वाले तरीके से Google Business Profile की परफ़ॉर्मेंस एपीआई में माइग्रेट करने के बारे में निर्देश देखें.
Method: accounts.admins.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
तय किए गए उपयोगकर्ता को बताए गए खाते का एडमिन बनने के लिए न्योता देता है. आमंत्रित व्यक्ति को खाते का ऐक्सेस पाने के लिए आमंत्रण स्वीकार करना होगा. किसी न्योते को प्रोग्राम के हिसाब से स्वीकार करने के लिए, [invitations.accept]
[google.mybusiness.accountmanagement.v1.स्वीकार करें] पर जाएं.
एचटीटीपी अनुरोध
POST https://mybusinessaccountmanagement.googleapis.com/v1/{parent=accounts/*}/admins
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. उस खाते के संसाधन का नाम जिसके लिए यह एडमिन बनाया गया है. accounts/{account_id} .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Admin
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, रिस्पॉन्स के मुख्य हिस्से में Admin
का नया इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/business.manage
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-01 (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"]],["आखिरी बार 2023-12-01 (UTC) को अपडेट किया गया."],[[["Invites a specified user to become an administrator for a specific account, requiring the invitee's acceptance for access."],["Uses an HTTP POST request to the specified URL with the account ID as a path parameter."],["The request body must contain an instance of the `Admin` object, and a successful response will return a newly created `Admin` object."],["Requires the `https://www.googleapis.com/auth/business.manage` OAuth scope for authorization."]]],["This describes the process of inviting a user to become an account administrator. A `POST` request is sent to `https://mybusinessaccountmanagement.googleapis.com/v1/{parent=accounts/*}/admins`, specifying the `parent` account ID in the path. The request body includes details of the new admin, and a successful response returns the created admin details. The user invited must accept, using the given method. Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope.\n"]]