Method: operators.planStatuses.create
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memungkinkan operator seluler (diidentifikasi oleh Nomor Sistem Otonom Unik (ASN) uniknya) menambahkan entri PlanStatus baru.
Permintaan HTTP
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Nama resource dari resource induk dalam format berikut: operators/{asn_id} .
|
Parameter kueri
Parameter |
userKey |
string
Identifikasi pengguna yang mengidentifikasi pengguna yang status paketnya sedang dibuat.
|
Isi permintaan
Isi permintaan memuat instance PlanStatus
.
Isi respons
Jika berhasil, isi respons memuat instance PlanStatus
yang baru dibuat.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/dataplansharing
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2022-09-26 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]