Allows a mobile operator (identified by its unique Autonomous System Number (ASN)) to add a new PlanGroup entry.
HTTP request
POST https://mobiledataplansharing.googleapis.com/v1/{parent=operators/*}/planGroups
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The resource name of the parent resource in the following format: |
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"planGroupId": string,
"planGroup": {
object ( |
Fields | |
---|---|
planGroupId |
The planGroupId, which uniquely identifies a subscriber to the mobile network operator. For example, planGroupId can be the mobile station international subscriber directory number (MSISDN) or an encrypted version of MSISDN. |
planGroup |
The PlanGroup resource to create. |
Response body
If successful, the response body contains data with the following structure:
PlanGroup contains details for all top-level mobile service packages a user has purchased.
JSON representation | |
---|---|
{
"name": string,
"dataPlans": [
{
object ( |
Fields | |
---|---|
name |
The resource name of the plan group in the following format: |
dataPlans[] |
List of data plans owned by this user. |
responseStaleTime |
Time when the shared plan group information becomes outdated. PlanGroup will not be served to applications after this time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lastUpdatedTime |
Time when the data plan agent (DPA) fetched the data plan status information from backend systems. Will be used to determine how recent is the data plan status information. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dataplansharing
For more information, see the OAuth 2.0 Overview.