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,72 @@
|
|
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: "-------------RubyMultipartPost\r\nContent-Disposition: form-data; name=\"FirstName\"\r\n\r\n1\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
9
|
+
form-data; name=\"LastName\"\r\n\r\n2\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
10
|
+
form-data; name=\"Email\"\r\n\r\n3\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
11
|
+
form-data; name=\"\"\r\n\r\n5\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
12
|
+
form-data; name=\"Unsubscribed\"\r\n\r\n6\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
13
|
+
form-data; name=\"Language\"\r\n\r\n7\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
14
|
+
form-data; name=\"LibraryID\"\r\n\r\n<QUALTRICS_LIBRARY_ID>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
15
|
+
form-data; name=\"ColumnHeaders\"\r\n\r\n1\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
16
|
+
form-data; name=\"Data\"; filename=\"panel_import20150211-79303-ln7n33\"\r\nContent-Length:
|
17
|
+
150\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n\"first_name\",\"last_name\",\"email\",\"embedded_data\",\"external_data\",\"unsubscribed\",\"language\"\n\"First
|
18
|
+
name\",\"Last name\",\"example@example.com\",\"\",\"\",\"\",\"\"\n\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
19
|
+
form-data; name=\"User\"\r\n\r\n<QUALTRICS_USER>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
20
|
+
form-data; name=\"Token\"\r\n\r\n<QUALTRICS_TOKEN>\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
21
|
+
form-data; name=\"Version\"\r\n\r\n2.3\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
22
|
+
form-data; name=\"Format\"\r\n\r\nJSON\r\n-------------RubyMultipartPost\r\nContent-Disposition:
|
23
|
+
form-data; name=\"Request\"\r\n\r\nimportPanel\r\n-------------RubyMultipartPost--\r\n\r\n"
|
24
|
+
headers:
|
25
|
+
User-Agent:
|
26
|
+
- Faraday v0.9.1
|
27
|
+
Content-Type:
|
28
|
+
- multipart/form-data; boundary=-----------RubyMultipartPost
|
29
|
+
Content-Length:
|
30
|
+
- '1598'
|
31
|
+
Accept-Encoding:
|
32
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
33
|
+
Accept:
|
34
|
+
- "*/*"
|
35
|
+
response:
|
36
|
+
status:
|
37
|
+
code: 200
|
38
|
+
message: OK
|
39
|
+
headers:
|
40
|
+
Server:
|
41
|
+
- Apache
|
42
|
+
Cache-Control:
|
43
|
+
- max-age=315360000
|
44
|
+
Expires:
|
45
|
+
- Sat, 08 Feb 2025 19:15:41 GMT
|
46
|
+
P3p:
|
47
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
48
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
49
|
+
Servershortname:
|
50
|
+
- w18
|
51
|
+
X-Cnection:
|
52
|
+
- close
|
53
|
+
X-Edgeconnect-Midmile-Rtt:
|
54
|
+
- '10'
|
55
|
+
- '18'
|
56
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
57
|
+
- '213'
|
58
|
+
- '612'
|
59
|
+
Content-Length:
|
60
|
+
- '125'
|
61
|
+
Content-Type:
|
62
|
+
- application/json
|
63
|
+
Date:
|
64
|
+
- Wed, 11 Feb 2015 19:15:41 GMT
|
65
|
+
Connection:
|
66
|
+
- keep-alive
|
67
|
+
body:
|
68
|
+
encoding: UTF-8
|
69
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_3rSwyKyzkDVjdTD\",\"Count\":0,\"IgnoredCount\":0,\"Recipients\":[]}}"
|
70
|
+
http_version:
|
71
|
+
recorded_at: Wed, 11 Feb 2015 19:15:44 GMT
|
72
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/Qualtrics_Recipient/creating_to_qualtrics/persists_to_qualtrics.yml
ADDED
@@ -0,0 +1,159 @@
|
|
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:51 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
|
+
- w423
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '11'
|
38
|
+
- '17'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '198'
|
41
|
+
- '601'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:51 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_8IaoSELf2cqz1pH\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:15:54 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_8IaoSELf2cqz1pH&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:52 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
|
+
- '11'
|
90
|
+
- '16'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '200'
|
93
|
+
- '621'
|
94
|
+
Content-Length:
|
95
|
+
- '88'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:15:52 GMT
|
100
|
+
Connection:
|
101
|
+
- keep-alive
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"RecipientID\":\"MLRP_eqEvSj81AenD11b\"}}"
|
105
|
+
http_version:
|
106
|
+
recorded_at: Wed, 11 Feb 2015 19:15:55 GMT
|
107
|
+
- request:
|
108
|
+
method: post
|
109
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
110
|
+
body:
|
111
|
+
encoding: UTF-8
|
112
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_8IaoSELf2cqz1pH&Request=deletePanel&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:53 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
|
+
- '10'
|
142
|
+
- '22'
|
143
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
144
|
+
- '1089'
|
145
|
+
- '432'
|
146
|
+
Content-Length:
|
147
|
+
- '66'
|
148
|
+
Content-Type:
|
149
|
+
- application/json
|
150
|
+
Date:
|
151
|
+
- Wed, 11 Feb 2015 19:15:53 GMT
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
154
|
+
body:
|
155
|
+
encoding: UTF-8
|
156
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true}}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Wed, 11 Feb 2015 19:15:56 GMT
|
159
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,159 @@
|
|
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:54 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
|
+
- w18
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '11'
|
38
|
+
- '20'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '300'
|
41
|
+
- '772'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:54 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_e9RJHg05lZnR6Ch\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:15:57 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_e9RJHg05lZnR6Ch&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:55 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
|
+
- w625
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '10'
|
90
|
+
- '11'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '234'
|
93
|
+
- '726'
|
94
|
+
Content-Length:
|
95
|
+
- '88'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:15:55 GMT
|
100
|
+
Connection:
|
101
|
+
- keep-alive
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"RecipientID\":\"MLRP_cSm4Wb1QYw4inGd\"}}"
|
105
|
+
http_version:
|
106
|
+
recorded_at: Wed, 11 Feb 2015 19:15:58 GMT
|
107
|
+
- request:
|
108
|
+
method: post
|
109
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
110
|
+
body:
|
111
|
+
encoding: UTF-8
|
112
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_e9RJHg05lZnR6Ch&Request=deletePanel&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:55 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
|
+
- w163
|
138
|
+
X-Cnection:
|
139
|
+
- close
|
140
|
+
X-Edgeconnect-Midmile-Rtt:
|
141
|
+
- '13'
|
142
|
+
- '16'
|
143
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
144
|
+
- '334'
|
145
|
+
- '840'
|
146
|
+
Content-Length:
|
147
|
+
- '66'
|
148
|
+
Content-Type:
|
149
|
+
- application/json
|
150
|
+
Date:
|
151
|
+
- Wed, 11 Feb 2015 19:15:56 GMT
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
154
|
+
body:
|
155
|
+
encoding: UTF-8
|
156
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true}}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Wed, 11 Feb 2015 19:15:59 GMT
|
159
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,159 @@
|
|
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:56 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
|
+
- '10'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '217'
|
41
|
+
- '654'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:57 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_1N8jtBP2puqPfiB\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:16:00 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_1N8jtBP2puqPfiB&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:57 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
|
+
- w8
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '12'
|
90
|
+
- '18'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '261'
|
93
|
+
- '755'
|
94
|
+
Content-Length:
|
95
|
+
- '88'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:15:58 GMT
|
100
|
+
Connection:
|
101
|
+
- keep-alive
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"RecipientID\":\"MLRP_d5wuAUNqTYgGd8N\"}}"
|
105
|
+
http_version:
|
106
|
+
recorded_at: Wed, 11 Feb 2015 19:16:00 GMT
|
107
|
+
- request:
|
108
|
+
method: post
|
109
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php
|
110
|
+
body:
|
111
|
+
encoding: UTF-8
|
112
|
+
string: Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&PanelID=ML_1N8jtBP2puqPfiB&Request=deletePanel&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:58 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
|
+
- w189
|
138
|
+
X-Cnection:
|
139
|
+
- close
|
140
|
+
X-Edgeconnect-Midmile-Rtt:
|
141
|
+
- '12'
|
142
|
+
- '16'
|
143
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
144
|
+
- '249'
|
145
|
+
- '668'
|
146
|
+
Content-Length:
|
147
|
+
- '66'
|
148
|
+
Content-Type:
|
149
|
+
- application/json
|
150
|
+
Date:
|
151
|
+
- Wed, 11 Feb 2015 19:15:58 GMT
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
154
|
+
body:
|
155
|
+
encoding: UTF-8
|
156
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"Success\":true}}"
|
157
|
+
http_version:
|
158
|
+
recorded_at: Wed, 11 Feb 2015 19:16:01 GMT
|
159
|
+
recorded_with: VCR 2.9.3
|