Guest User

Untitled

a guest
Mar 22nd, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.94 KB | None | 0 0
  1. {
  2. "wappierId": "1fb6d8ca-5b2d-5d3a-b693-6b38a2ac865b",
  3. "loyalty": {
  4. "enabled": true,
  5. "analytics": {
  6. "enabled": true
  7. },
  8. "audiences": [],
  9. "groups": [],
  10. "events": [
  11. "FIRST_RUN"
  12. ],
  13. "claimedRewards": [],
  14. "points": {
  15. "total": 7100,
  16. "current": 7100
  17. }
  18. },
  19. "spendPoints": {
  20. "notifications": {
  21. "total": 15,
  22. "enabled": true
  23. },
  24. "rewardGroups": [
  25. {
  26. "notifications": {
  27. "enabled": true,
  28. "total": 5
  29. },
  30. "rewards": [
  31. {
  32. "notifications": {
  33. "enabled": true,
  34. "total": 1
  35. },
  36. "eligible": true,
  37. "_id": "5a17fc97dbb7851e223233e3",
  38. "rewardGroupId": "5a17fb94dbb7851e223233d4",
  39. "type": "INAPP",
  40. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  41. "activatedAt": "2017-11-24T11:04:50.000Z",
  42. "expireAt": "2101-03-24T11:03:50.000Z",
  43. "deleted": false,
  44. "enabled": true,
  45. "price": {
  46. "actions": [],
  47. "points": 500
  48. },
  49. "assets": {
  50. "title": {
  51. "en": "Damascus"
  52. },
  53. "description": {
  54. "en": "B Grade Weapon"
  55. },
  56. "position": 0,
  57. "category": "UNKNOWN",
  58. "image": {
  59. "en": "/data/images/rewards/Item_79_1511521431891.jpeg"
  60. }
  61. },
  62. "metadata": {
  63. "quantity": 20,
  64. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  65. "amount": 1
  66. },
  67. "app": {
  68. "package": "com.wappier.xanadu.demo.loyalty",
  69. "platform": "android",
  70. "publisher": "Wappier",
  71. "name": "Loyalty Android Demo App"
  72. }
  73. },
  74. {
  75. "notifications": {
  76. "enabled": true,
  77. "total": 1
  78. },
  79. "eligible": true,
  80. "_id": "5a17fda8dbb7851e22323408",
  81. "rewardGroupId": "5a17fb94dbb7851e223233d4",
  82. "type": "INAPP",
  83. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  84. "activatedAt": "2017-11-24T11:09:23.000Z",
  85. "expireAt": "2101-03-24T11:08:23.000Z",
  86. "deleted": false,
  87. "enabled": true,
  88. "price": {
  89. "actions": [],
  90. "points": 500
  91. },
  92. "assets": {
  93. "title": {
  94. "en": "Keshanberk"
  95. },
  96. "description": {
  97. "en": "B Grade Weapon"
  98. },
  99. "position": 0,
  100. "category": "UNKNOWN",
  101. "image": {
  102. "en": "/data/images/rewards/Item_142_1511521704131.jpeg"
  103. }
  104. },
  105. "metadata": {
  106. "quantity": 20,
  107. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  108. "amount": 1
  109. },
  110. "app": {
  111. "package": "com.wappier.xanadu.demo.loyalty",
  112. "platform": "android",
  113. "publisher": "Wappier",
  114. "name": "Loyalty Android Demo App"
  115. }
  116. },
  117. {
  118. "notifications": {
  119. "enabled": true,
  120. "total": 1
  121. },
  122. "eligible": true,
  123. "_id": "5a17fc02dbb7851e223233d6",
  124. "rewardGroupId": "5a17fb94dbb7851e223233d4",
  125. "type": "INAPP",
  126. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  127. "activatedAt": "2017-11-24T11:02:06.000Z",
  128. "expireAt": "2101-03-24T11:01:06.000Z",
  129. "deleted": false,
  130. "enabled": true,
  131. "price": {
  132. "actions": [],
  133. "points": 1000
  134. },
  135. "assets": {
  136. "title": {
  137. "en": "Elemental Sword"
  138. },
  139. "description": {
  140. "en": "A Grade Weapon"
  141. },
  142. "position": 0,
  143. "category": "UNKNOWN",
  144. "image": {
  145. "en": "/data/images/rewards/Item_150_1511521282079.jpeg"
  146. }
  147. },
  148. "metadata": {
  149. "quantity": 1,
  150. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  151. "amount": 1
  152. },
  153. "app": {
  154. "package": "com.wappier.xanadu.demo.loyalty",
  155. "platform": "android",
  156. "publisher": "Wappier",
  157. "name": "Loyalty Android Demo App"
  158. }
  159. },
  160. {
  161. "notifications": {
  162. "enabled": true,
  163. "total": 1
  164. },
  165. "eligible": true,
  166. "_id": "5a17fc3adbb7851e223233d8",
  167. "rewardGroupId": "5a17fb94dbb7851e223233d4",
  168. "type": "INAPP",
  169. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  170. "activatedAt": "2017-11-24T11:03:17.000Z",
  171. "expireAt": "2101-03-24T11:02:17.000Z",
  172. "deleted": false,
  173. "enabled": true,
  174. "price": {
  175. "actions": [],
  176. "points": 1000
  177. },
  178. "assets": {
  179. "title": {
  180. "en": "Sword of Miracles"
  181. },
  182. "description": {
  183. "en": "A Grade Weapon"
  184. },
  185. "position": 0,
  186. "category": "UNKNOWN",
  187. "image": {
  188. "en": "/data/images/rewards/Item_151_1511521338497.jpeg"
  189. }
  190. },
  191. "metadata": {
  192. "quantity": 10,
  193. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  194. "amount": 1
  195. },
  196. "app": {
  197. "package": "com.wappier.xanadu.demo.loyalty",
  198. "platform": "android",
  199. "publisher": "Wappier",
  200. "name": "Loyalty Android Demo App"
  201. }
  202. },
  203. {
  204. "notifications": {
  205. "enabled": true,
  206. "total": 1
  207. },
  208. "eligible": true,
  209. "_id": "5a17fc62dbb7851e223233de",
  210. "rewardGroupId": "5a17fb94dbb7851e223233d4",
  211. "type": "INAPP",
  212. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  213. "activatedAt": "2017-11-24T11:03:57.000Z",
  214. "expireAt": "2101-03-24T11:02:57.000Z",
  215. "deleted": false,
  216. "enabled": true,
  217. "price": {
  218. "actions": [],
  219. "points": 5000
  220. },
  221. "assets": {
  222. "title": {
  223. "en": "Dark Legion's Edge"
  224. },
  225. "description": {
  226. "en": "A Grade Weapon"
  227. },
  228. "position": 0,
  229. "category": "UNKNOWN",
  230. "image": {
  231. "en": "/data/images/rewards/Item_2500_1511521378846.jpeg"
  232. }
  233. },
  234. "metadata": {
  235. "quantity": 5,
  236. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  237. "amount": 1
  238. },
  239. "app": {
  240. "package": "com.wappier.xanadu.demo.loyalty",
  241. "platform": "android",
  242. "publisher": "Wappier",
  243. "name": "Loyalty Android Demo App"
  244. }
  245. }
  246. ],
  247. "_id": "5a17fb94dbb7851e223233d4",
  248. "updatedAt": "2017-11-24T10:59:32.593Z",
  249. "createdAt": "2017-11-24T10:59:32.593Z",
  250. "title": {
  251. "en": "Weapons"
  252. },
  253. "description": {
  254. "en": "Weapons Description"
  255. },
  256. "image": {
  257. "en": "/data/images/rewardGroups/lineage-2-logo_1511521172552.jpeg"
  258. },
  259. "__v": 0,
  260. "deleted": false,
  261. "app": {
  262. "package": "com.wappier.xanadu.demo.loyalty",
  263. "platform": "android",
  264. "publisher": "Wappier",
  265. "name": "Loyalty Android Demo App"
  266. },
  267. "type": "normal"
  268. },
  269. {
  270. "notifications": {
  271. "enabled": true,
  272. "total": 6
  273. },
  274. "rewards": [
  275. {
  276. "notifications": {
  277. "enabled": true,
  278. "total": 1
  279. },
  280. "eligible": true,
  281. "_id": "5a17ffaddbb7851e2232344d",
  282. "rewardGroupId": "5a17fe94dbb7851e2232343c",
  283. "type": "INAPP",
  284. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  285. "activatedAt": "2017-11-24T11:17:59.000Z",
  286. "expireAt": "2101-03-24T11:16:59.000Z",
  287. "deleted": false,
  288. "enabled": true,
  289. "price": {
  290. "actions": [],
  291. "points": 1500
  292. },
  293. "assets": {
  294. "title": {
  295. "en": "Doom Plate Armor"
  296. },
  297. "description": {
  298. "en": "B Grade Armor"
  299. },
  300. "position": 0,
  301. "category": "UNKNOWN",
  302. "image": {
  303. "en": "/data/images/rewards/Item_2381_1511522221010.jpeg"
  304. }
  305. },
  306. "metadata": {
  307. "quantity": 30,
  308. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  309. "amount": 1
  310. },
  311. "app": {
  312. "package": "com.wappier.xanadu.demo.loyalty",
  313. "platform": "android",
  314. "publisher": "Wappier",
  315. "name": "Loyalty Android Demo App"
  316. }
  317. },
  318. {
  319. "notifications": {
  320. "enabled": true,
  321. "total": 1
  322. },
  323. "eligible": true,
  324. "_id": "5a17fefbdbb7851e2232343e",
  325. "rewardGroupId": "5a17fe94dbb7851e2232343c",
  326. "type": "INAPP",
  327. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  328. "activatedAt": "2017-11-24T11:15:02.000Z",
  329. "expireAt": "2101-03-24T11:14:02.000Z",
  330. "deleted": false,
  331. "enabled": true,
  332. "price": {
  333. "actions": [],
  334. "points": 3000
  335. },
  336. "assets": {
  337. "title": {
  338. "en": "Dark Crystal "
  339. },
  340. "description": {
  341. "en": "A Grade Armor"
  342. },
  343. "position": 0,
  344. "category": "UNKNOWN",
  345. "image": {
  346. "en": "/data/images/rewards/Item_365_1511522043632.jpeg"
  347. }
  348. },
  349. "metadata": {
  350. "quantity": 10,
  351. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  352. "amount": 1
  353. },
  354. "app": {
  355. "package": "com.wappier.xanadu.demo.loyalty",
  356. "platform": "android",
  357. "publisher": "Wappier",
  358. "name": "Loyalty Android Demo App"
  359. }
  360. },
  361. {
  362. "notifications": {
  363. "enabled": true,
  364. "total": 1
  365. },
  366. "eligible": true,
  367. "_id": "5a17ff35dbb7851e22323443",
  368. "rewardGroupId": "5a17fe94dbb7851e2232343c",
  369. "type": "INAPP",
  370. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  371. "activatedAt": "2017-11-24T11:15:58.000Z",
  372. "expireAt": "2101-03-24T11:14:58.000Z",
  373. "deleted": false,
  374. "enabled": true,
  375. "price": {
  376. "actions": [],
  377. "points": 3000
  378. },
  379. "assets": {
  380. "title": {
  381. "en": "Armor of Nightmare"
  382. },
  383. "description": {
  384. "en": "A Grade Armor"
  385. },
  386. "position": 0,
  387. "category": "UNKNOWN",
  388. "image": {
  389. "en": "/data/images/rewards/Item_374_1511522101278.jpeg"
  390. }
  391. },
  392. "metadata": {
  393. "quantity": 10,
  394. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  395. "amount": 1
  396. },
  397. "app": {
  398. "package": "com.wappier.xanadu.demo.loyalty",
  399. "platform": "android",
  400. "publisher": "Wappier",
  401. "name": "Loyalty Android Demo App"
  402. }
  403. },
  404. {
  405. "notifications": {
  406. "enabled": true,
  407. "total": 1
  408. },
  409. "eligible": true,
  410. "_id": "5a17ff64dbb7851e22323448",
  411. "rewardGroupId": "5a17fe94dbb7851e2232343c",
  412. "type": "INAPP",
  413. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  414. "activatedAt": "2017-11-24T11:16:46.000Z",
  415. "expireAt": "2101-03-24T11:15:46.000Z",
  416. "deleted": false,
  417. "enabled": true,
  418. "price": {
  419. "actions": [],
  420. "points": 3000
  421. },
  422. "assets": {
  423. "title": {
  424. "en": "Majestic Plate Armor"
  425. },
  426. "description": {
  427. "en": "A Grade Armor"
  428. },
  429. "position": 0,
  430. "category": "UNKNOWN",
  431. "image": {
  432. "en": "/data/images/rewards/Item_2383_1511522148199.jpeg"
  433. }
  434. },
  435. "metadata": {
  436. "quantity": 10,
  437. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  438. "amount": 1
  439. },
  440. "app": {
  441. "package": "com.wappier.xanadu.demo.loyalty",
  442. "platform": "android",
  443. "publisher": "Wappier",
  444. "name": "Loyalty Android Demo App"
  445. }
  446. },
  447. {
  448. "notifications": {
  449. "enabled": true,
  450. "total": 1
  451. },
  452. "eligible": true,
  453. "_id": "5a18002adbb7851e2232344f",
  454. "rewardGroupId": "5a17fe94dbb7851e2232343c",
  455. "type": "INAPP",
  456. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  457. "activatedAt": "2017-11-24T11:20:03.000Z",
  458. "expireAt": "2101-03-24T11:19:03.000Z",
  459. "deleted": false,
  460. "enabled": true,
  461. "price": {
  462. "actions": [],
  463. "points": 4000
  464. },
  465. "assets": {
  466. "title": {
  467. "en": "Full Plate Armor"
  468. },
  469. "description": {
  470. "en": "C Grade Armor"
  471. },
  472. "position": 0,
  473. "category": "UNKNOWN",
  474. "image": {
  475. "en": "/data/images/rewards/Item_356_1511522346024.jpeg"
  476. }
  477. },
  478. "metadata": {
  479. "quantity": 60,
  480. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  481. "amount": 1
  482. },
  483. "app": {
  484. "package": "com.wappier.xanadu.demo.loyalty",
  485. "platform": "android",
  486. "publisher": "Wappier",
  487. "name": "Loyalty Android Demo App"
  488. }
  489. },
  490. {
  491. "notifications": {
  492. "enabled": true,
  493. "total": 1
  494. },
  495. "eligible": true,
  496. "_id": "5a180084dbb7851e22323454",
  497. "rewardGroupId": "5a17fe94dbb7851e2232343c",
  498. "type": "INAPP",
  499. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  500. "activatedAt": "2017-11-24T11:21:34.000Z",
  501. "expireAt": "2101-03-24T11:20:34.000Z",
  502. "deleted": false,
  503. "enabled": true,
  504. "price": {
  505. "actions": [],
  506. "points": 4000
  507. },
  508. "assets": {
  509. "title": {
  510. "en": "Compound Armor"
  511. },
  512. "description": {
  513. "en": "C Grade Armor"
  514. },
  515. "position": 0,
  516. "category": "UNKNOWN",
  517. "image": {
  518. "en": "/data/images/rewards/Item_60_1511522436495.jpeg"
  519. }
  520. },
  521. "metadata": {
  522. "quantity": 60,
  523. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  524. "amount": 1
  525. },
  526. "app": {
  527. "package": "com.wappier.xanadu.demo.loyalty",
  528. "platform": "android",
  529. "publisher": "Wappier",
  530. "name": "Loyalty Android Demo App"
  531. }
  532. }
  533. ],
  534. "_id": "5a17fe94dbb7851e2232343c",
  535. "updatedAt": "2017-11-24T11:12:20.369Z",
  536. "createdAt": "2017-11-24T11:12:20.369Z",
  537. "title": {
  538. "en": "Armors "
  539. },
  540. "description": {
  541. "en": "Armor Description"
  542. },
  543. "image": {
  544. "en": "/data/images/rewardGroups/lineage-2-logo_1511521940351.jpeg"
  545. },
  546. "__v": 0,
  547. "deleted": false,
  548. "app": {
  549. "package": "com.wappier.xanadu.demo.loyalty",
  550. "platform": "android",
  551. "publisher": "Wappier",
  552. "name": "Loyalty Android Demo App"
  553. },
  554. "type": "normal"
  555. },
  556. {
  557. "notifications": {
  558. "enabled": true,
  559. "total": 4
  560. },
  561. "rewards": [
  562. {
  563. "notifications": {
  564. "enabled": true,
  565. "total": 1
  566. },
  567. "eligible": true,
  568. "_id": "5a180203dbb7851e22323468",
  569. "rewardGroupId": "5a1800d7dbb7851e2232345d",
  570. "type": "INAPP",
  571. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  572. "activatedAt": "2017-11-24T11:27:58.000Z",
  573. "expireAt": "2101-03-24T11:26:58.000Z",
  574. "deleted": false,
  575. "enabled": true,
  576. "price": {
  577. "actions": [],
  578. "points": 1000
  579. },
  580. "assets": {
  581. "title": {
  582. "en": "Elven Earring"
  583. },
  584. "description": {
  585. "en": "D Grade Accessory"
  586. },
  587. "position": 0,
  588. "category": "UNKNOWN",
  589. "image": {
  590. "en": "/data/images/rewards/Item_850_1511522819679.jpeg"
  591. }
  592. },
  593. "metadata": {
  594. "quantity": 50,
  595. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  596. "amount": 1
  597. },
  598. "app": {
  599. "package": "com.wappier.xanadu.demo.loyalty",
  600. "platform": "android",
  601. "publisher": "Wappier",
  602. "name": "Loyalty Android Demo App"
  603. }
  604. },
  605. {
  606. "notifications": {
  607. "enabled": true,
  608. "total": 1
  609. },
  610. "eligible": true,
  611. "_id": "5a1801a2dbb7851e22323463",
  612. "rewardGroupId": "5a1800d7dbb7851e2232345d",
  613. "type": "INAPP",
  614. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  615. "activatedAt": "2017-11-24T11:26:20.000Z",
  616. "expireAt": "2101-03-24T11:25:20.000Z",
  617. "deleted": false,
  618. "enabled": true,
  619. "price": {
  620. "actions": [],
  621. "points": 1500
  622. },
  623. "assets": {
  624. "title": {
  625. "en": "Necklace of Seal"
  626. },
  627. "description": {
  628. "en": "B Grade Accessory"
  629. },
  630. "position": 0,
  631. "category": "UNKNOWN",
  632. "image": {
  633. "en": "/data/images/rewards/Item_119_1511522722350.jpeg"
  634. }
  635. },
  636. "metadata": {
  637. "quantity": 10,
  638. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  639. "amount": 1
  640. },
  641. "app": {
  642. "package": "com.wappier.xanadu.demo.loyalty",
  643. "platform": "android",
  644. "publisher": "Wappier",
  645. "name": "Loyalty Android Demo App"
  646. }
  647. },
  648. {
  649. "notifications": {
  650. "enabled": true,
  651. "total": 1
  652. },
  653. "eligible": true,
  654. "_id": "5a180100dbb7851e2232345f",
  655. "rewardGroupId": "5a1800d7dbb7851e2232345d",
  656. "type": "INAPP",
  657. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  658. "activatedAt": "2017-11-24T11:23:39.000Z",
  659. "expireAt": "2101-03-24T11:22:39.000Z",
  660. "deleted": false,
  661. "enabled": true,
  662. "price": {
  663. "actions": [],
  664. "points": 2500
  665. },
  666. "assets": {
  667. "title": {
  668. "en": "Black Ore Ring"
  669. },
  670. "description": {
  671. "en": "B Grade Accessory"
  672. },
  673. "position": 0,
  674. "category": "UNKNOWN",
  675. "image": {
  676. "en": "/data/images/rewards/Item_895_1511522560777.jpeg"
  677. }
  678. },
  679. "metadata": {
  680. "quantity": 5,
  681. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  682. "amount": 1
  683. },
  684. "app": {
  685. "package": "com.wappier.xanadu.demo.loyalty",
  686. "platform": "android",
  687. "publisher": "Wappier",
  688. "name": "Loyalty Android Demo App"
  689. }
  690. },
  691. {
  692. "notifications": {
  693. "enabled": true,
  694. "total": 1
  695. },
  696. "eligible": true,
  697. "_id": "5a180131dbb7851e22323461",
  698. "rewardGroupId": "5a1800d7dbb7851e2232345d",
  699. "type": "INAPP",
  700. "itemID": "Alekos_1_SKU_BLACK_FRIDAY",
  701. "activatedAt": "2017-11-24T11:24:27.000Z",
  702. "expireAt": "2101-03-24T11:23:27.000Z",
  703. "deleted": false,
  704. "enabled": true,
  705. "price": {
  706. "actions": [],
  707. "points": 2500
  708. },
  709. "assets": {
  710. "title": {
  711. "en": "Adamantite Ring"
  712. },
  713. "description": {
  714. "en": "B Grade Accessory"
  715. },
  716. "position": 0,
  717. "category": "UNKNOWN",
  718. "image": {
  719. "en": "/data/images/rewards/Item_887_1511522609632.jpeg"
  720. }
  721. },
  722. "metadata": {
  723. "quantity": 5,
  724. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  725. "amount": 1
  726. },
  727. "app": {
  728. "package": "com.wappier.xanadu.demo.loyalty",
  729. "platform": "android",
  730. "publisher": "Wappier",
  731. "name": "Loyalty Android Demo App"
  732. }
  733. }
  734. ],
  735. "_id": "5a1800d7dbb7851e2232345d",
  736. "updatedAt": "2017-11-24T11:21:59.149Z",
  737. "createdAt": "2017-11-24T11:21:59.149Z",
  738. "title": {
  739. "en": "Accessories"
  740. },
  741. "description": {
  742. "en": "Accessories Description"
  743. },
  744. "image": {
  745. "en": "/data/images/rewardGroups/lineage-2-logo_1511522519131.jpeg"
  746. },
  747. "__v": 0,
  748. "deleted": false,
  749. "app": {
  750. "package": "com.wappier.xanadu.demo.loyalty",
  751. "platform": "android",
  752. "publisher": "Wappier",
  753. "name": "Loyalty Android Demo App"
  754. },
  755. "type": "normal"
  756. },
  757. {
  758. "notifications": {
  759. "enabled": false,
  760. "total": 0
  761. },
  762. "rewards": [],
  763. "_id": "5aa8f9372209af4ae754a732",
  764. "updatedAt": "2018-03-14T10:28:07.754Z",
  765. "createdAt": "2018-03-14T10:28:07.754Z",
  766. "title": {
  767. "en": "dsasdaasads"
  768. },
  769. "description": {
  770. "en": "dsadasasdasd"
  771. },
  772. "image": "/data/images/rewardGroups/coins_1521023287723.png",
  773. "__v": 0,
  774. "deleted": false,
  775. "app": {
  776. "package": "com.wappier.xanadu.demo.loyalty",
  777. "platform": "android",
  778. "publisher": "Wappier",
  779. "name": "Loyalty Android Demo App"
  780. },
  781. "type": "normal"
  782. }
  783. ]
  784. },
  785. "offers": [
  786. {
  787. "notifications": {
  788. "enabled": false,
  789. "total": 0
  790. },
  791. "_id": "5aa8f2b42209af4ae754a726",
  792. "kind": "REWARD",
  793. "type": "ACHIEVEMENTS",
  794. "tag": "ACH_1521021621978",
  795. "audience": "all",
  796. "valid": {
  797. "to": "2018-05-31T23:59:59.999Z",
  798. "from": "2018-03-01T00:00:00.000Z"
  799. },
  800. "deleted": false,
  801. "enabled": true,
  802. "updatedAt": "2018-03-14T10:00:20.755Z",
  803. "assets": {
  804. "title": {
  805. "en": "Spring achievements"
  806. },
  807. "description": {
  808. "en": "Achievements"
  809. },
  810. "bgColor": "#02ca81",
  811. "position": 0,
  812. "banner": {
  813. "en": "/data/images/achievements/assetEn-1521021620211_1521021620216.png"
  814. }
  815. },
  816. "metadata": {
  817. "achievements": {
  818. "rewardGroupId": "5aa8f2b42209af4ae754a71b"
  819. },
  820. "achievementTitle": "Sixteen characte",
  821. "achievementImages": [
  822. "/data/images/achievements/__f21871ee-74da-8249-7773-27e40d9d7872__-1521021620212_1521021620218.png",
  823. "/data/images/achievements/__350ee533-2853-df47-df12-29be56dde685__-1521021620212_1521021620219.png",
  824. "/data/images/achievements/__5cf98ac3-de91-62ab-e390-50d972ac5650__-1521021620212_1521021620220.png",
  825. "/data/images/achievements/__35f82140-57ae-84b9-cbca-68695044c59c__-1521021620213_1521021620221.png",
  826. "/data/images/achievements/__c81062e6-ea3d-7b9a-5689-f4b6ba53211d__-1521021620213_1521021620222.png"
  827. ]
  828. },
  829. "app": {
  830. "name": "Loyalty Android Demo App",
  831. "package": "com.wappier.xanadu.demo.loyalty",
  832. "platform": "android",
  833. "publisher": "Wappier"
  834. }
  835. },
  836. {
  837. "notifications": {
  838. "enabled": false,
  839. "total": 0
  840. },
  841. "timeLeft": "in 5 days",
  842. "activeNow": false,
  843. "_id": "5a1d843daebe3d7b5aac2765",
  844. "kind": "POINT_BOOSTER",
  845. "type": "HAPPY_DAY",
  846. "tag": "HD_1_1520244943413",
  847. "audience": "all",
  848. "valid": {
  849. "to": "2018-03-30T23:59:59.999Z",
  850. "from": "2017-11-28T00:00:00.000Z"
  851. },
  852. "deleted": false,
  853. "enabled": true,
  854. "updatedAt": "2018-03-05T10:15:40.208Z",
  855. "assets": {
  856. "title": {
  857. "en": "Happy Day"
  858. },
  859. "description": {
  860. "en": "Happy Day Sort"
  861. },
  862. "bgColor": "#d4316e",
  863. "position": 1,
  864. "banner": {
  865. "en": "/data/images/offers/0c11b442d1b7020c21557b6ec7fd9ea9_1511883837515.png"
  866. }
  867. },
  868. "metadata": {
  869. "pointBooster": {
  870. "happyDay": {
  871. "day": 1,
  872. "multiplier": 2
  873. }
  874. }
  875. },
  876. "app": {
  877. "name": "Loyalty Android Demo App",
  878. "package": "com.wappier.xanadu.demo.loyalty",
  879. "platform": "android",
  880. "publisher": "Wappier"
  881. }
  882. },
  883. {
  884. "notifications": {
  885. "enabled": false,
  886. "total": 0
  887. },
  888. "timeLeft": "in 4 days",
  889. "activeNow": false,
  890. "_id": "5a6b1eda6282e11f0a80acdc",
  891. "kind": "POINT_BOOSTER",
  892. "type": "HAPPY_DAY",
  893. "tag": "HD_7_1517398506627",
  894. "audience": "all",
  895. "valid": {
  896. "to": "2018-04-29T21:00:00.000Z",
  897. "from": "2018-01-24T22:00:00.000Z"
  898. },
  899. "deleted": false,
  900. "enabled": true,
  901. "updatedAt": "2018-01-31T11:35:06.843Z",
  902. "assets": {
  903. "banner": {
  904. "en": "/data/images/offers/apple_1516969690069.png"
  905. },
  906. "position": 1,
  907. "bgColor": "#d4316e",
  908. "description": {
  909. "en": "koki"
  910. },
  911. "title": {
  912. "en": "lolo"
  913. }
  914. },
  915. "metadata": {
  916. "pointBooster": {
  917. "happyDay": {
  918. "multiplier": 2,
  919. "day": 7
  920. }
  921. }
  922. },
  923. "app": {
  924. "publisher": "Wappier",
  925. "platform": "android",
  926. "package": "com.wappier.xanadu.demo.loyalty",
  927. "name": "Loyalty Android Demo App"
  928. }
  929. },
  930. {
  931. "notifications": {
  932. "enabled": false,
  933. "total": 0
  934. },
  935. "timeLeft": "in a day",
  936. "activeNow": false,
  937. "_id": "5a1d83dbaebe3d7b5aac2762",
  938. "kind": "POINT_BOOSTER",
  939. "type": "HAPPY_HOUR",
  940. "tag": "HH_1_7_19_1517398541706",
  941. "audience": "all",
  942. "valid": {
  943. "to": "2018-03-27T22:00:00.000Z",
  944. "from": "2017-11-28T15:41:29.150Z"
  945. },
  946. "deleted": false,
  947. "enabled": true,
  948. "updatedAt": "2018-01-31T11:35:41.880Z",
  949. "assets": {
  950. "title": {
  951. "en": "Drop Rate"
  952. },
  953. "description": {
  954. "en": "2x Drop Rate"
  955. },
  956. "bgColor": "#ff3333",
  957. "position": 1,
  958. "banner": {
  959. "en": "/data/images/offers/de843512ee4c5d98243bfb71b4306d12_1511883739711.png"
  960. }
  961. },
  962. "metadata": {
  963. "pointBooster": {
  964. "happyHour": {
  965. "day": 4,
  966. "startTime": 12,
  967. "endTime": 20,
  968. "multiplier": 2
  969. }
  970. }
  971. },
  972. "app": {
  973. "name": "Loyalty Android Demo App",
  974. "package": "com.wappier.xanadu.demo.loyalty",
  975. "platform": "android",
  976. "publisher": "Wappier"
  977. }
  978. },
  979. {
  980. "notifications": {
  981. "enabled": true,
  982. "total": 1
  983. },
  984. "timeLeft": 0,
  985. "activeNow": true,
  986. "_id": "5a1d8378aebe3d7b5aac275f",
  987. "kind": "BONUS",
  988. "type": "STEP",
  989. "tag": "SB_1517398403058",
  990. "audience": "all",
  991. "valid": {
  992. "to": "2018-03-28T00:00:00.000Z",
  993. "from": "2017-10-01T00:00:00.000Z"
  994. },
  995. "deleted": false,
  996. "enabled": true,
  997. "updatedAt": "2018-01-31T11:33:23.237Z",
  998. "assets": {
  999. "title": {
  1000. "en": "2X XP Every Day"
  1001. },
  1002. "description": {
  1003. "en": "Daily Bonus"
  1004. },
  1005. "bgColor": "#ca9a3b",
  1006. "position": 1,
  1007. "banner": {
  1008. "en": "/data/images/offers/0c11b442d1b7020c21557b6ec7fd9ea9_1511883640161.png"
  1009. }
  1010. },
  1011. "metadata": {
  1012. "bonus": {
  1013. "step": {
  1014. "consecutive": {
  1015. "enabled": true,
  1016. "period": "day"
  1017. },
  1018. "steps": [
  1019. [
  1020. {
  1021. "points": 1000
  1022. },
  1023. {
  1024. "points": 10000
  1025. },
  1026. {
  1027. "points": 1000
  1028. },
  1029. {
  1030. "points": 100000
  1031. }
  1032. ],
  1033. [
  1034. {
  1035. "points": 100
  1036. },
  1037. {
  1038. "points": 200
  1039. },
  1040. {
  1041. "points": 300
  1042. },
  1043. {
  1044. "points": 400
  1045. }
  1046. ],
  1047. [
  1048. {
  1049. "points": 100
  1050. },
  1051. {
  1052. "points": 200
  1053. },
  1054. {
  1055. "points": 300
  1056. },
  1057. {
  1058. "points": 400
  1059. }
  1060. ],
  1061. [
  1062. {
  1063. "points": 100
  1064. },
  1065. {
  1066. "points": 200
  1067. },
  1068. {
  1069. "points": 300
  1070. },
  1071. {
  1072. "points": 400
  1073. }
  1074. ],
  1075. [
  1076. {
  1077. "points": 100
  1078. },
  1079. {
  1080. "points": 200
  1081. },
  1082. {
  1083. "points": 300
  1084. },
  1085. {
  1086. "points": 400
  1087. }
  1088. ],
  1089. [
  1090. {
  1091. "points": 100
  1092. },
  1093. {
  1094. "points": 200
  1095. },
  1096. {
  1097. "points": 300
  1098. },
  1099. {
  1100. "points": 400
  1101. }
  1102. ],
  1103. [
  1104. {
  1105. "points": 100
  1106. },
  1107. {
  1108. "points": 200
  1109. },
  1110. {
  1111. "points": 300
  1112. },
  1113. {
  1114. "points": 400
  1115. }
  1116. ]
  1117. ]
  1118. }
  1119. }
  1120. },
  1121. "app": {
  1122. "name": "Loyalty Android Demo App",
  1123. "package": "com.wappier.xanadu.demo.loyalty",
  1124. "platform": "android",
  1125. "publisher": "Wappier"
  1126. }
  1127. }
  1128. ],
  1129. "tip": {
  1130. "title": {
  1131. "en": "TIP#1"
  1132. },
  1133. "description": {
  1134. "en": "Join Monday Happy Hour!"
  1135. },
  1136. "_id": "5a37db0350bc1d40ec28d799",
  1137. "image": {
  1138. "en": "/data/images/tips/YNwwu2z_12275355296229.11.jpg"
  1139. },
  1140. "deleted": false
  1141. },
  1142. "howToWinPoints": [
  1143. {
  1144. "createdAt": "2017-11-16T13:54:07.352Z",
  1145. "unique": false,
  1146. "points": 200,
  1147. "type": "OPEN",
  1148. "_id": "5a0d987ff2c54552d1610b19",
  1149. "deleted": false,
  1150. "static": true,
  1151. "assets": {
  1152. "visible": true,
  1153. "position": 1,
  1154. "description": {
  1155. "en": "Install for the first time."
  1156. },
  1157. "title": {
  1158. "en": "Install for the first time."
  1159. }
  1160. }
  1161. },
  1162. {
  1163. "createdAt": "2017-11-16T13:54:07.351Z",
  1164. "param": 60,
  1165. "unique": false,
  1166. "points": 0,
  1167. "type": "TIME_SPENT",
  1168. "_id": "5a0d987ff2c54552d1610b1a",
  1169. "deleted": false,
  1170. "static": true,
  1171. "assets": {
  1172. "visible": true,
  1173. "position": 2,
  1174. "description": {
  1175. "en": "For every minute playing."
  1176. },
  1177. "title": {
  1178. "en": "For every minute playing."
  1179. }
  1180. }
  1181. },
  1182. {
  1183. "createdAt": "2017-11-16T13:54:07.349Z",
  1184. "param": 1,
  1185. "unique": false,
  1186. "points": 1000,
  1187. "type": "PURCHASE",
  1188. "_id": "5a0d987ff2c54552d1610b1b",
  1189. "deleted": false,
  1190. "static": true,
  1191. "assets": {
  1192. "visible": true,
  1193. "position": 3,
  1194. "description": {
  1195. "en": "For every $1 spend."
  1196. },
  1197. "title": {
  1198. "en": "For every $1 spend."
  1199. }
  1200. }
  1201. },
  1202. {
  1203. "createdAt": "2017-11-22T13:46:25.002Z",
  1204. "_id": "5a157fb18f252536316bf9cb",
  1205. "unique": false,
  1206. "points": 10000,
  1207. "action": "Atharas",
  1208. "type": "INAPP_ACTION",
  1209. "deleted": false,
  1210. "static": false,
  1211. "assets": {
  1212. "visible": true,
  1213. "description": {
  1214. "en": "Kill Atharas Raid Boss"
  1215. },
  1216. "title": {
  1217. "en": "Atharas"
  1218. },
  1219. "position": 0
  1220. }
  1221. },
  1222. {
  1223. "_id": "5a57494fb94d79168d7ff6c9",
  1224. "unique": true,
  1225. "points": 0,
  1226. "action": "Raid Lvl 4",
  1227. "type": "INAPP_ACTION",
  1228. "createdAt": "2018-01-11T11:23:59.286Z",
  1229. "deleted": false,
  1230. "static": false,
  1231. "assets": {
  1232. "description": {
  1233. "en": "DESC_Kill Raid Lvl 4"
  1234. },
  1235. "title": {
  1236. "en": "ACTION_Raid Lvl 4"
  1237. },
  1238. "visible": true,
  1239. "position": 0
  1240. }
  1241. },
  1242. {
  1243. "createdAt": "2018-01-19T11:19:20.216Z",
  1244. "type": "INAPP_ACTION",
  1245. "action": "Zaken",
  1246. "points": 5000,
  1247. "unique": false,
  1248. "_id": "5a61d438fef7c04f8ac59e5b",
  1249. "deleted": false,
  1250. "static": false,
  1251. "assets": {
  1252. "position": 0,
  1253. "title": {
  1254. "en": "Zaken"
  1255. },
  1256. "description": {
  1257. "en": "Kill Zaken Raid Boss"
  1258. },
  1259. "visible": true
  1260. }
  1261. },
  1262. {
  1263. "_id": "5a61d44ffef7c04f8ac59e5e",
  1264. "unique": false,
  1265. "points": 1000,
  1266. "action": "Orfen",
  1267. "type": "INAPP_ACTION",
  1268. "createdAt": "2018-01-19T11:19:43.663Z",
  1269. "deleted": false,
  1270. "static": false,
  1271. "assets": {
  1272. "visible": true,
  1273. "description": {
  1274. "en": "Kill Orfen Raid Boss"
  1275. },
  1276. "title": {
  1277. "en": "Orfen"
  1278. },
  1279. "position": 0
  1280. }
  1281. },
  1282. {
  1283. "createdAt": "2018-03-07T09:44:04.846Z",
  1284. "type": "INAPP_ACTION",
  1285. "action": "oneMore",
  1286. "points": 12343,
  1287. "unique": false,
  1288. "_id": "5a9fb464e110fd71d23509f3",
  1289. "deleted": false,
  1290. "static": false,
  1291. "assets": {
  1292. "position": 0,
  1293. "title": {
  1294. "en": "oneMore"
  1295. },
  1296. "description": {
  1297. "en": "oneMore"
  1298. },
  1299. "visible": true
  1300. }
  1301. },
  1302. {
  1303. "createdAt": "2018-03-07T15:40:05.797Z",
  1304. "type": "INAPP_ACTION",
  1305. "action": "oneMore1",
  1306. "points": 1234,
  1307. "unique": false,
  1308. "_id": "5aa007d5ab739e17162c33a1",
  1309. "deleted": false,
  1310. "static": false,
  1311. "assets": {
  1312. "position": 0,
  1313. "title": {
  1314. "en": "oneMore1"
  1315. },
  1316. "description": {
  1317. "en": "oneMOEW2"
  1318. },
  1319. "visible": true
  1320. }
  1321. }
  1322. ],
  1323. "achievements": [
  1324. {
  1325. "offerId": "5aa8f2b42209af4ae754a726",
  1326. "items": [
  1327. {
  1328. "rewardId": "5aa8f2b42209af4ae754a71d",
  1329. "assets": {
  1330. "image": {
  1331. "en": "/data/images/achievements/__f21871ee-74da-8249-7773-27e40d9d7872__-1521021620212_1521021620218.png"
  1332. },
  1333. "position": 0,
  1334. "category": "ACHIEVEMENT",
  1335. "description": {
  1336. "en": "Complete Level 1. Win test sku 1!"
  1337. },
  1338. "title": {
  1339. "en": "Complete Level 1"
  1340. }
  1341. },
  1342. "metadata": {
  1343. "amount": 1,
  1344. "sku": "test_sku_1",
  1345. "quantity": 1
  1346. },
  1347. "price": {
  1348. "points": 0,
  1349. "actions": [
  1350. {
  1351. "package": "com.wappier.xanadu.demo.loyalty",
  1352. "platform": "android",
  1353. "type": "INAPP_ACTION",
  1354. "action": "lvl1"
  1355. }
  1356. ]
  1357. },
  1358. "locked": true,
  1359. "claimed": false
  1360. },
  1361. {
  1362. "rewardId": "5aa8f2b42209af4ae754a71f",
  1363. "assets": {
  1364. "image": {
  1365. "en": "/data/images/achievements/__350ee533-2853-df47-df12-29be56dde685__-1521021620212_1521021620219.png"
  1366. },
  1367. "position": 0,
  1368. "category": "ACHIEVEMENT",
  1369. "description": {
  1370. "en": "Complete Level 2. Win sku 2!"
  1371. },
  1372. "title": {
  1373. "en": "Complete Level 2"
  1374. }
  1375. },
  1376. "metadata": {
  1377. "amount": 1,
  1378. "sku": "test_sku_2",
  1379. "quantity": 1
  1380. },
  1381. "price": {
  1382. "points": 0,
  1383. "actions": [
  1384. {
  1385. "package": "com.wappier.xanadu.demo.loyalty",
  1386. "platform": "android",
  1387. "type": "INAPP_ACTION",
  1388. "action": "lvl2"
  1389. }
  1390. ]
  1391. },
  1392. "locked": true,
  1393. "claimed": false
  1394. },
  1395. {
  1396. "rewardId": "5aa8f2b42209af4ae754a721",
  1397. "assets": {
  1398. "image": {
  1399. "en": "/data/images/achievements/__5cf98ac3-de91-62ab-e390-50d972ac5650__-1521021620212_1521021620220.png"
  1400. },
  1401. "position": 0,
  1402. "category": "ACHIEVEMENT",
  1403. "description": {
  1404. "en": "Complete Level 3. Win sku3!"
  1405. },
  1406. "title": {
  1407. "en": "Complete Level 3"
  1408. }
  1409. },
  1410. "metadata": {
  1411. "amount": 1,
  1412. "sku": "test_sku_3",
  1413. "quantity": 1
  1414. },
  1415. "price": {
  1416. "points": 0,
  1417. "actions": [
  1418. {
  1419. "package": "com.wappier.xanadu.demo.loyalty",
  1420. "platform": "android",
  1421. "type": "INAPP_ACTION",
  1422. "action": "lvl3"
  1423. }
  1424. ]
  1425. },
  1426. "locked": true,
  1427. "claimed": false
  1428. },
  1429. {
  1430. "rewardId": "5aa8f2b42209af4ae754a723",
  1431. "assets": {
  1432. "image": {
  1433. "en": "/data/images/achievements/__35f82140-57ae-84b9-cbca-68695044c59c__-1521021620213_1521021620221.png"
  1434. },
  1435. "position": 0,
  1436. "category": "ACHIEVEMENT",
  1437. "description": {
  1438. "en": "Complete Level 4. Win sku 4!"
  1439. },
  1440. "title": {
  1441. "en": "Complete Level 4"
  1442. }
  1443. },
  1444. "metadata": {
  1445. "amount": 1,
  1446. "sku": "test_sku_4",
  1447. "quantity": 1
  1448. },
  1449. "price": {
  1450. "points": 0,
  1451. "actions": [
  1452. {
  1453. "package": "com.wappier.xanadu.demo.loyalty",
  1454. "platform": "android",
  1455. "type": "INAPP_ACTION",
  1456. "action": "lvl4"
  1457. }
  1458. ]
  1459. },
  1460. "locked": true,
  1461. "claimed": false
  1462. },
  1463. {
  1464. "rewardId": "5aa8f2b42209af4ae754a725",
  1465. "assets": {
  1466. "image": {
  1467. "en": "/data/images/achievements/__c81062e6-ea3d-7b9a-5689-f4b6ba53211d__-1521021620213_1521021620222.png"
  1468. },
  1469. "position": 0,
  1470. "category": "ACHIEVEMENT",
  1471. "description": {
  1472. "en": "Complete Level 5. Win ALEKOS!"
  1473. },
  1474. "title": {
  1475. "en": "Complete Level 5"
  1476. }
  1477. },
  1478. "metadata": {
  1479. "amount": 1,
  1480. "sku": "Alekos_1_SKU_BLACK_FRIDAY",
  1481. "quantity": 1
  1482. },
  1483. "price": {
  1484. "points": 0,
  1485. "actions": [
  1486. {
  1487. "package": "com.wappier.xanadu.demo.loyalty",
  1488. "platform": "android",
  1489. "type": "INAPP_ACTION",
  1490. "action": "lvl 5"
  1491. }
  1492. ]
  1493. },
  1494. "locked": true,
  1495. "claimed": false
  1496. }
  1497. ]
  1498. }
  1499. ]
  1500. }
Add Comment
Please, Sign In to add comment