Method: operators.planStatuses.create
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ermöglicht einem Mobilfunkanbieter, der durch seine eindeutige Autonomous System Number (ASN) identifiziert wird, einen neuen PlanStatus-Eintrag hinzuzufügen.
HTTP-Anfrage
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Der Ressourcenname der übergeordneten Ressource im folgenden Format: operators/{asn_id} .
|
Abfrageparameter
Parameter |
userKey |
string
Nutzerschlüssel, der den Nutzer angibt, dessen Tarifstatus erstellt wird.
|
Anfragetext
Der Anfragetext enthält eine Instanz von PlanStatus
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von PlanStatus
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/dataplansharing
Weitere Informationen finden Sie unter OAuth 2.0.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2022-09-26 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2022-09-26 (UTC)."],[[["This API allows mobile operators to add new PlanStatus entries for their users."],["It uses a POST request to `https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses` with the operator's ASN in the path."],["The request body should contain a PlanStatus object, and a successful response will return the newly created PlanStatus."],["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"]]