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
@@ -0,0 +1,107 @@
|
|
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:59 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
|
+
- w8
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '10'
|
38
|
+
- '16'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '1803'
|
41
|
+
- '379'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:16:00 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_8vw3bXmt0vrpqm1\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:16:03 GMT
|
55
|
+
- request:
|
56
|
+
method: post
|
57
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
58
|
+
body:
|
59
|
+
encoding: UTF-8
|
60
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_8vw3bXmt0vrpqm1&Request=deletePanel&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:16:01 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
|
+
- w11
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '23'
|
90
|
+
- '25'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '266'
|
93
|
+
- '667'
|
94
|
+
Content-Length:
|
95
|
+
- '66'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:16:01 GMT
|
100
|
+
Connection:
|
101
|
+
- keep-alive
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true}}"
|
105
|
+
http_version:
|
106
|
+
recorded_at: Wed, 11 Feb 2015 19:16:04 GMT
|
107
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,311 @@
|
|
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:16:11 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
|
+
- w634
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '14'
|
38
|
+
- '14'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '266'
|
41
|
+
- '711'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:16:11 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_ezf73QkoVghX9Up\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:16:14 GMT
|
55
|
+
- request:
|
56
|
+
method: post
|
57
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
58
|
+
body:
|
59
|
+
encoding: UTF-8
|
60
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_ezf73QkoVghX9Up&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:16:12 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
|
+
- w016
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '14'
|
90
|
+
- '22'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '233'
|
93
|
+
- '724'
|
94
|
+
Content-Length:
|
95
|
+
- '88'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:16:12 GMT
|
100
|
+
Connection:
|
101
|
+
- keep-alive
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"RecipientID\":\"MLRP_bf1K7lgot2EBp2d\"}}"
|
105
|
+
http_version:
|
106
|
+
recorded_at: Wed, 11 Feb 2015 19:16:15 GMT
|
107
|
+
- request:
|
108
|
+
method: get
|
109
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&RecipientID=MLRP_bf1K7lgot2EBp2d&Request=getRecipient&Token=<QUALTRICS_TOKEN>&User=<QUALTRICS_USER>&Version=2.3
|
110
|
+
body:
|
111
|
+
encoding: US-ASCII
|
112
|
+
string: ''
|
113
|
+
headers:
|
114
|
+
User-Agent:
|
115
|
+
- Faraday v0.9.1
|
116
|
+
Accept-Encoding:
|
117
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
118
|
+
Accept:
|
119
|
+
- "*/*"
|
120
|
+
response:
|
121
|
+
status:
|
122
|
+
code: 200
|
123
|
+
message: OK
|
124
|
+
headers:
|
125
|
+
Server:
|
126
|
+
- Apache
|
127
|
+
Cache-Control:
|
128
|
+
- max-age=315360000
|
129
|
+
Expires:
|
130
|
+
- Sat, 08 Feb 2025 19:16:12 GMT
|
131
|
+
P3p:
|
132
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
133
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
134
|
+
Servershortname:
|
135
|
+
- w541
|
136
|
+
X-Cnection:
|
137
|
+
- close
|
138
|
+
X-Edgeconnect-Midmile-Rtt:
|
139
|
+
- '13'
|
140
|
+
- '14'
|
141
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
142
|
+
- '218'
|
143
|
+
- '658'
|
144
|
+
Content-Length:
|
145
|
+
- '326'
|
146
|
+
Content-Type:
|
147
|
+
- application/json
|
148
|
+
Date:
|
149
|
+
- Wed, 11 Feb 2015 19:16:13 GMT
|
150
|
+
Connection:
|
151
|
+
- keep-alive
|
152
|
+
body:
|
153
|
+
encoding: UTF-8
|
154
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Recipient\":{\"PanelMemberID\":\"MLRP_bf1K7lgot2EBp2d\",\"PanelID\":\"ML_ezf73QkoVghX9Up\",\"FirstName\":null,\"LastName\":null,\"Email\":null,\"ExternalDataReference\":null,\"EmbeddedData\":null,\"Language\":null,\"RecipientResponseHistory\":null,\"RecipientEmailHistory\":null,\"Unsubscribed\":\"0\"}}}"
|
155
|
+
http_version:
|
156
|
+
recorded_at: Wed, 11 Feb 2015 19:16:15 GMT
|
157
|
+
- request:
|
158
|
+
method: post
|
159
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
160
|
+
body:
|
161
|
+
encoding: UTF-8
|
162
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_ezf73QkoVghX9Up&RecipientID=MLRP_bf1K7lgot2EBp2d&Request=removeRecipient&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
163
|
+
headers:
|
164
|
+
User-Agent:
|
165
|
+
- Faraday v0.9.1
|
166
|
+
Content-Type:
|
167
|
+
- application/x-www-form-urlencoded
|
168
|
+
Accept-Encoding:
|
169
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
170
|
+
Accept:
|
171
|
+
- "*/*"
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 200
|
175
|
+
message: OK
|
176
|
+
headers:
|
177
|
+
Server:
|
178
|
+
- Apache
|
179
|
+
Cache-Control:
|
180
|
+
- max-age=315360000
|
181
|
+
Expires:
|
182
|
+
- Sat, 08 Feb 2025 19:16:13 GMT
|
183
|
+
P3p:
|
184
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
185
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
186
|
+
Servershortname:
|
187
|
+
- w189
|
188
|
+
X-Cnection:
|
189
|
+
- close
|
190
|
+
X-Edgeconnect-Midmile-Rtt:
|
191
|
+
- '11'
|
192
|
+
- '17'
|
193
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
194
|
+
- '314'
|
195
|
+
- '771'
|
196
|
+
Content-Length:
|
197
|
+
- '63'
|
198
|
+
Content-Type:
|
199
|
+
- application/json
|
200
|
+
Date:
|
201
|
+
- Wed, 11 Feb 2015 19:16:13 GMT
|
202
|
+
Connection:
|
203
|
+
- keep-alive
|
204
|
+
body:
|
205
|
+
encoding: UTF-8
|
206
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":1}}"
|
207
|
+
http_version:
|
208
|
+
recorded_at: Wed, 11 Feb 2015 19:16:16 GMT
|
209
|
+
- request:
|
210
|
+
method: get
|
211
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&RecipientID=MLRP_bf1K7lgot2EBp2d&Request=getRecipient&Token=<QUALTRICS_TOKEN>&User=<QUALTRICS_USER>&Version=2.3
|
212
|
+
body:
|
213
|
+
encoding: US-ASCII
|
214
|
+
string: ''
|
215
|
+
headers:
|
216
|
+
User-Agent:
|
217
|
+
- Faraday v0.9.1
|
218
|
+
Accept-Encoding:
|
219
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
220
|
+
Accept:
|
221
|
+
- "*/*"
|
222
|
+
response:
|
223
|
+
status:
|
224
|
+
code: 200
|
225
|
+
message: OK
|
226
|
+
headers:
|
227
|
+
Server:
|
228
|
+
- Apache
|
229
|
+
Cache-Control:
|
230
|
+
- max-age=315360000
|
231
|
+
Expires:
|
232
|
+
- Sat, 08 Feb 2025 19:16:14 GMT
|
233
|
+
P3p:
|
234
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
235
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
236
|
+
Servershortname:
|
237
|
+
- w631
|
238
|
+
X-Cnection:
|
239
|
+
- close
|
240
|
+
X-Edgeconnect-Midmile-Rtt:
|
241
|
+
- '14'
|
242
|
+
- '17'
|
243
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
244
|
+
- '172'
|
245
|
+
- '687'
|
246
|
+
Content-Length:
|
247
|
+
- '68'
|
248
|
+
Content-Type:
|
249
|
+
- application/json
|
250
|
+
Date:
|
251
|
+
- Wed, 11 Feb 2015 19:16:14 GMT
|
252
|
+
Connection:
|
253
|
+
- keep-alive
|
254
|
+
body:
|
255
|
+
encoding: UTF-8
|
256
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Recipient\":null}}"
|
257
|
+
http_version:
|
258
|
+
recorded_at: Wed, 11 Feb 2015 19:16:17 GMT
|
259
|
+
- request:
|
260
|
+
method: post
|
261
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
262
|
+
body:
|
263
|
+
encoding: UTF-8
|
264
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_ezf73QkoVghX9Up&Request=deletePanel&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
265
|
+
headers:
|
266
|
+
User-Agent:
|
267
|
+
- Faraday v0.9.1
|
268
|
+
Content-Type:
|
269
|
+
- application/x-www-form-urlencoded
|
270
|
+
Accept-Encoding:
|
271
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
272
|
+
Accept:
|
273
|
+
- "*/*"
|
274
|
+
response:
|
275
|
+
status:
|
276
|
+
code: 200
|
277
|
+
message: OK
|
278
|
+
headers:
|
279
|
+
Server:
|
280
|
+
- Apache
|
281
|
+
Cache-Control:
|
282
|
+
- max-age=315360000
|
283
|
+
Expires:
|
284
|
+
- Sat, 08 Feb 2025 19:16:15 GMT
|
285
|
+
P3p:
|
286
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
287
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
288
|
+
Servershortname:
|
289
|
+
- w2
|
290
|
+
X-Cnection:
|
291
|
+
- close
|
292
|
+
X-Edgeconnect-Midmile-Rtt:
|
293
|
+
- '13'
|
294
|
+
- '13'
|
295
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
296
|
+
- '272'
|
297
|
+
- '805'
|
298
|
+
Content-Length:
|
299
|
+
- '66'
|
300
|
+
Content-Type:
|
301
|
+
- application/json
|
302
|
+
Date:
|
303
|
+
- Wed, 11 Feb 2015 19:16:15 GMT
|
304
|
+
Connection:
|
305
|
+
- keep-alive
|
306
|
+
body:
|
307
|
+
encoding: UTF-8
|
308
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true}}"
|
309
|
+
http_version:
|
310
|
+
recorded_at: Wed, 11 Feb 2015 19:16:18 GMT
|
311
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,313 @@
|
|
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:16: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
|
+
- w541
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '17'
|
38
|
+
- '17'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '1048'
|
41
|
+
- '271'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:16:05 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_abffVMSOQW7wkbr\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:16: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: FirstName=Kevin&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_abffVMSOQW7wkbr&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:16: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
|
+
- w17
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '16'
|
90
|
+
- '18'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '235'
|
93
|
+
- '686'
|
94
|
+
Content-Length:
|
95
|
+
- '88'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:16:06 GMT
|
100
|
+
Connection:
|
101
|
+
- keep-alive
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"RecipientID\":\"MLRP_3C2746Vr8YNiKxf\"}}"
|
105
|
+
http_version:
|
106
|
+
recorded_at: Wed, 11 Feb 2015 19:16: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: FirstName=Ben&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_abffVMSOQW7wkbr&RecipientID=MLRP_3C2746Vr8YNiKxf&Request=updateRecipient&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:16: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
|
+
- w631
|
138
|
+
X-Cnection:
|
139
|
+
- close
|
140
|
+
X-Edgeconnect-Midmile-Rtt:
|
141
|
+
- '23'
|
142
|
+
- '9'
|
143
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
144
|
+
- '226'
|
145
|
+
- '589'
|
146
|
+
Content-Length:
|
147
|
+
- '327'
|
148
|
+
Content-Type:
|
149
|
+
- application/json
|
150
|
+
Date:
|
151
|
+
- Wed, 11 Feb 2015 19:16:07 GMT
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
154
|
+
body:
|
155
|
+
encoding: UTF-8
|
156
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Recipient\":{\"PanelMemberID\":\"MLRP_3C2746Vr8YNiKxf\",\"PanelID\":\"ML_abffVMSOQW7wkbr\",\"FirstName\":\"Ben\",\"LastName\":null,\"Email\":null,\"ExternalDataReference\":null,\"EmbeddedData\":null,\"Language\":null,\"RecipientResponseHistory\":null,\"RecipientEmailHistory\":null,\"Unsubscribed\":\"0\"}}}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Wed, 11 Feb 2015 19:16: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: FirstName=Ben&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_abffVMSOQW7wkbr&RecipientID=MLRP_3C2746Vr8YNiKxf&Request=updateRecipient&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
165
|
+
headers:
|
166
|
+
User-Agent:
|
167
|
+
- Faraday v0.9.1
|
168
|
+
Content-Type:
|
169
|
+
- application/x-www-form-urlencoded
|
170
|
+
Accept-Encoding:
|
171
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
172
|
+
Accept:
|
173
|
+
- "*/*"
|
174
|
+
response:
|
175
|
+
status:
|
176
|
+
code: 200
|
177
|
+
message: OK
|
178
|
+
headers:
|
179
|
+
Server:
|
180
|
+
- Apache
|
181
|
+
Cache-Control:
|
182
|
+
- max-age=315360000
|
183
|
+
Expires:
|
184
|
+
- Sat, 08 Feb 2025 19:16:07 GMT
|
185
|
+
P3p:
|
186
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
187
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
188
|
+
Servershortname:
|
189
|
+
- w163
|
190
|
+
X-Cnection:
|
191
|
+
- close
|
192
|
+
X-Edgeconnect-Midmile-Rtt:
|
193
|
+
- '14'
|
194
|
+
- '9'
|
195
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
196
|
+
- '278'
|
197
|
+
- '734'
|
198
|
+
Content-Length:
|
199
|
+
- '327'
|
200
|
+
Content-Type:
|
201
|
+
- application/json
|
202
|
+
Date:
|
203
|
+
- Wed, 11 Feb 2015 19:16:08 GMT
|
204
|
+
Connection:
|
205
|
+
- keep-alive
|
206
|
+
body:
|
207
|
+
encoding: UTF-8
|
208
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Recipient\":{\"PanelMemberID\":\"MLRP_3C2746Vr8YNiKxf\",\"PanelID\":\"ML_abffVMSOQW7wkbr\",\"FirstName\":\"Ben\",\"LastName\":null,\"Email\":null,\"ExternalDataReference\":null,\"EmbeddedData\":null,\"Language\":null,\"RecipientResponseHistory\":null,\"RecipientEmailHistory\":null,\"Unsubscribed\":\"0\"}}}"
|
209
|
+
http_version:
|
210
|
+
recorded_at: Wed, 11 Feb 2015 19:16:11 GMT
|
211
|
+
- request:
|
212
|
+
method: get
|
213
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&RecipientID=MLRP_3C2746Vr8YNiKxf&Request=getRecipient&Token=<QUALTRICS_TOKEN>&User=<QUALTRICS_USER>&Version=2.3
|
214
|
+
body:
|
215
|
+
encoding: US-ASCII
|
216
|
+
string: ''
|
217
|
+
headers:
|
218
|
+
User-Agent:
|
219
|
+
- Faraday v0.9.1
|
220
|
+
Accept-Encoding:
|
221
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
222
|
+
Accept:
|
223
|
+
- "*/*"
|
224
|
+
response:
|
225
|
+
status:
|
226
|
+
code: 200
|
227
|
+
message: OK
|
228
|
+
headers:
|
229
|
+
Server:
|
230
|
+
- Apache
|
231
|
+
Cache-Control:
|
232
|
+
- max-age=315360000
|
233
|
+
Expires:
|
234
|
+
- Sat, 08 Feb 2025 19:16:08 GMT
|
235
|
+
P3p:
|
236
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
237
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
238
|
+
Servershortname:
|
239
|
+
- w423
|
240
|
+
X-Cnection:
|
241
|
+
- close
|
242
|
+
X-Edgeconnect-Midmile-Rtt:
|
243
|
+
- '22'
|
244
|
+
- '9'
|
245
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
246
|
+
- '269'
|
247
|
+
- '794'
|
248
|
+
Content-Length:
|
249
|
+
- '327'
|
250
|
+
Content-Type:
|
251
|
+
- application/json
|
252
|
+
Date:
|
253
|
+
- Wed, 11 Feb 2015 19:16:09 GMT
|
254
|
+
Connection:
|
255
|
+
- keep-alive
|
256
|
+
body:
|
257
|
+
encoding: UTF-8
|
258
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Recipient\":{\"PanelMemberID\":\"MLRP_3C2746Vr8YNiKxf\",\"PanelID\":\"ML_abffVMSOQW7wkbr\",\"FirstName\":\"Ben\",\"LastName\":null,\"Email\":null,\"ExternalDataReference\":null,\"EmbeddedData\":null,\"Language\":null,\"RecipientResponseHistory\":null,\"RecipientEmailHistory\":null,\"Unsubscribed\":\"0\"}}}"
|
259
|
+
http_version:
|
260
|
+
recorded_at: Wed, 11 Feb 2015 19:16:11 GMT
|
261
|
+
- request:
|
262
|
+
method: post
|
263
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
264
|
+
body:
|
265
|
+
encoding: UTF-8
|
266
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_abffVMSOQW7wkbr&Request=deletePanel&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
267
|
+
headers:
|
268
|
+
User-Agent:
|
269
|
+
- Faraday v0.9.1
|
270
|
+
Content-Type:
|
271
|
+
- application/x-www-form-urlencoded
|
272
|
+
Accept-Encoding:
|
273
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
274
|
+
Accept:
|
275
|
+
- "*/*"
|
276
|
+
response:
|
277
|
+
status:
|
278
|
+
code: 200
|
279
|
+
message: OK
|
280
|
+
headers:
|
281
|
+
Server:
|
282
|
+
- Apache
|
283
|
+
Cache-Control:
|
284
|
+
- max-age=315360000
|
285
|
+
Expires:
|
286
|
+
- Sat, 08 Feb 2025 19:16:09 GMT
|
287
|
+
P3p:
|
288
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
289
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
290
|
+
Servershortname:
|
291
|
+
- w423
|
292
|
+
X-Cnection:
|
293
|
+
- close
|
294
|
+
X-Edgeconnect-Midmile-Rtt:
|
295
|
+
- '12'
|
296
|
+
- '24'
|
297
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
298
|
+
- '1036'
|
299
|
+
- '1541'
|
300
|
+
Content-Length:
|
301
|
+
- '66'
|
302
|
+
Content-Type:
|
303
|
+
- application/json
|
304
|
+
Date:
|
305
|
+
- Wed, 11 Feb 2015 19:16:10 GMT
|
306
|
+
Connection:
|
307
|
+
- keep-alive
|
308
|
+
body:
|
309
|
+
encoding: UTF-8
|
310
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true}}"
|
311
|
+
http_version:
|
312
|
+
recorded_at: Wed, 11 Feb 2015 19:16:13 GMT
|
313
|
+
recorded_with: VCR 2.9.3
|