TestJsonDataWithTestMessageFromFetch.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "messages": [
  3. {
  4. "vanillaPayload": {
  5. "campaignId": "2108810525516234752"
  6. },
  7. "content": {
  8. "modal": {
  9. "title": {
  10. "text": "FAST",
  11. "hexColor": "#000000"
  12. },
  13. "body": {
  14. "hexColor": "#000000"
  15. },
  16. "backgroundHexColor": "#ffffff"
  17. }
  18. },
  19. "triggeringConditions": [
  20. {
  21. "fiamTrigger": "ON_FOREGROUND"
  22. }
  23. ],
  24. "isTestCampaign": true
  25. },
  26. {
  27. "vanillaPayload": {
  28. "campaignId": "13313766398414028800",
  29. "campaignStartTimeMillis": "1523986039000",
  30. "campaignEndTimeMillis": "9223372036854775807",
  31. "campaignName": "copy of Inception1"
  32. },
  33. "content": {
  34. "modal": {
  35. "title": {
  36. "text": "I heard you like In-App Messages",
  37. "hexColor": "#000000"
  38. },
  39. "body": {
  40. "hexColor": "#000000"
  41. },
  42. "imageUrl": "https://google.com/an_image",
  43. "actionButton": {
  44. "text": {
  45. "text": "Learn More",
  46. "hexColor": "#ffffff"
  47. },
  48. "buttonHexColor": "#000000"
  49. },
  50. "action": {
  51. "actionUrl": "https://www.google.com"
  52. },
  53. "backgroundHexColor": "#ffffff"
  54. }
  55. },
  56. "priority": {
  57. "value": 1
  58. },
  59. "triggeringConditions": [
  60. {
  61. "fiamTrigger": "ON_FOREGROUND"
  62. },
  63. {
  64. "event": {
  65. "name": "jackpot"
  66. }
  67. }
  68. ]
  69. },
  70. {
  71. "vanillaPayload": {
  72. "campaignId": "2108810525516234752"
  73. },
  74. "content": {
  75. "modal": {
  76. "title": {
  77. "text": "FAST",
  78. "hexColor": "#000000"
  79. },
  80. "body": {
  81. "hexColor": "#000000"
  82. },
  83. "backgroundHexColor": "#ffffff"
  84. }
  85. },
  86. "triggeringConditions": [
  87. {
  88. "fiamTrigger": "ON_FOREGROUND"
  89. }
  90. ],
  91. "dataBundle": {
  92. "a":"b",
  93. "c":"d"
  94. },
  95. "isTestCampaign": true
  96. }
  97. ]
  98. }