Google Business Profile एपीआई में
एपीआई का नया तरीका है. इसकी मदद से, एक ही एपीआई अनुरोध में कई `डेली मेट्रिक` फ़ेच की जा सकती हैं.
सेवा बंद होने का शेड्यूल देखें. साथ ही, v4 reportInsights API वाले तरीके से Google Business Profile की परफ़ॉर्मेंस एपीआई में माइग्रेट करने के बारे में निर्देश देखें.
Method: accounts.locations.getServiceList
किसी जगह के लिए तय की गई सेवा सूची पाएं.
एचटीटीपी अनुरोध
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/serviceList}
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. इस जगह के लिए Google आइडेंटिफ़ायर फ़ॉर्म में: accounts/{accountId}/locations/{locationId}/servicelist
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में ServiceList
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
इनमें से कोई एक OAuth स्कोप ज़रूरी है:
https://www.googleapis.com/auth/plus.business.manage
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-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया."],[[["Retrieves the service list associated with a specific Google My Business location."],["Requires authorization with specific OAuth scopes for access."],["Uses a GET request with the location's identifier in the URL path."],["Request body should be empty, and a successful response returns a `ServiceList` object."]]],[]]