Cdn API - CPG Source

<back to all web services

IapPlanProvisionRequest

Cdn.Api

The following routes are available for this service:
POST/IapPlanProvisionRequest
IapPlanProvisionRequest Parameters:
NameParameterData TypeRequiredDescription
PlanIdbodystringNo
TierNamebodystringNo
EntitlementLookupKeybodystringNo
MonthlySkubodystringNo
AnnualSkubodystringNo
AppIdbodystringNo
PushToStorebodyboolNo
SubscriptionGroupNamebodystringNo
SubscriptionGroupIdbodystringNo
MonthlyPriceUsdbodydecimal?No
AnnualPriceUsdbodydecimal?No
PushToPlaybodyboolNo
ReasonbodystringNo
IapPlanProvisionResponse Parameters:
NameParameterData TypeRequiredDescription
StepsformList<IapPlanStepResult>No
EntitlementIdformstringNo
StatusformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
IapPlanStepResult Parameters:
NameParameterData TypeRequiredDescription
StepformstringNo
TargetformstringNo
OutcomeformstringNo
DetailformstringNo

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

{
	PlanId: String,
	TierName: String,
	EntitlementLookupKey: String,
	MonthlySku: String,
	AnnualSku: String,
	AppId: String,
	PushToStore: False,
	SubscriptionGroupName: String,
	SubscriptionGroupId: String,
	MonthlyPriceUsd: 0,
	AnnualPriceUsd: 0,
	PushToPlay: False,
	Reason: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Steps: 
	[
		{
			Step: String,
			Target: String,
			Outcome: String,
			Detail: String
		}
	],
	EntitlementId: String,
	Status: String,
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}