Master Data Reference of GS2-SerialKey
Reference of the format of master data and various models to be imported
{
  "version": "2022-09-13",
  "campaignModels": [
    {
      "name": "[string]Campaign name",
      "metadata": "[string?]metadata",
      "enableCampaignCode": "[bool]Allow redemption with campaign code"
    }
  ]
}
| Type | Condition | Require | Default | Limitation | Description | |
|---|---|---|---|---|---|---|
| version | ✓ | 2022-09-13 | Format version of master data | |||
| campaignModels | List<CampaignModel> | ~ 1000 items | Campaign Model | 
CampaignModel
Campaign Model
The campaign model is used to define and manage campaigns, linking them to serial codes.
| Type | Condition | Require | Default | Limitation | Description | |
|---|---|---|---|---|---|---|
| campaignId | string | ✓ | ~ 1024 chars | Campaign Model GRN | ||
| name | string | ✓ | ~ 128 chars | Campaign name | ||
| metadata | string | ~ 2048 chars | metadata | |||
| enableCampaignCode | bool | ✓ | false | Allow redemption with campaign code |