createsend-sendowlfork 6.1.0.pre.hashie5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +9 -0
  4. data/.travis.yml +7 -0
  5. data/CONTRIBUTING.md +8 -0
  6. data/Gemfile +3 -0
  7. data/HISTORY.md +299 -0
  8. data/LICENSE +19 -0
  9. data/README.md +220 -0
  10. data/RELEASE.md +53 -0
  11. data/Rakefile +24 -0
  12. data/createsend.gemspec +31 -0
  13. data/lib/createsend/administrator.rb +49 -0
  14. data/lib/createsend/cacert.pem +3849 -0
  15. data/lib/createsend/campaign.rb +202 -0
  16. data/lib/createsend/client.rb +224 -0
  17. data/lib/createsend/createsend.rb +291 -0
  18. data/lib/createsend/journey.rb +58 -0
  19. data/lib/createsend/list.rb +258 -0
  20. data/lib/createsend/person.rb +59 -0
  21. data/lib/createsend/segment.rb +81 -0
  22. data/lib/createsend/subscriber.rb +113 -0
  23. data/lib/createsend/template.rb +42 -0
  24. data/lib/createsend/transactional_classic_email.rb +32 -0
  25. data/lib/createsend/transactional_smart_email.rb +31 -0
  26. data/lib/createsend/transactional_timeline.rb +45 -0
  27. data/lib/createsend/version.rb +3 -0
  28. data/lib/createsend.rb +17 -0
  29. data/samples/authentication_sample.rb +64 -0
  30. data/samples/clients_sample.rb +79 -0
  31. data/samples/journey_sample.rb +87 -0
  32. data/samples/lists_sample.rb +51 -0
  33. data/samples/segments_sample.rb +21 -0
  34. data/samples/subscribers_sample.rb +51 -0
  35. data/test/administrator_test.rb +37 -0
  36. data/test/campaign_test.rb +296 -0
  37. data/test/client_test.rb +253 -0
  38. data/test/createsend_test.rb +321 -0
  39. data/test/fixtures/active_subscribers.json +87 -0
  40. data/test/fixtures/add_admin.json +3 -0
  41. data/test/fixtures/add_person.json +3 -0
  42. data/test/fixtures/add_subscriber.json +1 -0
  43. data/test/fixtures/admin_details.json +5 -0
  44. data/test/fixtures/admin_get_primary_contact.json +3 -0
  45. data/test/fixtures/admin_set_primary_contact.json +3 -0
  46. data/test/fixtures/administrators.json +12 -0
  47. data/test/fixtures/billingdetails.json +3 -0
  48. data/test/fixtures/bounced_subscribers.json +20 -0
  49. data/test/fixtures/campaign_bounces.json +25 -0
  50. data/test/fixtures/campaign_clicks.json +50 -0
  51. data/test/fixtures/campaign_listsandsegments.json +15 -0
  52. data/test/fixtures/campaign_opens.json +71 -0
  53. data/test/fixtures/campaign_recipients.json +91 -0
  54. data/test/fixtures/campaign_spam.json +16 -0
  55. data/test/fixtures/campaign_summary.json +16 -0
  56. data/test/fixtures/campaign_unsubscribes.json +17 -0
  57. data/test/fixtures/campaigns.json +37 -0
  58. data/test/fixtures/client_details.json +28 -0
  59. data/test/fixtures/client_get_primary_contact.json +3 -0
  60. data/test/fixtures/client_set_primary_contact.json +3 -0
  61. data/test/fixtures/clients.json +10 -0
  62. data/test/fixtures/countries.json +247 -0
  63. data/test/fixtures/create_campaign.json +1 -0
  64. data/test/fixtures/create_client.json +1 -0
  65. data/test/fixtures/create_custom_field.json +1 -0
  66. data/test/fixtures/create_list.json +1 -0
  67. data/test/fixtures/create_list_webhook.json +1 -0
  68. data/test/fixtures/create_segment.json +1 -0
  69. data/test/fixtures/create_template.json +1 -0
  70. data/test/fixtures/custom_api_error.json +4 -0
  71. data/test/fixtures/custom_fields.json +23 -0
  72. data/test/fixtures/deleted_subscribers.json +61 -0
  73. data/test/fixtures/drafts.json +26 -0
  74. data/test/fixtures/email_client_usage.json +38 -0
  75. data/test/fixtures/expired_oauth_token_api_error.json +4 -0
  76. data/test/fixtures/external_session.json +3 -0
  77. data/test/fixtures/import_subscribers.json +7 -0
  78. data/test/fixtures/import_subscribers_partial_success.json +17 -0
  79. data/test/fixtures/invalid_oauth_token_api_error.json +4 -0
  80. data/test/fixtures/journey_bounces.json +35 -0
  81. data/test/fixtures/journey_clicks.json +35 -0
  82. data/test/fixtures/journey_opens.json +55 -0
  83. data/test/fixtures/journey_recipients.json +27 -0
  84. data/test/fixtures/journey_summary.json +18 -0
  85. data/test/fixtures/journey_unsubscribes.json +26 -0
  86. data/test/fixtures/journeys.json +20 -0
  87. data/test/fixtures/list_details.json +8 -0
  88. data/test/fixtures/list_stats.json +26 -0
  89. data/test/fixtures/list_webhooks.json +18 -0
  90. data/test/fixtures/lists.json +10 -0
  91. data/test/fixtures/listsforemail.json +14 -0
  92. data/test/fixtures/oauth_exchange_token.json +5 -0
  93. data/test/fixtures/oauth_exchange_token_error.json +4 -0
  94. data/test/fixtures/oauth_refresh_token_error.json +4 -0
  95. data/test/fixtures/people.json +14 -0
  96. data/test/fixtures/person_details.json +6 -0
  97. data/test/fixtures/refresh_oauth_token.json +5 -0
  98. data/test/fixtures/revoked_oauth_token_api_error.json +4 -0
  99. data/test/fixtures/scheduled_campaigns.json +30 -0
  100. data/test/fixtures/segment_details.json +24 -0
  101. data/test/fixtures/segment_subscribers.json +27 -0
  102. data/test/fixtures/segments.json +12 -0
  103. data/test/fixtures/subscriber_details.json +23 -0
  104. data/test/fixtures/subscriber_details_with_track_and_sms_pref.json +25 -0
  105. data/test/fixtures/subscriber_history.json +45 -0
  106. data/test/fixtures/suppressionlist.json +41 -0
  107. data/test/fixtures/systemdate.json +3 -0
  108. data/test/fixtures/tags.json +10 -0
  109. data/test/fixtures/template_details.json +6 -0
  110. data/test/fixtures/templates.json +14 -0
  111. data/test/fixtures/timezones.json +99 -0
  112. data/test/fixtures/transfer_credits.json +4 -0
  113. data/test/fixtures/tx_classicemail_groups.json +14 -0
  114. data/test/fixtures/tx_message_details.json +36 -0
  115. data/test/fixtures/tx_message_details_with_statistics.json +72 -0
  116. data/test/fixtures/tx_messages.json +38 -0
  117. data/test/fixtures/tx_messages_classic.json +15 -0
  118. data/test/fixtures/tx_messages_smart.json +15 -0
  119. data/test/fixtures/tx_resend_message.json +6 -0
  120. data/test/fixtures/tx_send_multiple.json +12 -0
  121. data/test/fixtures/tx_send_single.json +7 -0
  122. data/test/fixtures/tx_smartemail_details.json +23 -0
  123. data/test/fixtures/tx_smartemails.json +15 -0
  124. data/test/fixtures/tx_statistics_classic.json +14 -0
  125. data/test/fixtures/tx_statistics_smart.json +14 -0
  126. data/test/fixtures/unconfirmed_subscribers.json +43 -0
  127. data/test/fixtures/unsubscribed_subscribers.json +61 -0
  128. data/test/fixtures/update_custom_field.json +1 -0
  129. data/test/helper.rb +79 -0
  130. data/test/journey_test.rb +156 -0
  131. data/test/list_test.rb +288 -0
  132. data/test/person_test.rb +39 -0
  133. data/test/segment_test.rb +74 -0
  134. data/test/subscriber_test.rb +177 -0
  135. data/test/template_test.rb +36 -0
  136. data/test/transactional_classic_email_test.rb +60 -0
  137. data/test/transactional_smart_email_test.rb +83 -0
  138. data/test/transactional_timeline_test.rb +110 -0
  139. metadata +431 -0
