Method: operators.planStatuses.create
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
به یک اپراتور تلفن همراه (که با شماره سیستم مستقل خود (ASN) مشخص می شود) اجازه می دهد تا ورودی PlanStatus جدید اضافه کند.
درخواست HTTP
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2022-09-26 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[[["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"]]