AI-generated Key Takeaways
-
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 createdPlanStatus
object. -
Authorization requires the
https://www.googleapis.com/auth/dataplansharing
OAuth scope.
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 |
The resource name of the parent resource in the following format: |
clientId |
Client for which the plan status is being shared with Google. The client ids supported are mobiledataplan and youtube. |
userKey |
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.