Method: operators.planStatuses.create

  • 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.

Allows a mobile operator (identified by its unique Autonomous System Number (ASN)) to add new PlanStatus entry.

HTTP request

POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planStatuses

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}.

Query parameters

Parameters
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.