| POST | /IapPlanRepriceRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlanId | body | string | No | |
| MonthlyPriceUsd | body | decimal? | No | |
| AnnualPriceUsd | body | decimal? | No | |
| PreserveCurrentPrice | 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 /IapPlanRepriceRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
PlanId: String,
MonthlyPriceUsd: 0,
AnnualPriceUsd: 0,
PreserveCurrentPrice: 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
}