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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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}