Cdn API - CPG Source

<back to all web services

IapPlanMapRequest

Cdn.Api

The following routes are available for this service:
GET/IapPlanMapRequest
IapPlanMapResponse Parameters:
NameParameterData TypeRequiredDescription
PlansformList<IapPlanDto>No
SourceformstringNo
StatusformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
IapPlanDto Parameters:
NameParameterData TypeRequiredDescription
PlanIdformstringNo
NameformstringNo
TaglineformstringNo
LevelformintNo
BadgeformstringNo
BenefitsformList<string>No
RequiresShippingAddressformboolNo
VisibleInAppformboolNo
SortOrderformintNo
EntitlementLookupKeyformstringNo
ProductCategoryIdformlongNo
MonthlySkuformstringNo
AnnualSkuformstringNo
MonthlyLocalProductIdformlongNo
AnnualLocalProductIdformlongNo
UnlocksRetailformboolNo
UnlocksWholesaleformboolNo
RetailCatalogIdsformstringNo
WholesaleCatalogIdsformstringNo
IncludesPrintformboolNo

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 /IapPlanMapRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Plans: 
	[
		{
			PlanId: String,
			Name: String,
			Tagline: String,
			Level: 0,
			Badge: String,
			Benefits: 
			[
				String
			],
			RequiresShippingAddress: False,
			VisibleInApp: False,
			SortOrder: 0,
			EntitlementLookupKey: String,
			ProductCategoryId: 0,
			MonthlySku: String,
			AnnualSku: String,
			MonthlyLocalProductId: 0,
			AnnualLocalProductId: 0,
			UnlocksRetail: False,
			UnlocksWholesale: False,
			RetailCatalogIds: String,
			WholesaleCatalogIds: String,
			IncludesPrint: False
		}
	],
	Source: String,
	Status: String,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}