Cdn API - CPG Source

<back to all web services

IapGoogleSubscriptionsRequest

The following routes are available for this service:
GET/IapGoogleSubscriptionsRequest
IapGoogleSubscriptionsResponse Parameters:
NameParameterData TypeRequiredDescription
SubscriptionsformList<GplaySubscription>No
StatusformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
GplaySubscription Parameters:
NameParameterData TypeRequiredDescription
ProductIdformstringNo
TitleEnUsformstringNo
ArchivedformboolNo
BasePlansformList<GplayBasePlan>No
GplayBasePlan Parameters:
NameParameterData TypeRequiredDescription
BasePlanIdformstringNo
StateformstringNo
TypeformstringNo
BillingPeriodformstringNo
PriceUsdformdecimal?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /IapGoogleSubscriptionsRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Subscriptions: 
	[
		{
			ProductId: String,
			TitleEnUs: String,
			Archived: False,
			BasePlans: 
			[
				{
					BasePlanId: String,
					State: String,
					Type: String,
					BillingPeriod: String,
					PriceUsd: 0
				}
			]
		}
	],
	Status: String,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}