qualtrics 0.5.1 → 0.5.2
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 +4 -4
- data/README.md +6 -0
- data/lib/qualtrics/entity.rb +5 -5
- data/lib/qualtrics/operation.rb +21 -6
- data/lib/qualtrics/panel_import.rb +3 -15
- data/lib/qualtrics/panel_import_file.rb +1 -1
- data/lib/qualtrics/recipient_import_row.rb +14 -14
- data/lib/qualtrics/response.rb +6 -1
- data/lib/qualtrics/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Qualtrics_Distribution/creating_to_qualtrics/can_retrieve_a_panel_of_distributions_in_qualtrics.yml +141 -162
- data/spec/fixtures/vcr_cassettes/Qualtrics_Distribution/creating_to_qualtrics/can_update_itself.yml +124 -145
- data/spec/fixtures/vcr_cassettes/Qualtrics_Mailer/creating_to_qualtrics/sends_a_reminder_to_a_distribution.yml +98 -119
- data/spec/fixtures/vcr_cassettes/Qualtrics_Mailer/creating_to_qualtrics/sends_a_survey_to_a_panel_and_creates_a_distribution.yml +87 -108
- data/spec/fixtures/vcr_cassettes/Qualtrics_Mailer/creating_to_qualtrics/sends_a_survey_to_an_individual_and_creates_a_distribution.yml +87 -108
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/creating_to_qualtrics/persists_to_qualtrics.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/creating_to_qualtrics/populates_the_message_id_when_successful.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/creating_to_qualtrics/populates_the_success_attribute.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Qualtrics_Message/retrieves_an_array_of_all_panels_in_a_library.yml +31 -31
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/creating_to_qualtrics/persists_to_qualtrics.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/creating_to_qualtrics/populates_the_panel_id_when_successful.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/creating_to_qualtrics/populates_the_success_attribute.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/destroys_a_panel_that_returns_true_when_successful.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/raises_an_error_when_you_attempt_to_save_an_already_presisted_panel.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/retrieves_an_array_of_all_panels_in_a_library.yml +625 -619
- data/spec/fixtures/vcr_cassettes/Qualtrics_PanelImport/transmits_to_qualtrics.yml +70 -31
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/persists_to_qualtrics.yml +32 -32
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/populates_the_recipient_id_when_successful.yml +33 -33
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/populates_the_success_attribute.yml +33 -33
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/raises_an_error_when_a_recipient_is_created_without_specifying_a_panel_id.yml +21 -21
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/recipient_made_in_qualtrics/can_delete_itself_in_qualtrics.yml +63 -63
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/recipient_made_in_qualtrics/can_update_itself_in_qualtrics.yml +63 -63
- data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/recipient_made_in_qualtrics/gets_its_information_in_qualtrics.yml +41 -41
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/can_be_activated_or_deactivated.yml +44 -65
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/destroys_a_survey_that_returns_true_when_successful.yml +23 -44
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/populates_the_survey_id_when_successful.yml +24 -45
- data/spec/fixtures/vcr_cassettes/Qualtrics_Survey/creating_to_qualtrics/retrieves_an_array_of_all_surveys.yml +57 -79
- data/spec/fixtures/vcr_cassettes/Qualtrics_SurveyImport/transmits_to_qualtrics.yml +24 -45
- data/spec/qualtrics/panel_import_file_spec.rb +1 -1
- data/spec/qualtrics/panel_import_spec.rb +3 -3
- data/spec/qualtrics/recipient_import_row_spec.rb +7 -7
- data/spec/qualtrics/response_spec.rb +10 -0
- metadata +2 -2
@@ -8,7 +8,7 @@ http_interactions:
|
|
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
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.9.
|
11
|
+
- Faraday v0.9.0
|
12
12
|
Content-Type:
|
13
13
|
- application/x-www-form-urlencoded
|
14
14
|
Accept-Encoding:
|
@@ -25,42 +25,42 @@ http_interactions:
|
|
25
25
|
Cache-Control:
|
26
26
|
- max-age=315360000
|
27
27
|
Expires:
|
28
|
-
-
|
28
|
+
- Sun, 23 Feb 2025 16:46:10 GMT
|
29
29
|
P3p:
|
30
30
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
31
31
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
32
32
|
Servershortname:
|
33
|
-
-
|
33
|
+
- w634
|
34
34
|
X-Cnection:
|
35
35
|
- close
|
36
36
|
X-Edgeconnect-Midmile-Rtt:
|
37
|
-
- '
|
37
|
+
- '5'
|
38
38
|
- '9'
|
39
39
|
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
-
- '
|
41
|
-
- '
|
40
|
+
- '201'
|
41
|
+
- '628'
|
42
42
|
Content-Length:
|
43
43
|
- '82'
|
44
44
|
Content-Type:
|
45
45
|
- application/json
|
46
46
|
Date:
|
47
|
-
-
|
47
|
+
- Thu, 26 Feb 2015 16:46:10 GMT
|
48
48
|
Connection:
|
49
49
|
- keep-alive
|
50
50
|
body:
|
51
51
|
encoding: UTF-8
|
52
|
-
string:
|
52
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":{"PanelID":"ML_1OgQO4F5uUE7YJD"}}'
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Thu, 26 Feb 2015 16:46:15 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
57
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
|
-
string: FirstName=Kevin&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=
|
60
|
+
string: FirstName=Kevin&Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_1OgQO4F5uUE7YJD&Request=addRecipient&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
61
61
|
headers:
|
62
62
|
User-Agent:
|
63
|
-
- Faraday v0.9.
|
63
|
+
- Faraday v0.9.0
|
64
64
|
Content-Type:
|
65
65
|
- application/x-www-form-urlencoded
|
66
66
|
Accept-Encoding:
|
@@ -77,7 +77,7 @@ http_interactions:
|
|
77
77
|
Cache-Control:
|
78
78
|
- max-age=315360000
|
79
79
|
Expires:
|
80
|
-
-
|
80
|
+
- Sun, 23 Feb 2025 16:46:11 GMT
|
81
81
|
P3p:
|
82
82
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
83
83
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
@@ -86,33 +86,33 @@ http_interactions:
|
|
86
86
|
X-Cnection:
|
87
87
|
- close
|
88
88
|
X-Edgeconnect-Midmile-Rtt:
|
89
|
-
- '
|
90
|
-
- '
|
89
|
+
- '10'
|
90
|
+
- '6'
|
91
91
|
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
-
- '
|
93
|
-
- '
|
92
|
+
- '295'
|
93
|
+
- '816'
|
94
94
|
Content-Length:
|
95
95
|
- '88'
|
96
96
|
Content-Type:
|
97
97
|
- application/json
|
98
98
|
Date:
|
99
|
-
-
|
99
|
+
- Thu, 26 Feb 2015 16:46:11 GMT
|
100
100
|
Connection:
|
101
101
|
- keep-alive
|
102
102
|
body:
|
103
103
|
encoding: UTF-8
|
104
|
-
string:
|
104
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":{"RecipientID":"MLRP_8FUadcL3Re6d0Gx"}}'
|
105
105
|
http_version:
|
106
|
-
recorded_at:
|
106
|
+
recorded_at: Thu, 26 Feb 2015 16:46:16 GMT
|
107
107
|
- request:
|
108
108
|
method: get
|
109
|
-
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&RecipientID=
|
109
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&RecipientID=MLRP_8FUadcL3Re6d0Gx&Request=getRecipient&Token=<QUALTRICS_TOKEN>&User=<QUALTRICS_USER>&Version=2.3
|
110
110
|
body:
|
111
111
|
encoding: US-ASCII
|
112
112
|
string: ''
|
113
113
|
headers:
|
114
114
|
User-Agent:
|
115
|
-
- Faraday v0.9.
|
115
|
+
- Faraday v0.9.0
|
116
116
|
Accept-Encoding:
|
117
117
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
118
118
|
Accept:
|
@@ -127,7 +127,7 @@ http_interactions:
|
|
127
127
|
Cache-Control:
|
128
128
|
- max-age=315360000
|
129
129
|
Expires:
|
130
|
-
-
|
130
|
+
- Sun, 23 Feb 2025 16:46:11 GMT
|
131
131
|
P3p:
|
132
132
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
133
133
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
@@ -136,33 +136,33 @@ http_interactions:
|
|
136
136
|
X-Cnection:
|
137
137
|
- close
|
138
138
|
X-Edgeconnect-Midmile-Rtt:
|
139
|
-
- '
|
140
|
-
- '
|
139
|
+
- '10'
|
140
|
+
- '6'
|
141
141
|
X-Edgeconnect-Origin-Mex-Latency:
|
142
|
-
- '
|
143
|
-
- '
|
142
|
+
- '234'
|
143
|
+
- '646'
|
144
144
|
Content-Length:
|
145
145
|
- '329'
|
146
146
|
Content-Type:
|
147
147
|
- application/json
|
148
148
|
Date:
|
149
|
-
-
|
149
|
+
- Thu, 26 Feb 2015 16:46:12 GMT
|
150
150
|
Connection:
|
151
151
|
- keep-alive
|
152
152
|
body:
|
153
153
|
encoding: UTF-8
|
154
|
-
string:
|
154
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":{"Recipient":{"PanelMemberID":"MLRP_8FUadcL3Re6d0Gx","PanelID":"ML_1OgQO4F5uUE7YJD","FirstName":"Kevin","LastName":null,"Email":null,"ExternalDataReference":null,"EmbeddedData":null,"Language":null,"RecipientResponseHistory":null,"RecipientEmailHistory":null,"Unsubscribed":"0"}}}'
|
155
155
|
http_version:
|
156
|
-
recorded_at:
|
156
|
+
recorded_at: Thu, 26 Feb 2015 16:46:17 GMT
|
157
157
|
- request:
|
158
158
|
method: post
|
159
159
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
160
160
|
body:
|
161
161
|
encoding: UTF-8
|
162
|
-
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=
|
162
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_1OgQO4F5uUE7YJD&Request=deletePanel&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
163
163
|
headers:
|
164
164
|
User-Agent:
|
165
|
-
- Faraday v0.9.
|
165
|
+
- Faraday v0.9.0
|
166
166
|
Content-Type:
|
167
167
|
- application/x-www-form-urlencoded
|
168
168
|
Accept-Encoding:
|
@@ -179,31 +179,31 @@ http_interactions:
|
|
179
179
|
Cache-Control:
|
180
180
|
- max-age=315360000
|
181
181
|
Expires:
|
182
|
-
-
|
182
|
+
- Sun, 23 Feb 2025 16:46:12 GMT
|
183
183
|
P3p:
|
184
184
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
185
185
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
186
186
|
Servershortname:
|
187
|
-
-
|
187
|
+
- w202
|
188
188
|
X-Cnection:
|
189
189
|
- close
|
190
190
|
X-Edgeconnect-Midmile-Rtt:
|
191
|
-
- '
|
192
|
-
- '
|
191
|
+
- '11'
|
192
|
+
- '3'
|
193
193
|
X-Edgeconnect-Origin-Mex-Latency:
|
194
|
-
- '
|
195
|
-
- '
|
194
|
+
- '289'
|
195
|
+
- '733'
|
196
196
|
Content-Length:
|
197
197
|
- '66'
|
198
198
|
Content-Type:
|
199
199
|
- application/json
|
200
200
|
Date:
|
201
|
-
-
|
201
|
+
- Thu, 26 Feb 2015 16:46:13 GMT
|
202
202
|
Connection:
|
203
203
|
- keep-alive
|
204
204
|
body:
|
205
205
|
encoding: UTF-8
|
206
|
-
string:
|
206
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":{"Success":true}}'
|
207
207
|
http_version:
|
208
|
-
recorded_at:
|
209
|
-
recorded_with: VCR 2.9.
|
208
|
+
recorded_at: Thu, 26 Feb 2015 16:46:18 GMT
|
209
|
+
recorded_with: VCR 2.9.2
|
@@ -5,33 +5,12 @@ http_interactions:
|
|
5
5
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
survey\r\n-------------RubyMultipartPost\r\nContent-Disposition: form-data;
|
10
|
-
name=\"Data\"; filename=\"sample_survey.xml\"\r\nContent-Length: 1296\r\nContent-Type:
|
11
|
-
text/xml\r\nContent-Transfer-Encoding: binary\r\n\r\n<?xml version=\"1.0\"
|
12
|
-
encoding=\"UTF-8\"?>\n<SurveyDefinition><SurveyName>Sample survey</SurveyName><OwnerID><QUALTRICS_LIBRARY_ID></OwnerID><isActive>0</isActive><CreationDate>2015-02-05
|
13
|
-
13:57:01</CreationDate><LastModifiedDate>2015-02-05 13:57:41</LastModifiedDate><StartDate>0000-00-00
|
14
|
-
00:00:00</StartDate><ExpirationDate>0000-00-00 00:00:00</ExpirationDate><Languages><Language
|
15
|
-
Default=\"1\">EN</Language></Languages><Questions><Question QuestionID=\"QID1\"><Type>MC</Type><Selector>SAVR</Selector><SubSelector>TX</SubSelector><QuestionText><![CDATA[Only
|
16
|
-
one questions]]></QuestionText><QuestionDescription><![CDATA[Only one questions]]></QuestionDescription><ExportTag><![CDATA[Q1]]></ExportTag><Validation><ForceResponse>0</ForceResponse></Validation><Choices><Choice
|
17
|
-
ID=\"1\" Recode=\"1\"><Description><![CDATA[Not this]]></Description></Choice><Choice
|
18
|
-
ID=\"2\" Recode=\"2\"><Description><![CDATA[This is it]]></Description></Choice><Choice
|
19
|
-
ID=\"3\" Recode=\"3\"><Description><![CDATA[Cool answer]]></Description></Choice></Choices></Question></Questions><Blocks><Block
|
20
|
-
Description=\"Default Question Block\" ID=\"BL_bef14vSx8WZHkdn\"><BlockElements><Question
|
21
|
-
QuestionID=\"QID1\"/></BlockElements></Block></Blocks><SurveyFlow><Block FlowID=\"FL_2\"
|
22
|
-
ID=\"BL_bef14vSx8WZHkdn\"/></SurveyFlow><EmbeddedData/></SurveyDefinition>\n\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
23
|
-
form-data; name=\"User\"\r\n\r\n<QUALTRICS_USER>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
24
|
-
form-data; name=\"Token\"\r\n\r\n<QUALTRICS_TOKEN>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
25
|
-
form-data; name=\"Version\"\r\n\r\n2.3\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
26
|
-
form-data; name=\"Format\"\r\n\r\nJSON\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
27
|
-
form-data; name=\"Request\"\r\n\r\nimportSurvey\r\n-------------RubyMultipartPost--\r\n\r\n"
|
8
|
+
string: Data=%23%3CUploadIO%3A0x007f86ab4f89c0%3E&Format=JSON&Name=Complex+survey&Request=importSurvey&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
28
9
|
headers:
|
29
10
|
User-Agent:
|
30
|
-
- Faraday v0.9.
|
11
|
+
- Faraday v0.9.0
|
31
12
|
Content-Type:
|
32
|
-
-
|
33
|
-
Content-Length:
|
34
|
-
- '2120'
|
13
|
+
- application/x-www-form-urlencoded
|
35
14
|
Accept-Encoding:
|
36
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
37
16
|
Accept:
|
@@ -46,42 +25,42 @@ http_interactions:
|
|
46
25
|
Cache-Control:
|
47
26
|
- max-age=315360000
|
48
27
|
Expires:
|
49
|
-
-
|
28
|
+
- Sun, 23 Feb 2025 16:46:34 GMT
|
50
29
|
P3p:
|
51
30
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
52
31
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
53
32
|
Servershortname:
|
54
|
-
-
|
33
|
+
- w8
|
55
34
|
X-Cnection:
|
56
35
|
- close
|
57
36
|
X-Edgeconnect-Midmile-Rtt:
|
58
37
|
- '15'
|
59
|
-
- '
|
38
|
+
- '3'
|
60
39
|
X-Edgeconnect-Origin-Mex-Latency:
|
61
|
-
- '
|
62
|
-
- '
|
40
|
+
- '1767'
|
41
|
+
- '536'
|
63
42
|
Content-Length:
|
64
43
|
- '83'
|
65
44
|
Content-Type:
|
66
45
|
- application/json
|
67
46
|
Date:
|
68
|
-
-
|
47
|
+
- Thu, 26 Feb 2015 16:46:35 GMT
|
69
48
|
Connection:
|
70
49
|
- keep-alive
|
71
50
|
body:
|
72
51
|
encoding: UTF-8
|
73
|
-
string:
|
52
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":{"SurveyID":"SV_8ufiL2GeL6gNpqt"}}'
|
74
53
|
http_version:
|
75
|
-
recorded_at:
|
54
|
+
recorded_at: Thu, 26 Feb 2015 16:46:40 GMT
|
76
55
|
- request:
|
77
56
|
method: post
|
78
57
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
79
58
|
body:
|
80
59
|
encoding: UTF-8
|
81
|
-
string: Format=JSON&Request=activateSurvey&SurveyID=
|
60
|
+
string: Format=JSON&Request=activateSurvey&SurveyID=SV_8ufiL2GeL6gNpqt&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
82
61
|
headers:
|
83
62
|
User-Agent:
|
84
|
-
- Faraday v0.9.
|
63
|
+
- Faraday v0.9.0
|
85
64
|
Content-Type:
|
86
65
|
- application/x-www-form-urlencoded
|
87
66
|
Accept-Encoding:
|
@@ -98,42 +77,42 @@ http_interactions:
|
|
98
77
|
Cache-Control:
|
99
78
|
- max-age=315360000
|
100
79
|
Expires:
|
101
|
-
-
|
80
|
+
- Sun, 23 Feb 2025 16:46:36 GMT
|
102
81
|
P3p:
|
103
82
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
104
83
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
105
84
|
Servershortname:
|
106
|
-
-
|
85
|
+
- w19
|
107
86
|
X-Cnection:
|
108
87
|
- close
|
109
88
|
X-Edgeconnect-Midmile-Rtt:
|
110
|
-
- '
|
111
|
-
- '
|
89
|
+
- '4'
|
90
|
+
- '7'
|
112
91
|
X-Edgeconnect-Origin-Mex-Latency:
|
113
|
-
- '
|
114
|
-
- '
|
92
|
+
- '505'
|
93
|
+
- '952'
|
115
94
|
Content-Length:
|
116
95
|
- '54'
|
117
96
|
Content-Type:
|
118
97
|
- application/json
|
119
98
|
Date:
|
120
|
-
-
|
99
|
+
- Thu, 26 Feb 2015 16:46:36 GMT
|
121
100
|
Connection:
|
122
101
|
- keep-alive
|
123
102
|
body:
|
124
103
|
encoding: UTF-8
|
125
|
-
string:
|
104
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":null}'
|
126
105
|
http_version:
|
127
|
-
recorded_at:
|
106
|
+
recorded_at: Thu, 26 Feb 2015 16:46:41 GMT
|
128
107
|
- request:
|
129
108
|
method: post
|
130
109
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
131
110
|
body:
|
132
111
|
encoding: UTF-8
|
133
|
-
string: Format=JSON&Request=deactivateSurvey&SurveyID=
|
112
|
+
string: Format=JSON&Request=deactivateSurvey&SurveyID=SV_8ufiL2GeL6gNpqt&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
134
113
|
headers:
|
135
114
|
User-Agent:
|
136
|
-
- Faraday v0.9.
|
115
|
+
- Faraday v0.9.0
|
137
116
|
Content-Type:
|
138
117
|
- application/x-www-form-urlencoded
|
139
118
|
Accept-Encoding:
|
@@ -150,42 +129,42 @@ http_interactions:
|
|
150
129
|
Cache-Control:
|
151
130
|
- max-age=315360000
|
152
131
|
Expires:
|
153
|
-
-
|
132
|
+
- Sun, 23 Feb 2025 16:46:37 GMT
|
154
133
|
P3p:
|
155
134
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
156
135
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
157
136
|
Servershortname:
|
158
|
-
-
|
137
|
+
- w625
|
159
138
|
X-Cnection:
|
160
139
|
- close
|
161
140
|
X-Edgeconnect-Midmile-Rtt:
|
162
141
|
- '10'
|
163
|
-
- '
|
142
|
+
- '4'
|
164
143
|
X-Edgeconnect-Origin-Mex-Latency:
|
165
|
-
- '
|
166
|
-
- '
|
144
|
+
- '432'
|
145
|
+
- '954'
|
167
146
|
Content-Length:
|
168
147
|
- '54'
|
169
148
|
Content-Type:
|
170
149
|
- application/json
|
171
150
|
Date:
|
172
|
-
-
|
151
|
+
- Thu, 26 Feb 2015 16:46:37 GMT
|
173
152
|
Connection:
|
174
153
|
- keep-alive
|
175
154
|
body:
|
176
155
|
encoding: UTF-8
|
177
|
-
string:
|
156
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":null}'
|
178
157
|
http_version:
|
179
|
-
recorded_at:
|
158
|
+
recorded_at: Thu, 26 Feb 2015 16:46:43 GMT
|
180
159
|
- request:
|
181
160
|
method: post
|
182
161
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
183
162
|
body:
|
184
163
|
encoding: UTF-8
|
185
|
-
string: Format=JSON&Request=deleteSurvey&SurveyID=
|
164
|
+
string: Format=JSON&Request=deleteSurvey&SurveyID=SV_8ufiL2GeL6gNpqt&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
186
165
|
headers:
|
187
166
|
User-Agent:
|
188
|
-
- Faraday v0.9.
|
167
|
+
- Faraday v0.9.0
|
189
168
|
Content-Type:
|
190
169
|
- application/x-www-form-urlencoded
|
191
170
|
Accept-Encoding:
|
@@ -202,31 +181,31 @@ http_interactions:
|
|
202
181
|
Cache-Control:
|
203
182
|
- max-age=315360000
|
204
183
|
Expires:
|
205
|
-
-
|
184
|
+
- Sun, 23 Feb 2025 16:46:38 GMT
|
206
185
|
P3p:
|
207
186
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
208
187
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
209
188
|
Servershortname:
|
210
|
-
-
|
189
|
+
- w295
|
211
190
|
X-Cnection:
|
212
191
|
- close
|
213
192
|
X-Edgeconnect-Midmile-Rtt:
|
214
|
-
- '
|
215
|
-
- '
|
193
|
+
- '18'
|
194
|
+
- '2'
|
216
195
|
X-Edgeconnect-Origin-Mex-Latency:
|
217
|
-
- '
|
218
|
-
- '
|
196
|
+
- '462'
|
197
|
+
- '890'
|
219
198
|
Content-Length:
|
220
199
|
- '54'
|
221
200
|
Content-Type:
|
222
201
|
- application/json
|
223
202
|
Date:
|
224
|
-
-
|
203
|
+
- Thu, 26 Feb 2015 16:46:38 GMT
|
225
204
|
Connection:
|
226
205
|
- keep-alive
|
227
206
|
body:
|
228
207
|
encoding: UTF-8
|
229
|
-
string:
|
208
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":null}'
|
230
209
|
http_version:
|
231
|
-
recorded_at:
|
232
|
-
recorded_with: VCR 2.9.
|
210
|
+
recorded_at: Thu, 26 Feb 2015 16:46:44 GMT
|
211
|
+
recorded_with: VCR 2.9.2
|
@@ -5,33 +5,12 @@ http_interactions:
|
|
5
5
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
9
|
-
survey\r\n-------------RubyMultipartPost\r\nContent-Disposition: form-data;
|
10
|
-
name=\"Data\"; filename=\"sample_survey.xml\"\r\nContent-Length: 1296\r\nContent-Type:
|
11
|
-
text/xml\r\nContent-Transfer-Encoding: binary\r\n\r\n<?xml version=\"1.0\"
|
12
|
-
encoding=\"UTF-8\"?>\n<SurveyDefinition><SurveyName>Sample survey</SurveyName><OwnerID><QUALTRICS_LIBRARY_ID></OwnerID><isActive>0</isActive><CreationDate>2015-02-05
|
13
|
-
13:57:01</CreationDate><LastModifiedDate>2015-02-05 13:57:41</LastModifiedDate><StartDate>0000-00-00
|
14
|
-
00:00:00</StartDate><ExpirationDate>0000-00-00 00:00:00</ExpirationDate><Languages><Language
|
15
|
-
Default=\"1\">EN</Language></Languages><Questions><Question QuestionID=\"QID1\"><Type>MC</Type><Selector>SAVR</Selector><SubSelector>TX</SubSelector><QuestionText><![CDATA[Only
|
16
|
-
one questions]]></QuestionText><QuestionDescription><![CDATA[Only one questions]]></QuestionDescription><ExportTag><![CDATA[Q1]]></ExportTag><Validation><ForceResponse>0</ForceResponse></Validation><Choices><Choice
|
17
|
-
ID=\"1\" Recode=\"1\"><Description><![CDATA[Not this]]></Description></Choice><Choice
|
18
|
-
ID=\"2\" Recode=\"2\"><Description><![CDATA[This is it]]></Description></Choice><Choice
|
19
|
-
ID=\"3\" Recode=\"3\"><Description><![CDATA[Cool answer]]></Description></Choice></Choices></Question></Questions><Blocks><Block
|
20
|
-
Description=\"Default Question Block\" ID=\"BL_bef14vSx8WZHkdn\"><BlockElements><Question
|
21
|
-
QuestionID=\"QID1\"/></BlockElements></Block></Blocks><SurveyFlow><Block FlowID=\"FL_2\"
|
22
|
-
ID=\"BL_bef14vSx8WZHkdn\"/></SurveyFlow><EmbeddedData/></SurveyDefinition>\n\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
23
|
-
form-data; name=\"User\"\r\n\r\n<QUALTRICS_USER>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
24
|
-
form-data; name=\"Token\"\r\n\r\n<QUALTRICS_TOKEN>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
25
|
-
form-data; name=\"Version\"\r\n\r\n2.3\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
26
|
-
form-data; name=\"Format\"\r\n\r\nJSON\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
27
|
-
form-data; name=\"Request\"\r\n\r\nimportSurvey\r\n-------------RubyMultipartPost--\r\n\r\n"
|
8
|
+
string: Data=%23%3CUploadIO%3A0x007f86ab1b2040%3E&Format=JSON&Name=Complex+survey&Request=importSurvey&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
28
9
|
headers:
|
29
10
|
User-Agent:
|
30
|
-
- Faraday v0.9.
|
11
|
+
- Faraday v0.9.0
|
31
12
|
Content-Type:
|
32
|
-
-
|
33
|
-
Content-Length:
|
34
|
-
- '2120'
|
13
|
+
- application/x-www-form-urlencoded
|
35
14
|
Accept-Encoding:
|
36
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
37
16
|
Accept:
|
@@ -46,42 +25,42 @@ http_interactions:
|
|
46
25
|
Cache-Control:
|
47
26
|
- max-age=315360000
|
48
27
|
Expires:
|
49
|
-
-
|
28
|
+
- Sun, 23 Feb 2025 16:46:25 GMT
|
50
29
|
P3p:
|
51
30
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
52
31
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
53
32
|
Servershortname:
|
54
|
-
-
|
33
|
+
- w18
|
55
34
|
X-Cnection:
|
56
35
|
- close
|
57
36
|
X-Edgeconnect-Midmile-Rtt:
|
58
|
-
- '
|
59
|
-
- '
|
37
|
+
- '13'
|
38
|
+
- '6'
|
60
39
|
X-Edgeconnect-Origin-Mex-Latency:
|
61
|
-
- '
|
62
|
-
- '
|
40
|
+
- '519'
|
41
|
+
- '931'
|
63
42
|
Content-Length:
|
64
43
|
- '83'
|
65
44
|
Content-Type:
|
66
45
|
- application/json
|
67
46
|
Date:
|
68
|
-
-
|
47
|
+
- Thu, 26 Feb 2015 16:46:26 GMT
|
69
48
|
Connection:
|
70
49
|
- keep-alive
|
71
50
|
body:
|
72
51
|
encoding: UTF-8
|
73
|
-
string:
|
52
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":{"SurveyID":"SV_dmXaQ9biu4hOtq5"}}'
|
74
53
|
http_version:
|
75
|
-
recorded_at:
|
54
|
+
recorded_at: Thu, 26 Feb 2015 16:46:31 GMT
|
76
55
|
- request:
|
77
56
|
method: post
|
78
57
|
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
79
58
|
body:
|
80
59
|
encoding: UTF-8
|
81
|
-
string: Format=JSON&Request=deleteSurvey&SurveyID=
|
60
|
+
string: Format=JSON&Request=deleteSurvey&SurveyID=SV_dmXaQ9biu4hOtq5&Token=<QUALTRICS_TOKEN>&User=brookesidedev%40brookeside.com&Version=2.3
|
82
61
|
headers:
|
83
62
|
User-Agent:
|
84
|
-
- Faraday v0.9.
|
63
|
+
- Faraday v0.9.0
|
85
64
|
Content-Type:
|
86
65
|
- application/x-www-form-urlencoded
|
87
66
|
Accept-Encoding:
|
@@ -98,31 +77,31 @@ http_interactions:
|
|
98
77
|
Cache-Control:
|
99
78
|
- max-age=315360000
|
100
79
|
Expires:
|
101
|
-
-
|
80
|
+
- Sun, 23 Feb 2025 16:46:26 GMT
|
102
81
|
P3p:
|
103
82
|
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
104
83
|
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
105
84
|
Servershortname:
|
106
|
-
-
|
85
|
+
- w634
|
107
86
|
X-Cnection:
|
108
87
|
- close
|
109
88
|
X-Edgeconnect-Midmile-Rtt:
|
110
89
|
- '11'
|
111
|
-
- '
|
90
|
+
- '3'
|
112
91
|
X-Edgeconnect-Origin-Mex-Latency:
|
113
|
-
- '
|
114
|
-
- '
|
92
|
+
- '533'
|
93
|
+
- '920'
|
115
94
|
Content-Length:
|
116
95
|
- '54'
|
117
96
|
Content-Type:
|
118
97
|
- application/json
|
119
98
|
Date:
|
120
|
-
-
|
99
|
+
- Thu, 26 Feb 2015 16:46:27 GMT
|
121
100
|
Connection:
|
122
101
|
- keep-alive
|
123
102
|
body:
|
124
103
|
encoding: UTF-8
|
125
|
-
string:
|
104
|
+
string: '{"Meta":{"Status":"Success","Debug":""},"Result":null}'
|
126
105
|
http_version:
|
127
|
-
recorded_at:
|
128
|
-
recorded_with: VCR 2.9.
|
106
|
+
recorded_at: Thu, 26 Feb 2015 16:46:32 GMT
|
107
|
+
recorded_with: VCR 2.9.2
|