Method: operators.clients.users.planStatus.create
Stay organized with collections
Save and categorize content based on your preferences.
Allows a mobile operator (identified by its unique Autonomous System Number (ASN)) to add new PlanStatus entry for a user to be used by a particular client.
HTTP request
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/clients/{clientId}/users/{userKey}/planStatus
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
The resource name of the parent resource in the following format: operators/{asn_id} .
|
clientId |
string
Client for which the plan status is being shared with Google. The client ids supported are mobiledataplan and youtube.
|
userKey |
string
User key identifiying the user whose plan status is being created.
|
Request body
The request body contains an instance of PlanStatus
.
Response body
If successful, the response body contains a newly created instance of PlanStatus
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dataplansharing
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-03 UTC."],[[["This API enables mobile operators to add new plan status entries for users, utilized by specific clients."],["The request should be a POST request sent to the specified URL with path parameters for operator ASN, client ID, and user key."],["The request body must contain a `PlanStatus` object, and a successful response will return the created `PlanStatus` object."],["Authorization requires the `https://www.googleapis.com/auth/dataplansharing` OAuth scope."]]],["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"]]