Method: operators.clients.users.planStatus.create

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.