Method: operators.planStatuses.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी मोबाइल ऑपरेटर (नई यूनीक ऑटोनॉमस सिस्टम नंबर (ASN) से पहचान की गई) को नई PlanStatus एंट्री जोड़ने की अनुमति देता है.
एचटीटीपी अनुरोध
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
इस संसाधन के पैरंट संसाधन का नाम: operators/{asn_id} .
|
क्वेरी पैरामीटर
पैरामीटर |
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) को अपडेट किया गया."],[[["Allows mobile operators to add new PlanStatus entries for their users, identified by their Autonomous System Number (ASN) and a user key."],["The API utilizes a POST request to `https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses`, with the parent resource being the operator's ASN."],["Both request and response bodies use the PlanStatus object to convey plan status information."],["Authorization requires the `https://www.googleapis.com/auth/dataplansharing` OAuth scope."]]],["A mobile operator uses a `POST` request to add a new `PlanStatus` entry. The request URL specifies the operator's ASN via a `parent` path parameter (`operators/{asn_id}`). A `userKey` query parameter identifies the user. The request body includes `PlanStatus` data, and a successful response returns the created `PlanStatus`. This action requires the `https://www.googleapis.com/auth/dataplansharing` OAuth scope, utilizing gRPC Transcoding for the URL.\n"]]