Cdn API - CPG Source

<back to all web services

IapGoogleBasePlanRequest

The following routes are available for this service:
POST/IapGoogleBasePlanRequest
IapGoogleBasePlanRequest Parameters:
NameParameterData TypeRequiredDescription
StoreIdentifierbodystringNo
BasePlanIdbodystringNo
DeactivatebodyboolNo
ReasonbodystringNo
IapGoogleSubscriptionResponse Parameters:
NameParameterData TypeRequiredDescription
SubscriptionformGplaySubscriptionNo
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.

POST /IapGoogleBasePlanRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	StoreIdentifier: String,
	BasePlanId: String,
	Deactivate: False,
	Reason: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Subscription: 
	{
		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
}