Skip to content

Instantly share code, notes, and snippets.

@cliffgr
Created March 14, 2018 10:30
Show Gist options
  • Save cliffgr/e1a535dc760a823d710b8807fbf42819 to your computer and use it in GitHub Desktop.
Save cliffgr/e1a535dc760a823d710b8807fbf42819 to your computer and use it in GitHub Desktop.
{
"wappierId": "1fb6d8ca-5b2d-5d3a-b693-6b38a2ac865b",
"loyalty": {
"enabled": true,
"analytics": {
"enabled": true
},
"audiences": [],
"groups": [],
"events": [
"FIRST_RUN"
],
"claimedRewards": [],
"points": {
"total": 7100,
"current": 7100
}
},
"spendPoints": {
"notifications": {
"total": 15,
"enabled": true
},
"rewardGroups": [
{
"notifications": {
"enabled": true,
"total": 5
},
"rewards": [
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17fc97dbb7851e223233e3",
"rewardGroupId": "5a17fb94dbb7851e223233d4",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:04:50.000Z",
"expireAt": "2101-03-24T11:03:50.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 500
},
"assets": {
"title": {
"en": "Damascus"
},
"description": {
"en": "B Grade Weapon"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_79_1511521431891.jpeg"
}
},
"metadata": {
"quantity": 20,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17fda8dbb7851e22323408",
"rewardGroupId": "5a17fb94dbb7851e223233d4",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:09:23.000Z",
"expireAt": "2101-03-24T11:08:23.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 500
},
"assets": {
"title": {
"en": "Keshanberk"
},
"description": {
"en": "B Grade Weapon"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_142_1511521704131.jpeg"
}
},
"metadata": {
"quantity": 20,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17fc02dbb7851e223233d6",
"rewardGroupId": "5a17fb94dbb7851e223233d4",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:02:06.000Z",
"expireAt": "2101-03-24T11:01:06.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 1000
},
"assets": {
"title": {
"en": "Elemental Sword"
},
"description": {
"en": "A Grade Weapon"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_150_1511521282079.jpeg"
}
},
"metadata": {
"quantity": 1,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17fc3adbb7851e223233d8",
"rewardGroupId": "5a17fb94dbb7851e223233d4",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:03:17.000Z",
"expireAt": "2101-03-24T11:02:17.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 1000
},
"assets": {
"title": {
"en": "Sword of Miracles"
},
"description": {
"en": "A Grade Weapon"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_151_1511521338497.jpeg"
}
},
"metadata": {
"quantity": 10,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17fc62dbb7851e223233de",
"rewardGroupId": "5a17fb94dbb7851e223233d4",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:03:57.000Z",
"expireAt": "2101-03-24T11:02:57.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 5000
},
"assets": {
"title": {
"en": "Dark Legion's Edge"
},
"description": {
"en": "A Grade Weapon"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_2500_1511521378846.jpeg"
}
},
"metadata": {
"quantity": 5,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
}
],
"_id": "5a17fb94dbb7851e223233d4",
"updatedAt": "2017-11-24T10:59:32.593Z",
"createdAt": "2017-11-24T10:59:32.593Z",
"title": {
"en": "Weapons"
},
"description": {
"en": "Weapons Description"
},
"image": {
"en": "/data/images/rewardGroups/lineage-2-logo_1511521172552.jpeg"
},
"__v": 0,
"deleted": false,
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
},
"type": "normal"
},
{
"notifications": {
"enabled": true,
"total": 6
},
"rewards": [
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17ffaddbb7851e2232344d",
"rewardGroupId": "5a17fe94dbb7851e2232343c",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:17:59.000Z",
"expireAt": "2101-03-24T11:16:59.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 1500
},
"assets": {
"title": {
"en": "Doom Plate Armor"
},
"description": {
"en": "B Grade Armor"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_2381_1511522221010.jpeg"
}
},
"metadata": {
"quantity": 30,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17fefbdbb7851e2232343e",
"rewardGroupId": "5a17fe94dbb7851e2232343c",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:15:02.000Z",
"expireAt": "2101-03-24T11:14:02.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 3000
},
"assets": {
"title": {
"en": "Dark Crystal "
},
"description": {
"en": "A Grade Armor"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_365_1511522043632.jpeg"
}
},
"metadata": {
"quantity": 10,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17ff35dbb7851e22323443",
"rewardGroupId": "5a17fe94dbb7851e2232343c",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:15:58.000Z",
"expireAt": "2101-03-24T11:14:58.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 3000
},
"assets": {
"title": {
"en": "Armor of Nightmare"
},
"description": {
"en": "A Grade Armor"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_374_1511522101278.jpeg"
}
},
"metadata": {
"quantity": 10,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a17ff64dbb7851e22323448",
"rewardGroupId": "5a17fe94dbb7851e2232343c",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:16:46.000Z",
"expireAt": "2101-03-24T11:15:46.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 3000
},
"assets": {
"title": {
"en": "Majestic Plate Armor"
},
"description": {
"en": "A Grade Armor"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_2383_1511522148199.jpeg"
}
},
"metadata": {
"quantity": 10,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a18002adbb7851e2232344f",
"rewardGroupId": "5a17fe94dbb7851e2232343c",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:20:03.000Z",
"expireAt": "2101-03-24T11:19:03.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 4000
},
"assets": {
"title": {
"en": "Full Plate Armor"
},
"description": {
"en": "C Grade Armor"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_356_1511522346024.jpeg"
}
},
"metadata": {
"quantity": 60,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a180084dbb7851e22323454",
"rewardGroupId": "5a17fe94dbb7851e2232343c",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:21:34.000Z",
"expireAt": "2101-03-24T11:20:34.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 4000
},
"assets": {
"title": {
"en": "Compound Armor"
},
"description": {
"en": "C Grade Armor"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_60_1511522436495.jpeg"
}
},
"metadata": {
"quantity": 60,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
}
],
"_id": "5a17fe94dbb7851e2232343c",
"updatedAt": "2017-11-24T11:12:20.369Z",
"createdAt": "2017-11-24T11:12:20.369Z",
"title": {
"en": "Armors "
},
"description": {
"en": "Armor Description"
},
"image": {
"en": "/data/images/rewardGroups/lineage-2-logo_1511521940351.jpeg"
},
"__v": 0,
"deleted": false,
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
},
"type": "normal"
},
{
"notifications": {
"enabled": true,
"total": 4
},
"rewards": [
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a180203dbb7851e22323468",
"rewardGroupId": "5a1800d7dbb7851e2232345d",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:27:58.000Z",
"expireAt": "2101-03-24T11:26:58.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 1000
},
"assets": {
"title": {
"en": "Elven Earring"
},
"description": {
"en": "D Grade Accessory"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_850_1511522819679.jpeg"
}
},
"metadata": {
"quantity": 50,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a1801a2dbb7851e22323463",
"rewardGroupId": "5a1800d7dbb7851e2232345d",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:26:20.000Z",
"expireAt": "2101-03-24T11:25:20.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 1500
},
"assets": {
"title": {
"en": "Necklace of Seal"
},
"description": {
"en": "B Grade Accessory"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_119_1511522722350.jpeg"
}
},
"metadata": {
"quantity": 10,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a180100dbb7851e2232345f",
"rewardGroupId": "5a1800d7dbb7851e2232345d",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:23:39.000Z",
"expireAt": "2101-03-24T11:22:39.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 2500
},
"assets": {
"title": {
"en": "Black Ore Ring"
},
"description": {
"en": "B Grade Accessory"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_895_1511522560777.jpeg"
}
},
"metadata": {
"quantity": 5,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"eligible": true,
"_id": "5a180131dbb7851e22323461",
"rewardGroupId": "5a1800d7dbb7851e2232345d",
"type": "INAPP",
"itemID": "Alekos_1_SKU_BLACK_FRIDAY",
"activatedAt": "2017-11-24T11:24:27.000Z",
"expireAt": "2101-03-24T11:23:27.000Z",
"deleted": false,
"enabled": true,
"price": {
"actions": [],
"points": 2500
},
"assets": {
"title": {
"en": "Adamantite Ring"
},
"description": {
"en": "B Grade Accessory"
},
"position": 0,
"category": "UNKNOWN",
"image": {
"en": "/data/images/rewards/Item_887_1511522609632.jpeg"
}
},
"metadata": {
"quantity": 5,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"amount": 1
},
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
}
}
],
"_id": "5a1800d7dbb7851e2232345d",
"updatedAt": "2017-11-24T11:21:59.149Z",
"createdAt": "2017-11-24T11:21:59.149Z",
"title": {
"en": "Accessories"
},
"description": {
"en": "Accessories Description"
},
"image": {
"en": "/data/images/rewardGroups/lineage-2-logo_1511522519131.jpeg"
},
"__v": 0,
"deleted": false,
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
},
"type": "normal"
},
{
"notifications": {
"enabled": false,
"total": 0
},
"rewards": [],
"_id": "5aa8f9372209af4ae754a732",
"updatedAt": "2018-03-14T10:28:07.754Z",
"createdAt": "2018-03-14T10:28:07.754Z",
"title": {
"en": "dsasdaasads"
},
"description": {
"en": "dsadasasdasd"
},
"image": "/data/images/rewardGroups/coins_1521023287723.png",
"__v": 0,
"deleted": false,
"app": {
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier",
"name": "Loyalty Android Demo App"
},
"type": "normal"
}
]
},
"offers": [
{
"notifications": {
"enabled": false,
"total": 0
},
"_id": "5aa8f2b42209af4ae754a726",
"kind": "REWARD",
"type": "ACHIEVEMENTS",
"tag": "ACH_1521021621978",
"audience": "all",
"valid": {
"to": "2018-05-31T23:59:59.999Z",
"from": "2018-03-01T00:00:00.000Z"
},
"deleted": false,
"enabled": true,
"updatedAt": "2018-03-14T10:00:20.755Z",
"assets": {
"title": {
"en": "Spring achievements"
},
"description": {
"en": "Achievements"
},
"bgColor": "#02ca81",
"position": 0,
"banner": {
"en": "/data/images/achievements/assetEn-1521021620211_1521021620216.png"
}
},
"metadata": {
"achievements": {
"rewardGroupId": "5aa8f2b42209af4ae754a71b"
},
"achievementTitle": "Sixteen characte",
"achievementImages": [
"/data/images/achievements/__f21871ee-74da-8249-7773-27e40d9d7872__-1521021620212_1521021620218.png",
"/data/images/achievements/__350ee533-2853-df47-df12-29be56dde685__-1521021620212_1521021620219.png",
"/data/images/achievements/__5cf98ac3-de91-62ab-e390-50d972ac5650__-1521021620212_1521021620220.png",
"/data/images/achievements/__35f82140-57ae-84b9-cbca-68695044c59c__-1521021620213_1521021620221.png",
"/data/images/achievements/__c81062e6-ea3d-7b9a-5689-f4b6ba53211d__-1521021620213_1521021620222.png"
]
},
"app": {
"name": "Loyalty Android Demo App",
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier"
}
},
{
"notifications": {
"enabled": false,
"total": 0
},
"timeLeft": "in 5 days",
"activeNow": false,
"_id": "5a1d843daebe3d7b5aac2765",
"kind": "POINT_BOOSTER",
"type": "HAPPY_DAY",
"tag": "HD_1_1520244943413",
"audience": "all",
"valid": {
"to": "2018-03-30T23:59:59.999Z",
"from": "2017-11-28T00:00:00.000Z"
},
"deleted": false,
"enabled": true,
"updatedAt": "2018-03-05T10:15:40.208Z",
"assets": {
"title": {
"en": "Happy Day"
},
"description": {
"en": "Happy Day Sort"
},
"bgColor": "#d4316e",
"position": 1,
"banner": {
"en": "/data/images/offers/0c11b442d1b7020c21557b6ec7fd9ea9_1511883837515.png"
}
},
"metadata": {
"pointBooster": {
"happyDay": {
"day": 1,
"multiplier": 2
}
}
},
"app": {
"name": "Loyalty Android Demo App",
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier"
}
},
{
"notifications": {
"enabled": false,
"total": 0
},
"timeLeft": "in 4 days",
"activeNow": false,
"_id": "5a6b1eda6282e11f0a80acdc",
"kind": "POINT_BOOSTER",
"type": "HAPPY_DAY",
"tag": "HD_7_1517398506627",
"audience": "all",
"valid": {
"to": "2018-04-29T21:00:00.000Z",
"from": "2018-01-24T22:00:00.000Z"
},
"deleted": false,
"enabled": true,
"updatedAt": "2018-01-31T11:35:06.843Z",
"assets": {
"banner": {
"en": "/data/images/offers/apple_1516969690069.png"
},
"position": 1,
"bgColor": "#d4316e",
"description": {
"en": "koki"
},
"title": {
"en": "lolo"
}
},
"metadata": {
"pointBooster": {
"happyDay": {
"multiplier": 2,
"day": 7
}
}
},
"app": {
"publisher": "Wappier",
"platform": "android",
"package": "com.wappier.xanadu.demo.loyalty",
"name": "Loyalty Android Demo App"
}
},
{
"notifications": {
"enabled": false,
"total": 0
},
"timeLeft": "in a day",
"activeNow": false,
"_id": "5a1d83dbaebe3d7b5aac2762",
"kind": "POINT_BOOSTER",
"type": "HAPPY_HOUR",
"tag": "HH_1_7_19_1517398541706",
"audience": "all",
"valid": {
"to": "2018-03-27T22:00:00.000Z",
"from": "2017-11-28T15:41:29.150Z"
},
"deleted": false,
"enabled": true,
"updatedAt": "2018-01-31T11:35:41.880Z",
"assets": {
"title": {
"en": "Drop Rate"
},
"description": {
"en": "2x Drop Rate"
},
"bgColor": "#ff3333",
"position": 1,
"banner": {
"en": "/data/images/offers/de843512ee4c5d98243bfb71b4306d12_1511883739711.png"
}
},
"metadata": {
"pointBooster": {
"happyHour": {
"day": 4,
"startTime": 12,
"endTime": 20,
"multiplier": 2
}
}
},
"app": {
"name": "Loyalty Android Demo App",
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier"
}
},
{
"notifications": {
"enabled": true,
"total": 1
},
"timeLeft": 0,
"activeNow": true,
"_id": "5a1d8378aebe3d7b5aac275f",
"kind": "BONUS",
"type": "STEP",
"tag": "SB_1517398403058",
"audience": "all",
"valid": {
"to": "2018-03-28T00:00:00.000Z",
"from": "2017-10-01T00:00:00.000Z"
},
"deleted": false,
"enabled": true,
"updatedAt": "2018-01-31T11:33:23.237Z",
"assets": {
"title": {
"en": "2X XP Every Day"
},
"description": {
"en": "Daily Bonus"
},
"bgColor": "#ca9a3b",
"position": 1,
"banner": {
"en": "/data/images/offers/0c11b442d1b7020c21557b6ec7fd9ea9_1511883640161.png"
}
},
"metadata": {
"bonus": {
"step": {
"consecutive": {
"enabled": true,
"period": "day"
},
"steps": [
[
{
"points": 1000
},
{
"points": 10000
},
{
"points": 1000
},
{
"points": 100000
}
],
[
{
"points": 100
},
{
"points": 200
},
{
"points": 300
},
{
"points": 400
}
],
[
{
"points": 100
},
{
"points": 200
},
{
"points": 300
},
{
"points": 400
}
],
[
{
"points": 100
},
{
"points": 200
},
{
"points": 300
},
{
"points": 400
}
],
[
{
"points": 100
},
{
"points": 200
},
{
"points": 300
},
{
"points": 400
}
],
[
{
"points": 100
},
{
"points": 200
},
{
"points": 300
},
{
"points": 400
}
],
[
{
"points": 100
},
{
"points": 200
},
{
"points": 300
},
{
"points": 400
}
]
]
}
}
},
"app": {
"name": "Loyalty Android Demo App",
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"publisher": "Wappier"
}
}
],
"tip": {
"title": {
"en": "TIP#1"
},
"description": {
"en": "Join Monday Happy Hour!"
},
"_id": "5a37db0350bc1d40ec28d799",
"image": {
"en": "/data/images/tips/YNwwu2z_12275355296229.11.jpg"
},
"deleted": false
},
"howToWinPoints": [
{
"createdAt": "2017-11-16T13:54:07.352Z",
"unique": false,
"points": 200,
"type": "OPEN",
"_id": "5a0d987ff2c54552d1610b19",
"deleted": false,
"static": true,
"assets": {
"visible": true,
"position": 1,
"description": {
"en": "Install for the first time."
},
"title": {
"en": "Install for the first time."
}
}
},
{
"createdAt": "2017-11-16T13:54:07.351Z",
"param": 60,
"unique": false,
"points": 0,
"type": "TIME_SPENT",
"_id": "5a0d987ff2c54552d1610b1a",
"deleted": false,
"static": true,
"assets": {
"visible": true,
"position": 2,
"description": {
"en": "For every minute playing."
},
"title": {
"en": "For every minute playing."
}
}
},
{
"createdAt": "2017-11-16T13:54:07.349Z",
"param": 1,
"unique": false,
"points": 1000,
"type": "PURCHASE",
"_id": "5a0d987ff2c54552d1610b1b",
"deleted": false,
"static": true,
"assets": {
"visible": true,
"position": 3,
"description": {
"en": "For every $1 spend."
},
"title": {
"en": "For every $1 spend."
}
}
},
{
"createdAt": "2017-11-22T13:46:25.002Z",
"_id": "5a157fb18f252536316bf9cb",
"unique": false,
"points": 10000,
"action": "Atharas",
"type": "INAPP_ACTION",
"deleted": false,
"static": false,
"assets": {
"visible": true,
"description": {
"en": "Kill Atharas Raid Boss"
},
"title": {
"en": "Atharas"
},
"position": 0
}
},
{
"_id": "5a57494fb94d79168d7ff6c9",
"unique": true,
"points": 0,
"action": "Raid Lvl 4",
"type": "INAPP_ACTION",
"createdAt": "2018-01-11T11:23:59.286Z",
"deleted": false,
"static": false,
"assets": {
"description": {
"en": "DESC_Kill Raid Lvl 4"
},
"title": {
"en": "ACTION_Raid Lvl 4"
},
"visible": true,
"position": 0
}
},
{
"createdAt": "2018-01-19T11:19:20.216Z",
"type": "INAPP_ACTION",
"action": "Zaken",
"points": 5000,
"unique": false,
"_id": "5a61d438fef7c04f8ac59e5b",
"deleted": false,
"static": false,
"assets": {
"position": 0,
"title": {
"en": "Zaken"
},
"description": {
"en": "Kill Zaken Raid Boss"
},
"visible": true
}
},
{
"_id": "5a61d44ffef7c04f8ac59e5e",
"unique": false,
"points": 1000,
"action": "Orfen",
"type": "INAPP_ACTION",
"createdAt": "2018-01-19T11:19:43.663Z",
"deleted": false,
"static": false,
"assets": {
"visible": true,
"description": {
"en": "Kill Orfen Raid Boss"
},
"title": {
"en": "Orfen"
},
"position": 0
}
},
{
"createdAt": "2018-03-07T09:44:04.846Z",
"type": "INAPP_ACTION",
"action": "oneMore",
"points": 12343,
"unique": false,
"_id": "5a9fb464e110fd71d23509f3",
"deleted": false,
"static": false,
"assets": {
"position": 0,
"title": {
"en": "oneMore"
},
"description": {
"en": "oneMore"
},
"visible": true
}
},
{
"createdAt": "2018-03-07T15:40:05.797Z",
"type": "INAPP_ACTION",
"action": "oneMore1",
"points": 1234,
"unique": false,
"_id": "5aa007d5ab739e17162c33a1",
"deleted": false,
"static": false,
"assets": {
"position": 0,
"title": {
"en": "oneMore1"
},
"description": {
"en": "oneMOEW2"
},
"visible": true
}
}
],
"achievements": [
{
"offerId": "5aa8f2b42209af4ae754a726",
"items": [
{
"rewardId": "5aa8f2b42209af4ae754a71d",
"assets": {
"image": {
"en": "/data/images/achievements/__f21871ee-74da-8249-7773-27e40d9d7872__-1521021620212_1521021620218.png"
},
"position": 0,
"category": "ACHIEVEMENT",
"description": {
"en": "Complete Level 1. Win test sku 1!"
},
"title": {
"en": "Complete Level 1"
}
},
"metadata": {
"amount": 1,
"sku": "test_sku_1",
"quantity": 1
},
"price": {
"points": 0,
"actions": [
{
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"type": "INAPP_ACTION",
"action": "lvl1"
}
]
},
"locked": true,
"claimed": false
},
{
"rewardId": "5aa8f2b42209af4ae754a71f",
"assets": {
"image": {
"en": "/data/images/achievements/__350ee533-2853-df47-df12-29be56dde685__-1521021620212_1521021620219.png"
},
"position": 0,
"category": "ACHIEVEMENT",
"description": {
"en": "Complete Level 2. Win sku 2!"
},
"title": {
"en": "Complete Level 2"
}
},
"metadata": {
"amount": 1,
"sku": "test_sku_2",
"quantity": 1
},
"price": {
"points": 0,
"actions": [
{
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"type": "INAPP_ACTION",
"action": "lvl2"
}
]
},
"locked": true,
"claimed": false
},
{
"rewardId": "5aa8f2b42209af4ae754a721",
"assets": {
"image": {
"en": "/data/images/achievements/__5cf98ac3-de91-62ab-e390-50d972ac5650__-1521021620212_1521021620220.png"
},
"position": 0,
"category": "ACHIEVEMENT",
"description": {
"en": "Complete Level 3. Win sku3!"
},
"title": {
"en": "Complete Level 3"
}
},
"metadata": {
"amount": 1,
"sku": "test_sku_3",
"quantity": 1
},
"price": {
"points": 0,
"actions": [
{
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"type": "INAPP_ACTION",
"action": "lvl3"
}
]
},
"locked": true,
"claimed": false
},
{
"rewardId": "5aa8f2b42209af4ae754a723",
"assets": {
"image": {
"en": "/data/images/achievements/__35f82140-57ae-84b9-cbca-68695044c59c__-1521021620213_1521021620221.png"
},
"position": 0,
"category": "ACHIEVEMENT",
"description": {
"en": "Complete Level 4. Win sku 4!"
},
"title": {
"en": "Complete Level 4"
}
},
"metadata": {
"amount": 1,
"sku": "test_sku_4",
"quantity": 1
},
"price": {
"points": 0,
"actions": [
{
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"type": "INAPP_ACTION",
"action": "lvl4"
}
]
},
"locked": true,
"claimed": false
},
{
"rewardId": "5aa8f2b42209af4ae754a725",
"assets": {
"image": {
"en": "/data/images/achievements/__c81062e6-ea3d-7b9a-5689-f4b6ba53211d__-1521021620213_1521021620222.png"
},
"position": 0,
"category": "ACHIEVEMENT",
"description": {
"en": "Complete Level 5. Win ALEKOS!"
},
"title": {
"en": "Complete Level 5"
}
},
"metadata": {
"amount": 1,
"sku": "Alekos_1_SKU_BLACK_FRIDAY",
"quantity": 1
},
"price": {
"points": 0,
"actions": [
{
"package": "com.wappier.xanadu.demo.loyalty",
"platform": "android",
"type": "INAPP_ACTION",
"action": "lvl 5"
}
]
},
"locked": true,
"claimed": false
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment