qualtrics 0.5.1
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.
- checksums.yaml +7 -0
- data/.env.example +3 -0
- data/.gitignore +23 -0
- data/.rspec +1 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +7 -0
- data/lib/qualtrics.rb +52 -0
- data/lib/qualtrics/configuration.rb +17 -0
- data/lib/qualtrics/distribution.rb +90 -0
- data/lib/qualtrics/entity.rb +55 -0
- data/lib/qualtrics/mailer.rb +111 -0
- data/lib/qualtrics/message.rb +75 -0
- data/lib/qualtrics/operation.rb +77 -0
- data/lib/qualtrics/panel.rb +69 -0
- data/lib/qualtrics/panel_import.rb +41 -0
- data/lib/qualtrics/panel_import_file.rb +28 -0
- data/lib/qualtrics/recipient.rb +109 -0
- data/lib/qualtrics/recipient_import_row.rb +40 -0
- data/lib/qualtrics/response.rb +35 -0
- data/lib/qualtrics/survey.rb +80 -0
- data/lib/qualtrics/survey_import.rb +26 -0
- data/lib/qualtrics/transaction.rb +70 -0
- data/lib/qualtrics/version.rb +3 -0
- data/qualtrics.gemspec +34 -0
- data/spec/fixtures/sample_survey.xml +2 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Distribution/creating_to_qualtrics/can_retrieve_a_panel_of_distributions_in_qualtrics.yml +655 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Distribution/creating_to_qualtrics/can_update_itself.yml +599 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Mailer/creating_to_qualtrics/sends_a_reminder_to_a_distribution.yml +493 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Mailer/creating_to_qualtrics/sends_a_survey_to_a_panel_and_creates_a_distribution.yml +441 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Mailer/creating_to_qualtrics/sends_a_survey_to_an_individual_and_creates_a_distribution.yml +441 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/creating_to_qualtrics/persists_to_qualtrics.yml +56 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/creating_to_qualtrics/populates_the_message_id_when_successful.yml +56 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/creating_to_qualtrics/populates_the_success_attribute.yml +56 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/retrieves_an_array_of_all_panels_in_a_library.yml +115 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/creating_to_qualtrics/persists_to_qualtrics.yml +107 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/creating_to_qualtrics/populates_the_panel_id_when_successful.yml +107 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/creating_to_qualtrics/populates_the_success_attribute.yml +107 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/destroys_a_panel_that_returns_true_when_successful.yml +107 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/raises_an_error_when_you_attempt_to_save_an_already_presisted_panel.yml +55 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/retrieves_an_array_of_all_panels_in_a_library.yml +704 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_PanelImport/transmits_to_qualtrics.yml +72 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/persists_to_qualtrics.yml +159 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/populates_the_recipient_id_when_successful.yml +159 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/populates_the_success_attribute.yml +159 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/raises_an_error_when_a_recipient_is_created_without_specifying_a_panel_id.yml +107 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/recipient_made_in_qualtrics/can_delete_itself_in_qualtrics.yml +311 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/recipient_made_in_qualtrics/can_update_itself_in_qualtrics.yml +313 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/recipient_made_in_qualtrics/gets_its_information_in_qualtrics.yml +209 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/can_be_activated_or_deactivated.yml +232 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/destroys_a_survey_that_returns_true_when_successful.yml +128 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/populates_the_survey_id_when_successful.yml +128 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/retrieves_an_array_of_all_surveys.yml +203 -0
- data/spec/fixtures/vcr_cassettes/Qualtrics_SurveyImport/transmits_to_qualtrics.yml +128 -0
- data/spec/qualtrics/configuration_spec.rb +53 -0
- data/spec/qualtrics/distribution_spec.rb +144 -0
- data/spec/qualtrics/mailer_spec.rb +127 -0
- data/spec/qualtrics/message_spec.rb +105 -0
- data/spec/qualtrics/panel_import_file_spec.rb +26 -0
- data/spec/qualtrics/panel_import_spec.rb +43 -0
- data/spec/qualtrics/panel_spec.rb +80 -0
- data/spec/qualtrics/recipient_import_row_spec.rb +62 -0
- data/spec/qualtrics/recipient_spec.rb +185 -0
- data/spec/qualtrics/response_spec.rb +41 -0
- data/spec/qualtrics/survey_import_spec.rb +44 -0
- data/spec/qualtrics/survey_spec.rb +125 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/support/_dotenv.rb +2 -0
- data/spec/support/qualtrics.rb +5 -0
- data/spec/support/vcr.rb +11 -0
- metadata +330 -0
data/spec/fixtures/vcr_cassettes/Qualtrics_Distribution/creating_to_qualtrics/can_update_itself.yml
ADDED
@@ -0,0 +1,599 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: Category=Great+Category&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&Name=Newest+Panel&Request=createPanel&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.1
|
12
|
+
Content-Type:
|
13
|
+
- application/x-www-form-urlencoded
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- Apache
|
25
|
+
Cache-Control:
|
26
|
+
- max-age=315360000
|
27
|
+
Expires:
|
28
|
+
- Sat, 08 Feb 2025 19:15:05 GMT
|
29
|
+
P3p:
|
30
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
31
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
32
|
+
Servershortname:
|
33
|
+
- w11
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '10'
|
38
|
+
- '16'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '284'
|
41
|
+
- '744'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:06 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_2i9pIk4v113O93D\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:15:08 GMT
|
55
|
+
- request:
|
56
|
+
method: post
|
57
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
58
|
+
body:
|
59
|
+
encoding: UTF-8
|
60
|
+
string: Email=working%40hard.com&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_2i9pIk4v113O93D&Request=addRecipient&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
61
|
+
headers:
|
62
|
+
User-Agent:
|
63
|
+
- Faraday v0.9.1
|
64
|
+
Content-Type:
|
65
|
+
- application/x-www-form-urlencoded
|
66
|
+
Accept-Encoding:
|
67
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
68
|
+
Accept:
|
69
|
+
- "*/*"
|
70
|
+
response:
|
71
|
+
status:
|
72
|
+
code: 200
|
73
|
+
message: OK
|
74
|
+
headers:
|
75
|
+
Server:
|
76
|
+
- Apache
|
77
|
+
Cache-Control:
|
78
|
+
- max-age=315360000
|
79
|
+
Expires:
|
80
|
+
- Sat, 08 Feb 2025 19:15:06 GMT
|
81
|
+
P3p:
|
82
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
83
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
84
|
+
Servershortname:
|
85
|
+
- w295
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '17'
|
90
|
+
- '9'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '202'
|
93
|
+
- '617'
|
94
|
+
Content-Length:
|
95
|
+
- '88'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:15:06 GMT
|
100
|
+
Connection:
|
101
|
+
- keep-alive
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"RecipientID\":\"MLRP_aWDyaPtCl3V5tat\"}}"
|
105
|
+
http_version:
|
106
|
+
recorded_at: Wed, 11 Feb 2015 19:15:09 GMT
|
107
|
+
- request:
|
108
|
+
method: post
|
109
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
110
|
+
body:
|
111
|
+
encoding: UTF-8
|
112
|
+
string: Email=notworking%40hard.com&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_2i9pIk4v113O93D&Request=addRecipient&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
113
|
+
headers:
|
114
|
+
User-Agent:
|
115
|
+
- Faraday v0.9.1
|
116
|
+
Content-Type:
|
117
|
+
- application/x-www-form-urlencoded
|
118
|
+
Accept-Encoding:
|
119
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
120
|
+
Accept:
|
121
|
+
- "*/*"
|
122
|
+
response:
|
123
|
+
status:
|
124
|
+
code: 200
|
125
|
+
message: OK
|
126
|
+
headers:
|
127
|
+
Server:
|
128
|
+
- Apache
|
129
|
+
Cache-Control:
|
130
|
+
- max-age=315360000
|
131
|
+
Expires:
|
132
|
+
- Sat, 08 Feb 2025 19:15:07 GMT
|
133
|
+
P3p:
|
134
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
135
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
136
|
+
Servershortname:
|
137
|
+
- w19
|
138
|
+
X-Cnection:
|
139
|
+
- close
|
140
|
+
X-Edgeconnect-Midmile-Rtt:
|
141
|
+
- '16'
|
142
|
+
- '9'
|
143
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
144
|
+
- '215'
|
145
|
+
- '669'
|
146
|
+
Content-Length:
|
147
|
+
- '88'
|
148
|
+
Content-Type:
|
149
|
+
- application/json
|
150
|
+
Date:
|
151
|
+
- Wed, 11 Feb 2015 19:15:07 GMT
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
154
|
+
body:
|
155
|
+
encoding: UTF-8
|
156
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"RecipientID\":\"MLRP_2rCJbcP2pGPaatT\"}}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Wed, 11 Feb 2015 19:15:10 GMT
|
159
|
+
- request:
|
160
|
+
method: post
|
161
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
162
|
+
body:
|
163
|
+
encoding: UTF-8
|
164
|
+
string: "-------------RubyMultipartPost\r\nContent-Disposition: form-data; name=\"Name\"\r\n\r\nComplex
|
165
|
+
survey\r\n-------------RubyMultipartPost\r\nContent-Disposition: form-data;
|
166
|
+
name=\"Data\"; filename=\"sample_survey.xml\"\r\nContent-Length: 1296\r\nContent-Type:
|
167
|
+
text/xml\r\nContent-Transfer-Encoding: binary\r\n\r\n<?xml version=\"1.0\"
|
168
|
+
encoding=\"UTF-8\"?>\n<SurveyDefinition><SurveyName>Sample survey</SurveyName><OwnerID><QUALTRICS_LIBRARY_ID></OwnerID><isActive>0</isActive><CreationDate>2015-02-05
|
169
|
+
13:57:01</CreationDate><LastModifiedDate>2015-02-05 13:57:41</LastModifiedDate><StartDate>0000-00-00
|
170
|
+
00:00:00</StartDate><ExpirationDate>0000-00-00 00:00:00</ExpirationDate><Languages><Language
|
171
|
+
Default=\"1\">EN</Language></Languages><Questions><Question QuestionID=\"QID1\"><Type>MC</Type><Selector>SAVR</Selector><SubSelector>TX</SubSelector><QuestionText><![CDATA[Only
|
172
|
+
one questions]]></QuestionText><QuestionDescription><![CDATA[Only one questions]]></QuestionDescription><ExportTag><![CDATA[Q1]]></ExportTag><Validation><ForceResponse>0</ForceResponse></Validation><Choices><Choice
|
173
|
+
ID=\"1\" Recode=\"1\"><Description><![CDATA[Not this]]></Description></Choice><Choice
|
174
|
+
ID=\"2\" Recode=\"2\"><Description><![CDATA[This is it]]></Description></Choice><Choice
|
175
|
+
ID=\"3\" Recode=\"3\"><Description><![CDATA[Cool answer]]></Description></Choice></Choices></Question></Questions><Blocks><Block
|
176
|
+
Description=\"Default Question Block\" ID=\"BL_bef14vSx8WZHkdn\"><BlockElements><Question
|
177
|
+
QuestionID=\"QID1\"/></BlockElements></Block></Blocks><SurveyFlow><Block FlowID=\"FL_2\"
|
178
|
+
ID=\"BL_bef14vSx8WZHkdn\"/></SurveyFlow><EmbeddedData/></SurveyDefinition>\n\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
179
|
+
form-data; name=\"User\"\r\n\r\n<QUALTRICS_USER>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
180
|
+
form-data; name=\"Token\"\r\n\r\n<QUALTRICS_TOKEN>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
181
|
+
form-data; name=\"Version\"\r\n\r\n2.3\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
182
|
+
form-data; name=\"Format\"\r\n\r\nJSON\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
183
|
+
form-data; name=\"Request\"\r\n\r\nimportSurvey\r\n-------------RubyMultipartPost--\r\n\r\n"
|
184
|
+
headers:
|
185
|
+
User-Agent:
|
186
|
+
- Faraday v0.9.1
|
187
|
+
Content-Type:
|
188
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost
|
189
|
+
Content-Length:
|
190
|
+
- '2120'
|
191
|
+
Accept-Encoding:
|
192
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
193
|
+
Accept:
|
194
|
+
- "*/*"
|
195
|
+
response:
|
196
|
+
status:
|
197
|
+
code: 200
|
198
|
+
message: OK
|
199
|
+
headers:
|
200
|
+
Server:
|
201
|
+
- Apache
|
202
|
+
Cache-Control:
|
203
|
+
- max-age=315360000
|
204
|
+
Expires:
|
205
|
+
- Sat, 08 Feb 2025 19:15:07 GMT
|
206
|
+
P3p:
|
207
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
208
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
209
|
+
Servershortname:
|
210
|
+
- w295
|
211
|
+
X-Cnection:
|
212
|
+
- close
|
213
|
+
X-Edgeconnect-Midmile-Rtt:
|
214
|
+
- '17'
|
215
|
+
- '9'
|
216
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
217
|
+
- '534'
|
218
|
+
- '958'
|
219
|
+
Content-Length:
|
220
|
+
- '83'
|
221
|
+
Content-Type:
|
222
|
+
- application/json
|
223
|
+
Date:
|
224
|
+
- Wed, 11 Feb 2015 19:15:08 GMT
|
225
|
+
Connection:
|
226
|
+
- keep-alive
|
227
|
+
body:
|
228
|
+
encoding: UTF-8
|
229
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"SurveyID\":\"SV_9Sln41J76uDNFit\"}}"
|
230
|
+
http_version:
|
231
|
+
recorded_at: Wed, 11 Feb 2015 19:15:11 GMT
|
232
|
+
- request:
|
233
|
+
method: post
|
234
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
235
|
+
body:
|
236
|
+
encoding: UTF-8
|
237
|
+
string: Category=InviteEmails&Format=JSON&Language=EN&LibraryID=<QUALTRICS_LIBRARY_ID>&Message=Welcome&Name=Newest+Message&Request=createLibraryMessage&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
238
|
+
headers:
|
239
|
+
User-Agent:
|
240
|
+
- Faraday v0.9.1
|
241
|
+
Content-Type:
|
242
|
+
- application/x-www-form-urlencoded
|
243
|
+
Accept-Encoding:
|
244
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
245
|
+
Accept:
|
246
|
+
- "*/*"
|
247
|
+
response:
|
248
|
+
status:
|
249
|
+
code: 200
|
250
|
+
message: OK
|
251
|
+
headers:
|
252
|
+
Server:
|
253
|
+
- Apache
|
254
|
+
Cache-Control:
|
255
|
+
- max-age=315360000
|
256
|
+
Expires:
|
257
|
+
- Sat, 08 Feb 2025 19:15:09 GMT
|
258
|
+
P3p:
|
259
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
260
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
261
|
+
Servershortname:
|
262
|
+
- w015
|
263
|
+
X-Cnection:
|
264
|
+
- close
|
265
|
+
X-Edgeconnect-Midmile-Rtt:
|
266
|
+
- '15'
|
267
|
+
- '9'
|
268
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
269
|
+
- '206'
|
270
|
+
- '588'
|
271
|
+
Content-Length:
|
272
|
+
- '174'
|
273
|
+
Content-Type:
|
274
|
+
- application/json
|
275
|
+
Date:
|
276
|
+
- Wed, 11 Feb 2015 19:15:09 GMT
|
277
|
+
Connection:
|
278
|
+
- keep-alive
|
279
|
+
body:
|
280
|
+
encoding: UTF-8
|
281
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"LibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"MessageID\":\"MS_bK4jk5GXecX8ZCJ\",\"Description\":\"Newest
|
282
|
+
Message\",\"Category\":\"InviteEmails\"}}"
|
283
|
+
http_version:
|
284
|
+
recorded_at: Wed, 11 Feb 2015 19:15:12 GMT
|
285
|
+
- request:
|
286
|
+
method: post
|
287
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
288
|
+
body:
|
289
|
+
encoding: UTF-8
|
290
|
+
string: Format=JSON&FromEmail=example%40example.com&FromName=yes_qualtrics&MessageID=MS_bK4jk5GXecX8ZCJ&MessageLibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_2i9pIk4v113O93D&PanelLibraryID=<QUALTRICS_LIBRARY_ID>&RecipientID=MLRP_aWDyaPtCl3V5tat&Request=sendSurveyToIndividual&SendDate=2015-02-11+12%3A15%3A12&SentFromAddress=noreply%40qemailserver.com&Subject=game+convention&SurveyID=SV_9Sln41J76uDNFit&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
291
|
+
headers:
|
292
|
+
User-Agent:
|
293
|
+
- Faraday v0.9.1
|
294
|
+
Content-Type:
|
295
|
+
- application/x-www-form-urlencoded
|
296
|
+
Accept-Encoding:
|
297
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
298
|
+
Accept:
|
299
|
+
- "*/*"
|
300
|
+
response:
|
301
|
+
status:
|
302
|
+
code: 200
|
303
|
+
message: OK
|
304
|
+
headers:
|
305
|
+
Server:
|
306
|
+
- Apache
|
307
|
+
Cache-Control:
|
308
|
+
- max-age=315360000
|
309
|
+
Expires:
|
310
|
+
- Sat, 08 Feb 2025 19:15:09 GMT
|
311
|
+
P3p:
|
312
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
313
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
314
|
+
Servershortname:
|
315
|
+
- w17
|
316
|
+
X-Cnection:
|
317
|
+
- close
|
318
|
+
X-Edgeconnect-Midmile-Rtt:
|
319
|
+
- '16'
|
320
|
+
- '9'
|
321
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
322
|
+
- '1121'
|
323
|
+
- '649'
|
324
|
+
Content-Length:
|
325
|
+
- '154'
|
326
|
+
Content-Type:
|
327
|
+
- application/json
|
328
|
+
Date:
|
329
|
+
- Wed, 11 Feb 2015 19:15:10 GMT
|
330
|
+
Connection:
|
331
|
+
- keep-alive
|
332
|
+
body:
|
333
|
+
encoding: UTF-8
|
334
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true,\"EmailDistributionID\":\"EMD_cPkytBbBvSK0nmR\",\"DistributionQueueID\":\"EMD_cPkytBbBvSK0nmR\"}}"
|
335
|
+
http_version:
|
336
|
+
recorded_at: Wed, 11 Feb 2015 19:15:13 GMT
|
337
|
+
- request:
|
338
|
+
method: get
|
339
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?DistributionID=EMD_cPkytBbBvSK0nmR&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&Request=getDistributions&SurveyID=SV_9Sln41J76uDNFit&Token=<QUALTRICS_TOKEN>&User=<QUALTRICS_USER>&Version=2.3
|
340
|
+
body:
|
341
|
+
encoding: US-ASCII
|
342
|
+
string: ''
|
343
|
+
headers:
|
344
|
+
User-Agent:
|
345
|
+
- Faraday v0.9.1
|
346
|
+
Accept-Encoding:
|
347
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
348
|
+
Accept:
|
349
|
+
- "*/*"
|
350
|
+
response:
|
351
|
+
status:
|
352
|
+
code: 200
|
353
|
+
message: OK
|
354
|
+
headers:
|
355
|
+
Server:
|
356
|
+
- Apache
|
357
|
+
Cache-Control:
|
358
|
+
- max-age=315360000
|
359
|
+
Expires:
|
360
|
+
- Sat, 08 Feb 2025 19:15:10 GMT
|
361
|
+
P3p:
|
362
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
363
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
364
|
+
Servershortname:
|
365
|
+
- w163
|
366
|
+
X-Cnection:
|
367
|
+
- close
|
368
|
+
X-Edgeconnect-Midmile-Rtt:
|
369
|
+
- '18'
|
370
|
+
- '9'
|
371
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
372
|
+
- '311'
|
373
|
+
- '717'
|
374
|
+
Content-Length:
|
375
|
+
- '1355'
|
376
|
+
Content-Type:
|
377
|
+
- application/json
|
378
|
+
Date:
|
379
|
+
- Wed, 11 Feb 2015 19:15:11 GMT
|
380
|
+
Connection:
|
381
|
+
- keep-alive
|
382
|
+
body:
|
383
|
+
encoding: UTF-8
|
384
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Distributions\":{\"EmailDistributionID\":\"EMD_cPkytBbBvSK0nmR\",\"ParentEmailDistributionID\":null,\"OwnerID\":\"<QUALTRICS_LIBRARY_ID>\",\"ServerID\":null,\"BrandID\":\"brookeside\",\"RequestStatus\":\"Pending\",\"RequestType\":\"Invite\",\"SurveyID\":\"SV_9Sln41J76uDNFit\",\"DistributionQueueID\":null,\"IndexID\":\"ML_2i9pIk4v113O93D\",\"SendDate\":\"2015-02-11
|
385
|
+
12:15:12\",\"ApproxEmails\":1,\"EmailsSent\":\"0\",\"EmailsFailed\":\"0\",\"EmailsResponded\":\"0\",\"EmailsBounced\":\"0\",\"EmailsOpened\":\"0\",\"EmailsSkipped\":\"0\",\"LastRecipientRowID\":null,\"SurveysFinished\":\"0\",\"DistributionLog\":null,\"Temporary\":\"0\",\"Complaints\":\"0\",\"JobID\":\"J_eG5NEBHHGBQ2q1f\",\"DeletedDate\":null,\"CreatedDate\":\"2015-02-11
|
386
|
+
12:15:10\",\"ModifiedDate\":\"2015-02-11 12:15:10\",\"SentFromAddress\":\"noreply@qemailserver.com\",\"FromEmailAddress\":\"example@example.com\",\"FromName\":\"yes_qualtrics\",\"Subject\":\"game
|
387
|
+
convention\",\"MessageLibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"MessageID\":\"MS_bK4jk5GXecX8ZCJ\",\"ExpirationDate\":\"2015-04-12
|
388
|
+
12:15:12\",\"LinkType\":\"Individual\",\"MailingListID\":\"ML_2i9pIk4v113O93D\",\"RecipientID\":\"MLRP_aWDyaPtCl3V5tat\",\"PanelID\":\"ML_2i9pIk4v113O93D\",\"IDS\":{\"MessageLibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"RecipientLibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"RecipientMailingListID\":\"ML_2i9pIk4v113O93D\"},\"ExpireDay\":\"custom\",\"RecipientLibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"UseDistributionLink\":false}}}"
|
389
|
+
http_version:
|
390
|
+
recorded_at: Wed, 11 Feb 2015 19:15:14 GMT
|
391
|
+
- request:
|
392
|
+
method: post
|
393
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
394
|
+
body:
|
395
|
+
encoding: UTF-8
|
396
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_2i9pIk4v113O93D&RecipientID=MLRP_aWDyaPtCl3V5tat&Request=removeRecipient&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
397
|
+
headers:
|
398
|
+
User-Agent:
|
399
|
+
- Faraday v0.9.1
|
400
|
+
Content-Type:
|
401
|
+
- application/x-www-form-urlencoded
|
402
|
+
Accept-Encoding:
|
403
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
404
|
+
Accept:
|
405
|
+
- "*/*"
|
406
|
+
response:
|
407
|
+
status:
|
408
|
+
code: 200
|
409
|
+
message: OK
|
410
|
+
headers:
|
411
|
+
Server:
|
412
|
+
- Apache
|
413
|
+
Cache-Control:
|
414
|
+
- max-age=315360000
|
415
|
+
Expires:
|
416
|
+
- Sat, 08 Feb 2025 19:15:11 GMT
|
417
|
+
P3p:
|
418
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
419
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
420
|
+
Servershortname:
|
421
|
+
- w8
|
422
|
+
X-Cnection:
|
423
|
+
- close
|
424
|
+
X-Edgeconnect-Midmile-Rtt:
|
425
|
+
- '15'
|
426
|
+
- '9'
|
427
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
428
|
+
- '168'
|
429
|
+
- '566'
|
430
|
+
Content-Length:
|
431
|
+
- '63'
|
432
|
+
Content-Type:
|
433
|
+
- application/json
|
434
|
+
Date:
|
435
|
+
- Wed, 11 Feb 2015 19:15:11 GMT
|
436
|
+
Connection:
|
437
|
+
- keep-alive
|
438
|
+
body:
|
439
|
+
encoding: UTF-8
|
440
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":1}}"
|
441
|
+
http_version:
|
442
|
+
recorded_at: Wed, 11 Feb 2015 19:15:14 GMT
|
443
|
+
- request:
|
444
|
+
method: post
|
445
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
446
|
+
body:
|
447
|
+
encoding: UTF-8
|
448
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_2i9pIk4v113O93D&RecipientID=MLRP_2rCJbcP2pGPaatT&Request=removeRecipient&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
449
|
+
headers:
|
450
|
+
User-Agent:
|
451
|
+
- Faraday v0.9.1
|
452
|
+
Content-Type:
|
453
|
+
- application/x-www-form-urlencoded
|
454
|
+
Accept-Encoding:
|
455
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
456
|
+
Accept:
|
457
|
+
- "*/*"
|
458
|
+
response:
|
459
|
+
status:
|
460
|
+
code: 200
|
461
|
+
message: OK
|
462
|
+
headers:
|
463
|
+
Server:
|
464
|
+
- Apache
|
465
|
+
Cache-Control:
|
466
|
+
- max-age=315360000
|
467
|
+
Expires:
|
468
|
+
- Sat, 08 Feb 2025 19:15:12 GMT
|
469
|
+
P3p:
|
470
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
471
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
472
|
+
Servershortname:
|
473
|
+
- w634
|
474
|
+
X-Cnection:
|
475
|
+
- close
|
476
|
+
X-Edgeconnect-Midmile-Rtt:
|
477
|
+
- '10'
|
478
|
+
- '9'
|
479
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
480
|
+
- '232'
|
481
|
+
- '617'
|
482
|
+
Content-Length:
|
483
|
+
- '63'
|
484
|
+
Content-Type:
|
485
|
+
- application/json
|
486
|
+
Date:
|
487
|
+
- Wed, 11 Feb 2015 19:15:12 GMT
|
488
|
+
Connection:
|
489
|
+
- keep-alive
|
490
|
+
body:
|
491
|
+
encoding: UTF-8
|
492
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":1}}"
|
493
|
+
http_version:
|
494
|
+
recorded_at: Wed, 11 Feb 2015 19:15:15 GMT
|
495
|
+
- request:
|
496
|
+
method: post
|
497
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
498
|
+
body:
|
499
|
+
encoding: UTF-8
|
500
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_2i9pIk4v113O93D&Request=deletePanel&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
501
|
+
headers:
|
502
|
+
User-Agent:
|
503
|
+
- Faraday v0.9.1
|
504
|
+
Content-Type:
|
505
|
+
- application/x-www-form-urlencoded
|
506
|
+
Accept-Encoding:
|
507
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
508
|
+
Accept:
|
509
|
+
- "*/*"
|
510
|
+
response:
|
511
|
+
status:
|
512
|
+
code: 200
|
513
|
+
message: OK
|
514
|
+
headers:
|
515
|
+
Server:
|
516
|
+
- Apache
|
517
|
+
Cache-Control:
|
518
|
+
- max-age=315360000
|
519
|
+
Expires:
|
520
|
+
- Sat, 08 Feb 2025 19:15:13 GMT
|
521
|
+
P3p:
|
522
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
523
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
524
|
+
Servershortname:
|
525
|
+
- w2
|
526
|
+
X-Cnection:
|
527
|
+
- close
|
528
|
+
X-Edgeconnect-Midmile-Rtt:
|
529
|
+
- '11'
|
530
|
+
- '9'
|
531
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
532
|
+
- '355'
|
533
|
+
- '763'
|
534
|
+
Content-Length:
|
535
|
+
- '66'
|
536
|
+
Content-Type:
|
537
|
+
- application/json
|
538
|
+
Date:
|
539
|
+
- Wed, 11 Feb 2015 19:15:13 GMT
|
540
|
+
Connection:
|
541
|
+
- keep-alive
|
542
|
+
body:
|
543
|
+
encoding: UTF-8
|
544
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true}}"
|
545
|
+
http_version:
|
546
|
+
recorded_at: Wed, 11 Feb 2015 19:15:16 GMT
|
547
|
+
- request:
|
548
|
+
method: post
|
549
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
550
|
+
body:
|
551
|
+
encoding: UTF-8
|
552
|
+
string: Format=JSON&Request=deleteSurvey&SurveyID=SV_9Sln41J76uDNFit&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
553
|
+
headers:
|
554
|
+
User-Agent:
|
555
|
+
- Faraday v0.9.1
|
556
|
+
Content-Type:
|
557
|
+
- application/x-www-form-urlencoded
|
558
|
+
Accept-Encoding:
|
559
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
560
|
+
Accept:
|
561
|
+
- "*/*"
|
562
|
+
response:
|
563
|
+
status:
|
564
|
+
code: 200
|
565
|
+
message: OK
|
566
|
+
headers:
|
567
|
+
Server:
|
568
|
+
- Apache
|
569
|
+
Cache-Control:
|
570
|
+
- max-age=315360000
|
571
|
+
Expires:
|
572
|
+
- Sat, 08 Feb 2025 19:15:13 GMT
|
573
|
+
P3p:
|
574
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
575
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
576
|
+
Servershortname:
|
577
|
+
- w2
|
578
|
+
X-Cnection:
|
579
|
+
- close
|
580
|
+
X-Edgeconnect-Midmile-Rtt:
|
581
|
+
- '15'
|
582
|
+
- '9'
|
583
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
584
|
+
- '1035'
|
585
|
+
- '628'
|
586
|
+
Content-Length:
|
587
|
+
- '54'
|
588
|
+
Content-Type:
|
589
|
+
- application/json
|
590
|
+
Date:
|
591
|
+
- Wed, 11 Feb 2015 19:15:14 GMT
|
592
|
+
Connection:
|
593
|
+
- keep-alive
|
594
|
+
body:
|
595
|
+
encoding: UTF-8
|
596
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":null}"
|
597
|
+
http_version:
|
598
|
+
recorded_at: Wed, 11 Feb 2015 19:15:17 GMT
|
599
|
+
recorded_with: VCR 2.9.3
|