Method: operators.clients.users.planStatus.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इससे मोबाइल ऑपरेटर को यह पहचानने में मदद मिलती है कि किसी खास क्लाइंट को उपयोगकर्ता के लिए, PlanStatus की नई एंट्री जोड़ने की अनुमति है. यह ऑपरेटर, अपने हिसाब से ऑटोनॉमस सिस्टम नंबर (ASN) से पहचाना जाता है.
एचटीटीपी अनुरोध
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/clients/{clientId}/users/{userKey}/planStatus
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
इस संसाधन के पैरंट संसाधन का नाम: operators/{asn_id} .
|
clientId |
string
वह क्लाइंट जिसके लिए Google के साथ प्लान की स्थिति शेयर की जा रही है. मोबाइल डेटा प्लान और YouTube, क्लाइंट आईडी का इस्तेमाल करते हैं.
|
userKey |
string
उपयोगकर्ता की पहचान से जुड़ी उस उपयोगकर्ता कुंजी से जिसकी पहचान की जा रही है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में PlanStatus
का उदाहरण है.
जवाब का मुख्य भाग
अनुरोध पूरा होने पर, रिस्पॉन्स के मुख्य हिस्से में PlanStatus
का नया इंस्टेंस शामिल होता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/dataplansharing
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-09-26 (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-09-26 (UTC) को अपडेट किया गया."],[[["This API endpoint allows mobile operators to add new plan status entries for users."],["The request must include the operator's ASN, client ID (mobiledataplan or youtube), and a user key."],["Both the request and response bodies utilize the `PlanStatus` object for data transfer."],["Authorization requires the `https://www.googleapis.com/auth/dataplansharing` scope."],["The endpoint uses a POST request to `https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/clients/{clientId}/users/{userKey}/planStatus`."]]],["A mobile operator uses a POST request to add a new `PlanStatus` entry for a specific user. The request targets a URL structured with `parent` (operator ASN), `clientId` (e.g., mobiledataplan, youtube), and `userKey`. The request body includes `PlanStatus` data, and a successful response returns a new `PlanStatus` instance. Authorization requires the `https://www.googleapis.com/auth/dataplansharing` OAuth scope. The core action is adding a new PlanStatus for a user.\n"]]