@@ -0,0 +1,91 @@
1
+ {
2
+ "Results": [
3
+ {
4
+ "EmailAddress": "subs+6g76t7t0@example.com",
5
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
6
+ },
7
+ {
8
+ "EmailAddress": "subs+6g76t7t1@example.com",
9
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
10
+ },
11
+ {
12
+ "EmailAddress": "subs+6g76t7t10@example.com",
13
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
14
+ },
15
+ {
16
+ "EmailAddress": "subs+6g76t7t100@example.com",
17
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
18
+ },
19
+ {
20
+ "EmailAddress": "subs+6g76t7t1000@example.com",
21
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
22
+ },
23
+ {
24
+ "EmailAddress": "subs+6g76t7t1001@example.com",
25
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
26
+ },
27
+ {
28
+ "EmailAddress": "subs+6g76t7t1002@example.com",
29
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
30
+ },
31
+ {
32
+ "EmailAddress": "subs+6g76t7t1003@example.com",
33
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
34
+ },
35
+ {
36
+ "EmailAddress": "subs+6g76t7t1004@example.com",
37
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
38
+ },
39
+ {
40
+ "EmailAddress": "subs+6g76t7t1005@example.com",
41
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
42
+ },
43
+ {
44
+ "EmailAddress": "subs+6g76t7t1006@example.com",
45
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
46
+ },
47
+ {
48
+ "EmailAddress": "subs+6g76t7t1007@example.com",
49
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
50
+ },
51
+ {
52
+ "EmailAddress": "subs+6g76t7t1008@example.com",
53
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
54
+ },
55
+ {
56
+ "EmailAddress": "subs+6g76t7t1009@example.com",
57
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
58
+ },
59
+ {
60
+ "EmailAddress": "subs+6g76t7t101@example.com",
61
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
62
+ },
63
+ {
64
+ "EmailAddress": "subs+6g76t7t1010@example.com",
65
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
66
+ },
67
+ {
68
+ "EmailAddress": "subs+6g76t7t1011@example.com",
69
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
70
+ },
71
+ {
72
+ "EmailAddress": "subs+6g76t7t1012@example.com",
73
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
74
+ },
75
+ {
76
+ "EmailAddress": "subs+6g76t7t1013@example.com",
77
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
78
+ },
79
+ {
80
+ "EmailAddress": "subs+6g76t7t1014@example.com",
81
+ "ListID": "a994a3caf1328a16af9a69a730eaa706"
82
+ }
83
+ ],
84
+ "ResultsOrderedBy": "email",
85
+ "OrderDirection": "asc",
86
+ "PageNumber": 1,
87
+ "PageSize": 20,
88
+ "RecordsOnThisPage": 20,
89
+ "TotalNumberOfRecords": 2200,
90
+ "NumberOfPages": 110
91
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "Results": [
3
+ {
4
+ "EmailAddress": "subs+6576576576@example.com",
5
+ "ListID": "512a3bc577a58fdf689c654329b50fa0",
6
+ "Date": "2010-10-11 08:29:00"
7
+ }
8
+ ],
9
+ "ResultsOrderedBy": "date",
10
+ "OrderDirection": "asc",
11
+ "PageNumber": 1,
12
+ "PageSize": 1000,
13
+ "RecordsOnThisPage": 1,
14
+ "TotalNumberOfRecords": 1,
15
+ "NumberOfPages": 1
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "Recipients": 5,
3
+ "TotalOpened": 10,
4
+ "Clicks": 0,
5
+ "Unsubscribed": 0,
6
+ "Bounced": 0,
7
+ "UniqueOpened": 5,
8
+ "Mentions": 23,
9
+ "Forwards": 11,
10
+ "Likes": 32,
11
+ "WebVersionURL": "http://createsend.com/t/r-3A433FC72FFE3B8B",
12
+ "WebVersionTextURL": "http://createsend.com/t/r-3A433FC72FFE3B8B/t",
13
+ "WorldviewURL": "http://client.createsend.com/reports/wv/r/3A433FC72FFE3B8B",
14
+ "SpamComplaints": 23,
15
+ "Name": "Campaign Name"
16
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "Results": [
3
+ {
4
+ "EmailAddress": "subs+6576576576@example.com",
5
+ "ListID": "512a3bc577a58fdf689c654329b50fa0",
6
+ "Date": "2010-10-11 08:29:00",
7
+ "IPAddress": "192.168.126.87"
8
+ }
9
+ ],
10
+ "ResultsOrderedBy": "date",
11
+ "OrderDirection": "asc",
12
+ "PageNumber": 1,
13
+ "PageSize": 1000,
14
+ "RecordsOnThisPage": 1,
15
+ "TotalNumberOfRecords": 1,
16
+ "NumberOfPages": 1
17
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "Results": [
3
+ {
4
+ "WebVersionURL": "http://createsend.com/t/r-765E86829575EE2C",
5
+ "WebVersionTextURL": "http://createsend.com/t/r-765E86829575EE2C/t",
6
+ "CampaignID": "fc0ce7105baeaf97f47c99be31d02a91",
7
+ "Subject": "Campaign One",
8
+ "Name": "Campaign One",
9
+ "FromName": "My Name",
10
+ "FromEmail": "myemail@example.com",
11
+ "ReplyTo": "myemail@example.com",
12
+ "SentDate": "2010-10-12 12:58:00",
13
+ "TotalRecipients": 2245,
14
+ "Tags": []
15
+ },
16
+ {
17
+ "WebVersionURL": "http://createsend.com/t/r-DD543566A87C9B8B",
18
+ "WebVersionTextURL": "http://createsend.com/t/r-DD543566A87C9B8B/t",
19
+ "CampaignID": "072472b88c853ae5dedaeaf549a8d607",
20
+ "Subject": "Campaign Two",
21
+ "Name": "Campaign Two",
22
+ "FromName": "My Name",
23
+ "FromEmail": "myemail@example.com",
24
+ "ReplyTo": "myemail@example.com",
25
+ "SentDate": "2010-10-06 16:20:00",
26
+ "TotalRecipients": 11222,
27
+ "Tags": ["tagexample"]
28
+ }
29
+ ],
30
+ "ResultsOrderedBy": "sentdate",
31
+ "OrderDirection": "desc",
32
+ "PageNumber": 1,
33
+ "PageSize": 1000,
34
+ "RecordsOnThisPage": 2,
35
+ "TotalNumberOfRecords": 2,
36
+ "NumberOfPages": 1
37
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "ApiKey": "639d8cc27198202f5fe6037a8b17a29a59984b86d3289bc9",
3
+ "AccessDetails": {
4
+ "Username": "clientone",
5
+ "AccessLevel": 23
6
+ },
7
+ "BasicDetails": {
8
+ "ClientID": "4a397ccaaa55eb4e6aa1221e1e2d7122",
9
+ "CompanyName": "Client One",
10
+ "ContactName": "Client One (contact)",
11
+ "EmailAddress": "contact@example.com",
12
+ "Country": "Australia",
13
+ "TimeZone": "(GMT+10:00) Canberra, Melbourne, Sydney"
14
+ },
15
+ "BillingDetails": {
16
+ "CanPurchaseCredits": true,
17
+ "Credits": 500,
18
+ "MarkupOnDesignSpamTest": 0.0,
19
+ "ClientPays": true,
20
+ "BaseRatePerRecipient": 1.0,
21
+ "MarkupPerRecipient": 0.0,
22
+ "MarkupOnDelivery": 0.0,
23
+ "BaseDeliveryRate": 5.0,
24
+ "Currency": "USD",
25
+ "BaseDesignSpamTestRate": 5.0,
26
+ "MonthlyScheme": "Basic"
27
+ }
28
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "EmailAddress": "person@blackhole.com"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "EmailAddress": "person@blackhole.com"
3
+ }
@@ -0,0 +1,10 @@
1
+ [
2
+ {
3
+ "ClientID": "4a397ccaaa55eb4e6aa1221e1e2d7122",
4
+ "Name": "Client One"
5
+ },
6
+ {
7
+ "ClientID": "a206def0582eec7dae47d937a4109cb2",
8
+ "Name": "Client Two"
9
+ }
10
+ ]
@@ -0,0 +1,247 @@
1
+ [
2
+ "Afghanistan",
3
+ "Albania",
4
+ "Algeria",
5
+ "American Samoa",
6
+ "Andorra",
7
+ "Angola",
8
+ "Anguilla",
9
+ "Antigua & Barbuda",
10
+ "Argentina",
11
+ "Armenia",
12
+ "Aruba",
13
+ "Australia",
14
+ "Austria",
15
+ "Azerbaijan",
16
+ "Azores",
17
+ "Bahamas",
18
+ "Bahrain",
19
+ "Bangladesh",
20
+ "Barbados",
21
+ "Belarus",
22
+ "Belgium",
23
+ "Belize",
24
+ "Benin",
25
+ "Bermuda",
26
+ "Bhutan",
27
+ "Bolivia",
28
+ "Bonaire",
29
+ "Bosnia & Herzegovina",
30
+ "Botswana",
31
+ "Brazil",
32
+ "British Indian Ocean Ter",
33
+ "Brunei",
34
+ "Bulgaria",
35
+ "Burkina Faso",
36
+ "Burundi",
37
+ "Cambodia",
38
+ "Cameroon",
39
+ "Canada",
40
+ "Canary Islands",
41
+ "Cape Verde",
42
+ "Cayman Islands",
43
+ "Central African Republic",
44
+ "Chad",
45
+ "Channel Islands",
46
+ "Chile",
47
+ "China",
48
+ "Christmas Island",
49
+ "Cocos Island",
50
+ "Columbia",
51
+ "Comoros",
52
+ "Congo",
53
+ "Congo Democratic Rep",
54
+ "Cook Islands",
55
+ "Costa Rica",
56
+ "Cote D'Ivoire",
57
+ "Croatia",
58
+ "Cuba",
59
+ "Curacao",
60
+ "Cyprus",
61
+ "Czech Republic",
62
+ "Denmark",
63
+ "Djibouti",
64
+ "Dominica",
65
+ "Dominican Republic",
66
+ "East Timor",
67
+ "Ecuador",
68
+ "Egypt",
69
+ "El Salvador",
70
+ "Equatorial Guinea",
71
+ "Eritrea",
72
+ "Estonia",
73
+ "Ethiopia",
74
+ "Falkland Islands",
75
+ "Faroe Islands",
76
+ "Fiji",
77
+ "Finland",
78
+ "France",
79
+ "French Guiana",
80
+ "French Polynesia",
81
+ "French Southern Ter",
82
+ "Gabon",
83
+ "Gambia",
84
+ "Georgia",
85
+ "Germany",
86
+ "Ghana",
87
+ "Gibraltar",
88
+ "Great Britain",
89
+ "Greece",
90
+ "Greenland",
91
+ "Grenada",
92
+ "Guadeloupe",
93
+ "Guam",
94
+ "Guatemala",
95
+ "Guinea",
96
+ "Guyana",
97
+ "Haiti",
98
+ "Honduras",
99
+ "Hong Kong",
100
+ "Hungary",
101
+ "Iceland",
102
+ "India",
103
+ "Indonesia",
104
+ "Iran",
105
+ "Iraq",
106
+ "Ireland",
107
+ "Isle of Man",
108
+ "Israel",
109
+ "Italy",
110
+ "Jamaica",
111
+ "Japan",
112
+ "Jordan",
113
+ "Kazakhstan",
114
+ "Kenya",
115
+ "Kiribati",
116
+ "Korea North",
117
+ "Korea South",
118
+ "Kuwait",
119
+ "Kyrgyzstan",
120
+ "Laos",
121
+ "Latvia",
122
+ "Lebanon",
123
+ "Lesotho",
124
+ "Liberia",
125
+ "Libya",
126
+ "Liechtenstein",
127
+ "Lithuania",
128
+ "Luxembourg",
129
+ "Macau",
130
+ "Macedonia",
131
+ "Madagascar",
132
+ "Malawi",
133
+ "Malaysia",
134
+ "Maldives",
135
+ "Mali",
136
+ "Malta",
137
+ "Marshall Islands",
138
+ "Martinique",
139
+ "Mauritania",
140
+ "Mauritius",
141
+ "Mayotte",
142
+ "Mexico",
143
+ "Midway Islands",
144
+ "Moldova",
145
+ "Monaco",
146
+ "Mongolia",
147
+ "Montserrat",
148
+ "Morocco",
149
+ "Mozambique",
150
+ "Myanmar",
151
+ "Namibia",
152
+ "Nauru",
153
+ "Nepal",
154
+ "Netherland Antilles",
155
+ "Netherlands",
156
+ "Nevis",
157
+ "New Caledonia",
158
+ "New Zealand",
159
+ "Nicaragua",
160
+ "Niger",
161
+ "Nigeria",
162
+ "Niue",
163
+ "Norfolk Island",
164
+ "Norway",
165
+ "Oman",
166
+ "Pakistan",
167
+ "Palau Island",
168
+ "Palestine",
169
+ "Panama",
170
+ "Papua New Guinea",
171
+ "Paraguay",
172
+ "Peru",
173
+ "Philippines",
174
+ "Pitcairn Island",
175
+ "Poland",
176
+ "Portugal",
177
+ "Puerto Rico",
178
+ "Qatar",
179
+ "Reunion",
180
+ "Romania",
181
+ "Russia",
182
+ "Rwanda",
183
+ "Saipan",
184
+ "Samoa",
185
+ "Samoa American",
186
+ "San Marino",
187
+ "Sao Tome & Principe",
188
+ "Saudi Arabia",
189
+ "Senegal",
190
+ "Serbia & Montenegro",
191
+ "Seychelles",
192
+ "Sierra Leone",
193
+ "Singapore",
194
+ "Slovakia",
195
+ "Slovenia",
196
+ "Solomon Islands",
197
+ "Somalia",
198
+ "South Africa",
199
+ "Spain",
200
+ "Sri Lanka",
201
+ "St Barthelemy",
202
+ "St Eustatius",
203
+ "St Helena",
204
+ "St Kitts-Nevis",
205
+ "St Lucia",
206
+ "St Maarten",
207
+ "St Pierre & Miquelon",
208
+ "St Vincent & Grenadines",
209
+ "Sudan",
210
+ "Suriname",
211
+ "Swaziland",
212
+ "Sweden",
213
+ "Switzerland",
214
+ "Syria",
215
+ "Tahiti",
216
+ "Taiwan",
217
+ "Tajikistan",
218
+ "Tanzania",
219
+ "Thailand",
220
+ "Togo",
221
+ "Tokelau",
222
+ "Tonga",
223
+ "Trinidad & Tobago",
224
+ "Tunisia",
225
+ "Turkey",
226
+ "Turkmenistan",
227
+ "Turks & Caicos Is",
228
+ "Tuvalu",
229
+ "Uganda",
230
+ "Ukraine",
231
+ "United Arab Emirates",
232
+ "United Kingdom",
233
+ "United States of America",
234
+ "Uruguay",
235
+ "Uzbekistan",
236
+ "Vanuatu",
237
+ "Vatican City State",
238
+ "Venezuela",
239
+ "Vietnam",
240
+ "Virgin Islands (Brit)",
241
+ "Virgin Islands (USA)",
242
+ "Wake Island",
243
+ "Wallis & Futana Is",
244
+ "Yemen",
245
+ "Zambia",
246
+ "Zimbabwe"
247
+ ]
@@ -0,0 +1 @@
1
+ "787y87y87y87y87y87y87"
@@ -0,0 +1 @@
1
+ "32a381c49a2df99f1d0c6f3c112352b9"
@@ -0,0 +1 @@
1
+ "[newdatefield]"
@@ -0,0 +1 @@
1
+ "e3c5f034d68744f7881fdccf13c2daee"
@@ -0,0 +1 @@
1
+ "6a783d359bd44ef62c6ca0d3eda4412a"
@@ -0,0 +1 @@
1
+ "0246c2aea610a3545d9780bf6ab89006"
@@ -0,0 +1 @@
1
+ "98y2e98y289dh89h938389"
@@ -0,0 +1,4 @@
1
+ {
2
+ "Code": 98798,
3
+ "Message": "A crazy API error"
4
+ }
@@ -0,0 +1,23 @@
1
+ [
2
+ {
3
+ "FieldName": "website",
4
+ "Key": "[website]",
5
+ "DataType": "Text",
6
+ "FieldOptions": [],
7
+ "VisibleInPreferenceCenter": true
8
+ },
9
+ {
10
+ "FieldName": "age",
11
+ "Key": "[age]",
12
+ "DataType": "Number",
13
+ "FieldOptions": [],
14
+ "VisibleInPreferenceCenter": true
15
+ },
16
+ {
17
+ "FieldName": "subscription date",
18
+ "Key": "[subscriptiondate]",
19
+ "DataType": "Date",
20
+ "FieldOptions": [],
21
+ "VisibleInPreferenceCenter": false
22
+ }
23
+ ]
@@ -0,0 +1,61 @@
1
+ {
2
+ "Results": [
3
+ {
4
+ "EmailAddress": "subscriber@example.com",
5
+ "Name": "Deleted One",
6
+ "Date": "2010-10-25 13:11:00",
7
+ "ListJoinedDate": "2010-10-25 13:11:00",
8
+ "State": "Deleted",
9
+ "CustomFields": [],
10
+ "ReadsEmailWith": "Gmail"
11
+ },
12
+ {
13
+ "EmailAddress": "subscriberone@example.com",
14
+ "Name": "Subscriber",
15
+ "Date": "2010-10-25 13:04:00",
16
+ "ListJoinedDate": "2010-10-25 13:04:00",
17
+ "State": "Deleted",
18
+ "CustomFields": [
19
+ {
20
+ "Key": "website",
21
+ "Value": "http://google.com"
22
+ }
23
+ ],
24
+ "ReadsEmailWith": "Gmail"
25
+ },
26
+ {
27
+ "EmailAddress": "example+1@example.com",
28
+ "Name": "Example One",
29
+ "Date": "2010-10-26 10:56:00",
30
+ "ListJoinedDate": "2010-10-26 10:56:00",
31
+ "State": "Deleted",
32
+ "CustomFields": [],
33
+ "ReadsEmailWith": ""
34
+ },
35
+ {
36
+ "EmailAddress": "example+2@example.com",
37
+ "Name": "Example Two",
38
+ "Date": "2010-10-26 10:56:00",
39
+ "ListJoinedDate": "2010-10-26 10:56:00",
40
+ "State": "Deleted",
41
+ "CustomFields": [],
42
+ "ReadsEmailWith": ""
43
+ },
44
+ {
45
+ "EmailAddress": "example+3@example.com",
46
+ "Name": "Example Three",
47
+ "Date": "2010-10-26 10:56:00",
48
+ "ListJoinedDate": "2010-10-26 10:56:00",
49
+ "State": "Deleted",
50
+ "CustomFields": [],
51
+ "ReadsEmailWith": "Gmail"
52
+ }
53
+ ],
54
+ "ResultsOrderedBy": "email",
55
+ "OrderDirection": "asc",
56
+ "PageNumber": 1,
57
+ "PageSize": 1000,
58
+ "RecordsOnThisPage": 5,
59
+ "TotalNumberOfRecords": 5,
60
+ "NumberOfPages": 1
61
+ }
@@ -0,0 +1,26 @@
1
+ [
2
+ {
3
+ "CampaignID": "7c7424792065d92627139208c8c01db1",
4
+ "Name": "Draft One",
5
+ "Subject": "Draft One",
6
+ "FromName": "My Name",
7
+ "FromEmail": "myemail@example.com",
8
+ "ReplyTo": "myemail@example.com",
9
+ "DateCreated": "2010-08-19 16:08:00",
10
+ "PreviewURL": "http://createsend.com/t/r-E97A7BB2E6983DA1",
11
+ "PreviewTextURL": "http://createsend.com/t/r-E97A7BB2E6983DA1/t",
12
+ "Tags": ["tagexample"]
13
+ },
14
+ {
15
+ "CampaignID": "2e928e982065d92627139208c8c01db1",
16
+ "Name": "Draft Two",
17
+ "Subject": "Draft Two",
18
+ "FromName": "My Name",
19
+ "FromEmail": "myemail@example.com",
20
+ "ReplyTo": "myemail@example.com",
21
+ "DateCreated": "2010-08-19 16:08:00",
22
+ "PreviewURL": "http://createsend.com/t/r-E97A7BB2E6983DA1",
23
+ "PreviewTextURL": "http://createsend.com/t/r-E97A7BB2E6983DA1/t",
24
+ "Tags": []
25
+ }
26
+ ]
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "Client": "iOS Devices",
4
+ "Version": "iPhone",
5
+ "Percentage": 19.83,
6
+ "Subscribers": 7056
7
+ },
8
+ {
9
+ "Client": "Apple Mail",
10
+ "Version": "Apple Mail 6",
11
+ "Percentage": 13.02,
12
+ "Subscribers": 4633
13
+ },
14
+ {
15
+ "Client": "Apple Mail",
16
+ "Version": "Apple Mail 5",
17
+ "Percentage": 10.60,
18
+ "Subscribers": 3773
19
+ },
20
+ {
21
+ "Client": "Microsoft Outlook",
22
+ "Version": "Outlook 2010",
23
+ "Percentage": 7.18,
24
+ "Subscribers": 2556
25
+ },
26
+ {
27
+ "Client": "iOS Devices",
28
+ "Version": "iPad",
29
+ "Percentage": 4.43,
30
+ "Subscribers": 1577
31
+ },
32
+ {
33
+ "Client": "Undetectable",
34
+ "Version": "Undetectable",
35
+ "Percentage": 4.94,
36
+ "Subscribers": 1632
37
+ }
38
+ ]
@@ -0,0 +1,4 @@
1
+ {
2
+ "Code": 121,
3
+ "Message": "Expired OAuth Token"
4
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "SessionUrl": "https://external1.createsend.com/cd/create/ABCDEF12/DEADBEEF?url=FEEDDAD1"
3
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "FailureDetails": [],
3
+ "TotalUniqueEmailsSubmitted": 3,
4
+ "TotalExistingSubscribers": 0,
5
+ "TotalNewSubscribers": 3,
6
+ "DuplicateEmailsInSubmission": []
7
+ }