Method: operators.clients.users.planStatus.create
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি মোবাইল অপারেটরকে (এর অনন্য স্বায়ত্তশাসিত সিস্টেম নম্বর (ASN) দ্বারা চিহ্নিত) একটি ব্যবহারকারীকে একটি নির্দিষ্ট ক্লায়েন্ট দ্বারা ব্যবহার করার জন্য নতুন PlanStatus এন্ট্রি যোগ করার অনুমতি দেয়৷
HTTP অনুরোধ
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/clients/{clientId}/users/{userKey}/planStatus
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
parent | string নিম্নলিখিত বিন্যাসে মূল সম্পদের সম্পদের নাম: operators/{asn_id} । |
clientId | string ক্লায়েন্ট যার জন্য প্ল্যান স্ট্যাটাস Google-এর সাথে শেয়ার করা হচ্ছে। ক্লায়েন্ট আইডি সমর্থিত মোবাইলডেটাপ্ল্যান এবং ইউটিউব। |
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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
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"]]