107 lines
2.4 KiB
JSON
107 lines
2.4 KiB
JSON
[
|
|
{
|
|
"actionTypeCode": "AWARD_MILES",
|
|
"fields": [
|
|
{
|
|
"fieldCode": "miles_to_credit",
|
|
"fieldName": "Miles to Credit",
|
|
"fieldType": "number",
|
|
"isRequired": true,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 1
|
|
},
|
|
{
|
|
"fieldCode": "expiry_date",
|
|
"fieldName": "Expiry",
|
|
"fieldType": "date",
|
|
"isRequired": false,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 2
|
|
},
|
|
{
|
|
"fieldCode": "loyalty_program",
|
|
"fieldName": "Loyalty Program",
|
|
"fieldType": "dropdown",
|
|
"lookupSource": "loyalty-program",
|
|
"isRequired": true,
|
|
"width": "full",
|
|
"section": "Loyalty",
|
|
"displayOrder": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"actionTypeCode": "BONUS_MILES",
|
|
"fields": [
|
|
{
|
|
"fieldCode": "bonus_miles",
|
|
"fieldName": "Bonus Miles",
|
|
"fieldType": "number",
|
|
"isRequired": true,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 1
|
|
},
|
|
{
|
|
"fieldCode": "promotion_code",
|
|
"fieldName": "Promotion Code",
|
|
"fieldType": "dropdown",
|
|
"lookupSource": "promotion-code",
|
|
"isRequired": false,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"actionTypeCode": "TIER_POINTS",
|
|
"fields": [
|
|
{
|
|
"fieldCode": "tier_points",
|
|
"fieldName": "Tier Points",
|
|
"fieldType": "number",
|
|
"isRequired": true,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 1
|
|
},
|
|
{
|
|
"fieldCode": "validity_date",
|
|
"fieldName": "Validity",
|
|
"fieldType": "date",
|
|
"isRequired": false,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"actionTypeCode": "TIER_UPGRADE",
|
|
"fields": [
|
|
{
|
|
"fieldCode": "target_tier",
|
|
"fieldName": "Target Tier",
|
|
"fieldType": "dropdown",
|
|
"lookupSource": "membership-tier",
|
|
"isRequired": true,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 1
|
|
},
|
|
{
|
|
"fieldCode": "upgrade_duration_months",
|
|
"fieldName": "Upgrade Duration (Months)",
|
|
"fieldType": "number",
|
|
"isRequired": true,
|
|
"width": "half",
|
|
"section": "Loyalty",
|
|
"displayOrder": 2
|
|
}
|
|
]
|
|
}
|
|
]
|