| POST | /IapPackageCreateRequest |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OfferingId | body | string | No | |
| LookupKey | body | string | No | |
| DisplayName | body | string | No | |
| Position | body | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Package | form | RcPackage | No | |
| Products | form | List<RcPackageProduct> | 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 |
|---|---|---|---|---|
| Object | form | string | No | |
| Id | form | string | No | |
| LookupKey | form | string | No | |
| DisplayName | form | string | No | |
| Position | form | int? | No | |
| Extra | form | IDictionary<string, Object> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EligibilityCriteria | form | string | No | |
| Product | form | RcProduct | No | |
| Extra | form | IDictionary<string, Object> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Object | form | string | No | |
| Id | form | string | No | |
| StoreIdentifier | form | string | No | |
| Type | form | string | No | |
| DisplayName | form | string | No | |
| AppId | form | string | No | |
| State | form | string | No | |
| Extra | form | IDictionary<string, Object> | 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 /IapPackageCreateRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
OfferingId: String,
LookupKey: String,
DisplayName: String,
Position: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Package:
{
Object: String,
Id: String,
LookupKey: String,
DisplayName: String,
Position: 0
},
Products:
[
{
EligibilityCriteria: String,
Product:
{
Object: String,
Id: String,
StoreIdentifier: String,
Type: String,
DisplayName: String,
AppId: String,
State: String
}
}
],
Status: String,
Total: 0,
OpCode: 0,
ErrorText: String,
RequestTime: String,
ResponseTime: String,
TotalExecutionTime: String,
CachedResponse: False
}