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_Message/creating_to_qualtrics/persists_to_qualtrics.yml
ADDED
@@ -0,0 +1,56 @@
|
|
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=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
|
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:39 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
|
+
- '13'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '187'
|
41
|
+
- '623'
|
42
|
+
Content-Length:
|
43
|
+
- '174'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:39 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"LibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"MessageID\":\"MS_emqqdmupkWB3Zsh\",\"Description\":\"Newest
|
53
|
+
Message\",\"Category\":\"InviteEmails\"}}"
|
54
|
+
http_version:
|
55
|
+
recorded_at: Wed, 11 Feb 2015 19:15:42 GMT
|
56
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,56 @@
|
|
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=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
|
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:40 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
|
+
- '10'
|
38
|
+
- '11'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '195'
|
41
|
+
- '638'
|
42
|
+
Content-Length:
|
43
|
+
- '174'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:40 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"LibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"MessageID\":\"MS_bkmmwa4fG91hS8l\",\"Description\":\"Newest
|
53
|
+
Message\",\"Category\":\"InviteEmails\"}}"
|
54
|
+
http_version:
|
55
|
+
recorded_at: Wed, 11 Feb 2015 19:15:43 GMT
|
56
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,56 @@
|
|
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=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
|
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:40 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
|
+
- w2
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '11'
|
38
|
+
- '11'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '192'
|
41
|
+
- '645'
|
42
|
+
Content-Length:
|
43
|
+
- '174'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:41 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"LibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"MessageID\":\"MS_eJAv1vx27FcWZUN\",\"Description\":\"Newest
|
53
|
+
Message\",\"Category\":\"InviteEmails\"}}"
|
54
|
+
http_version:
|
55
|
+
recorded_at: Wed, 11 Feb 2015 19:15:44 GMT
|
56
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/Qualtrics_Message/retrieves_an_array_of_all_panels_in_a_library.yml
ADDED
@@ -0,0 +1,115 @@
|
|
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=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
|
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:37 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
|
+
- '11'
|
38
|
+
- '12'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '222'
|
41
|
+
- '691'
|
42
|
+
Content-Length:
|
43
|
+
- '174'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:38 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"LibraryID\":\"<QUALTRICS_LIBRARY_ID>\",\"MessageID\":\"MS_ahLPq9ejohv8IPH\",\"Description\":\"Newest
|
53
|
+
Message\",\"Category\":\"InviteEmails\"}}"
|
54
|
+
http_version:
|
55
|
+
recorded_at: Wed, 11 Feb 2015 19:15:41 GMT
|
56
|
+
- request:
|
57
|
+
method: get
|
58
|
+
uri: https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?Format=JSON&LibraryID=<QUALTRICS_LIBRARY_ID>&Request=getLibraryMessages&Token=<QUALTRICS_TOKEN>&User=<QUALTRICS_USER>&Version=2.3
|
59
|
+
body:
|
60
|
+
encoding: US-ASCII
|
61
|
+
string: ''
|
62
|
+
headers:
|
63
|
+
User-Agent:
|
64
|
+
- Faraday v0.9.1
|
65
|
+
Accept-Encoding:
|
66
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
67
|
+
Accept:
|
68
|
+
- "*/*"
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 200
|
72
|
+
message: OK
|
73
|
+
headers:
|
74
|
+
Server:
|
75
|
+
- Apache
|
76
|
+
Cache-Control:
|
77
|
+
- max-age=315360000
|
78
|
+
Expires:
|
79
|
+
- Sat, 08 Feb 2025 19:15:38 GMT
|
80
|
+
P3p:
|
81
|
+
- CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE", CP="CAO
|
82
|
+
DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
|
83
|
+
Servershortname:
|
84
|
+
- w18
|
85
|
+
X-Cnection:
|
86
|
+
- close
|
87
|
+
X-Edgeconnect-Midmile-Rtt:
|
88
|
+
- '17'
|
89
|
+
- '21'
|
90
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
91
|
+
- '297'
|
92
|
+
- '687'
|
93
|
+
Content-Length:
|
94
|
+
- '879'
|
95
|
+
Content-Type:
|
96
|
+
- application/json
|
97
|
+
Date:
|
98
|
+
- Wed, 11 Feb 2015 19:15:39 GMT
|
99
|
+
Connection:
|
100
|
+
- keep-alive
|
101
|
+
body:
|
102
|
+
encoding: UTF-8
|
103
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"INVITE\":{\"MS_3mbqIRZuGe2W5tr\":\"Brookeside
|
104
|
+
- Buyer Loyalty Survey\",\"MS_6DwbFPV7uHKNZ1r\":\"Brookeside - Buyer Loyalty
|
105
|
+
Survey (Dev)\",\"MS_426OEcVob0uEnXv\":\"Buyer Loyalty Survey\",\"MS_02EAmV1vUAviA97\":\"Buyer
|
106
|
+
Loyalty Survey (Dev)\",\"MS_4GdRugAQ8s2uOQR\":\"Newest Message\",\"MS_4Sktf6RBi4TJtGt\":\"Newest
|
107
|
+
Message\",\"MS_ahLPq9ejohv8IPH\":\"Newest Message\",\"MS_bK4jk5GXecX8ZCJ\":\"Newest
|
108
|
+
Message\",\"MS_bg4U8THeqEfunGZ\":\"Newest Message\",\"MS_brUqqOjvpnGPUep\":\"Newest
|
109
|
+
Message\",\"MS_7P6F548SIAIpoKF\":\"Seller Loyalty Survey\",\"MS_b416LnXLoGrZWhD\":\"Seller
|
110
|
+
Loyalty Survey (Dev)\"},\"REMINDER\":{\"MS_agwmdoYmxKUxFat\":\"Buyer Reminder\"},\"THANKYOU\":{\"MS_3kPVyu0hVIya38V\":\"Brookeside
|
111
|
+
Thank You\",\"MS_9p2qtcB8q4e26SF\":\"SalesEquity.com Thank You\",\"MS_0fiOydxs5Tvxgvb\":\"SalesEquity.com
|
112
|
+
Thank You (Dev)\"},\"ENDOFSURVEY\":[],\"INACTIVESURVEY\":[],\"GENERAL\":[],\"LOOKANDFEEL\":[]}}"
|
113
|
+
http_version:
|
114
|
+
recorded_at: Wed, 11 Feb 2015 19:15:41 GMT
|
115
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/Qualtrics_Panel/creating_to_qualtrics/persists_to_qualtrics.yml
ADDED
@@ -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:46 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
|
+
- w17
|
34
|
+
X-Cnection:
|
35
|
+
- close
|
36
|
+
X-Edgeconnect-Midmile-Rtt:
|
37
|
+
- '10'
|
38
|
+
- '14'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '288'
|
41
|
+
- '681'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:46 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_2s1EFHrIVDgaDQ1\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:15:49 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_2s1EFHrIVDgaDQ1&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:15:47 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
|
+
- w19
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '15'
|
90
|
+
- '9'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '242'
|
93
|
+
- '635'
|
94
|
+
Content-Length:
|
95
|
+
- '66'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:15:47 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:15:50 GMT
|
107
|
+
recorded_with: VCR 2.9.3
|
@@ -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:47 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
|
+
- '10'
|
38
|
+
- '15'
|
39
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
40
|
+
- '321'
|
41
|
+
- '719'
|
42
|
+
Content-Length:
|
43
|
+
- '82'
|
44
|
+
Content-Type:
|
45
|
+
- application/json
|
46
|
+
Date:
|
47
|
+
- Wed, 11 Feb 2015 19:15:48 GMT
|
48
|
+
Connection:
|
49
|
+
- keep-alive
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: "{\"Meta\":{\"Status\":\"Success\",\"Debug\":\"\"},\"Result\":{\"PanelID\":\"ML_eKwjJ6mXDabDjHn\"}}"
|
53
|
+
http_version:
|
54
|
+
recorded_at: Wed, 11 Feb 2015 19:15:51 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_eKwjJ6mXDabDjHn&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:15:48 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
|
+
- w631
|
86
|
+
X-Cnection:
|
87
|
+
- close
|
88
|
+
X-Edgeconnect-Midmile-Rtt:
|
89
|
+
- '17'
|
90
|
+
- '9'
|
91
|
+
X-Edgeconnect-Origin-Mex-Latency:
|
92
|
+
- '273'
|
93
|
+
- '736'
|
94
|
+
Content-Length:
|
95
|
+
- '66'
|
96
|
+
Content-Type:
|
97
|
+
- application/json
|
98
|
+
Date:
|
99
|
+
- Wed, 11 Feb 2015 19:15:49 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:15:52 GMT
|
107
|
+
recorded_with: VCR 2.9.3
|