| POST | /IapPlanProvisionRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlanId | body | string | No | |
| TierName | body | string | No | |
| EntitlementLookupKey | body | string | No | |
| MonthlySku | body | string | No | |
| AnnualSku | body | string | No | |
| AppId | body | string | No | |
| PushToStore | body | bool | No | |
| SubscriptionGroupName | body | string | No | |
| SubscriptionGroupId | body | string | No | |
| MonthlyPriceUsd | body | decimal? | No | |
| AnnualPriceUsd | body | decimal? | No | |
| PushToPlay | body | bool | No | |
| Reason | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Steps | form | List<IapPlanStepResult> | No | |
| EntitlementId | form | string | No | |
| Status | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Total | form | int | No | |
| OpCode | form | int | No | |
| ErrorText | form | string | No | |
| RequestTime | form | string | No | |
| ResponseTime | form | string | No | |
| TotalExecutionTime | form | string | No | |
| CachedResponse | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Step | form | string | No | |
| Target | form | string | No | |
| Outcome | form | string | No | |
| Detail | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}