workarea-listrak 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.eslintrc.json +36 -0
- data/.esvmrc +5 -0
- data/.gitignore +32 -0
- data/CHANGELOG.md +322 -0
- data/Gemfile +14 -0
- data/README.md +130 -0
- data/Rakefile +53 -0
- data/app/assets/javascripts/workarea/admin/modules/listrak/list_events_select.js +83 -0
- data/app/assets/javascripts/workarea/storefront/listrak/adapters/listrak_adapter.js +110 -0
- data/app/assets/javascripts/workarea/storefront/listrak/listrak_config.js.erb +13 -0
- data/app/assets/javascripts/workarea/storefront/listrak/modules/listrak.js +64 -0
- data/app/controllers/workarea/admin/listrak/configurations_controller.rb +30 -0
- data/app/controllers/workarea/admin/listrak/events_controller.rb +17 -0
- data/app/helpers/workarea/listrak/analytics/helper.rb +44 -0
- data/app/models/workarea/listrak/configuration.rb +19 -0
- data/app/queries/workarea/categorization.decorator +7 -0
- data/app/services/workarea/listrak/data_api/customers.rb +26 -0
- data/app/services/workarea/listrak/data_api/orders.rb +26 -0
- data/app/services/workarea/listrak/data_api/products.rb +26 -0
- data/app/services/workarea/listrak/data_api.rb +63 -0
- data/app/services/workarea/listrak/email_api/contacts.rb +73 -0
- data/app/services/workarea/listrak/email_api/events.rb +44 -0
- data/app/services/workarea/listrak/email_api/lists.rb +21 -0
- data/app/services/workarea/listrak/email_api/messages.rb +50 -0
- data/app/services/workarea/listrak/email_api/transactional_messages.rb +32 -0
- data/app/services/workarea/listrak/email_api.rb +71 -0
- data/app/services/workarea/listrak/models/address.rb +83 -0
- data/app/services/workarea/listrak/models/contact.rb +67 -0
- data/app/services/workarea/listrak/models/contact_form.rb +24 -0
- data/app/services/workarea/listrak/models/customer_form.rb +209 -0
- data/app/services/workarea/listrak/models/event.rb +45 -0
- data/app/services/workarea/listrak/models/event_form.rb +25 -0
- data/app/services/workarea/listrak/models/list.rb +204 -0
- data/app/services/workarea/listrak/models/message_form.rb +147 -0
- data/app/services/workarea/listrak/models/order_form.rb +352 -0
- data/app/services/workarea/listrak/models/order_item.rb +197 -0
- data/app/services/workarea/listrak/models/product_form.rb +369 -0
- data/app/services/workarea/listrak/models/transactional_message_form.rb +21 -0
- data/app/services/workarea/listrak/oauth.rb +45 -0
- data/app/services/workarea/listrak/transactional_message.rb +83 -0
- data/app/view_models/workarea/admin/listrak_configuration_view_model.rb +17 -0
- data/app/views/workarea/admin/listrak/configurations/edit.html.haml +28 -0
- data/app/views/workarea/admin/listrak/events/index.json.jbuilder +4 -0
- data/app/views/workarea/admin/shared/_listrak_configuration_link.html.haml +1 -0
- data/app/views/workarea/storefront/checkouts/_listrak.html.haml +2 -0
- data/app/workers/workarea/listrak/customer_exporter.rb +22 -0
- data/app/workers/workarea/listrak/order_exporter.rb +22 -0
- data/app/workers/workarea/listrak/product_exporter.rb +50 -0
- data/app/workers/workarea/listrak/subscribe_email_signup.rb +34 -0
- data/app/workers/workarea/listrak/unsubscribe_email_signup.rb +27 -0
- data/bin/rails +18 -0
- data/bin/rake +16 -0
- data/bin/rspec +16 -0
- data/bin/rubocop +16 -0
- data/config/initializers/append_points.rb +28 -0
- data/config/initializers/configuration.rb +8 -0
- data/config/locales/en.yml +17 -0
- data/config/routes.rb +10 -0
- data/docs/Listrak Technical Integration Guide.docx +0 -0
- data/lib/generators/workarea/listrak/message/USAGE +9 -0
- data/lib/generators/workarea/listrak/message/message_generator.rb +15 -0
- data/lib/generators/workarea/listrak/message/templates/message.rb.erb +24 -0
- data/lib/workarea/listrak/analytics.rb +17 -0
- data/lib/workarea/listrak/bogus_data_api/customers.rb +9 -0
- data/lib/workarea/listrak/bogus_data_api/orders.rb +9 -0
- data/lib/workarea/listrak/bogus_data_api/products.rb +9 -0
- data/lib/workarea/listrak/bogus_data_api/proxy_client.rb +29 -0
- data/lib/workarea/listrak/bogus_data_api.rb +46 -0
- data/lib/workarea/listrak/bogus_email_api/contacts.rb +8 -0
- data/lib/workarea/listrak/bogus_email_api/events.rb +23 -0
- data/lib/workarea/listrak/bogus_email_api/lists.rb +63 -0
- data/lib/workarea/listrak/bogus_email_api/proxy_client.rb +29 -0
- data/lib/workarea/listrak/bogus_email_api/transactional_messages.rb +9 -0
- data/lib/workarea/listrak/bogus_email_api.rb +51 -0
- data/lib/workarea/listrak/engine.rb +12 -0
- data/lib/workarea/listrak/error.rb +39 -0
- data/lib/workarea/listrak/version.rb +5 -0
- data/lib/workarea/listrak.rb +57 -0
- data/readme/listrak-admin.png +0 -0
- data/script/admin_ci +9 -0
- data/script/ci +11 -0
- data/script/core_ci +9 -0
- data/script/plugins_ci +9 -0
- data/script/storefront_ci +9 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config/application.rb +18 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +38 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/factories/workarea/factories/listrak.rb +15 -0
- data/test/helpers/workarea/listrak/analytics/helper_test.rb +38 -0
- data/test/integration/workarea/admin/listrak/configuration_integration_test.rb +26 -0
- data/test/integration/workarea/admin/listrak/events_integration_test.rb +21 -0
- data/test/lib/generators/workarea/listrak/message_generator_test.rb +26 -0
- data/test/queries/workarea/categorization_test.decorator +15 -0
- data/test/services/workarea/listrak/data_api/customers_test.rb +35 -0
- data/test/services/workarea/listrak/data_api/orders_test.rb +24 -0
- data/test/services/workarea/listrak/data_api/products_test.rb +27 -0
- data/test/services/workarea/listrak/email_api/contacts_test.rb +55 -0
- data/test/services/workarea/listrak/email_api/events_test.rb +51 -0
- data/test/services/workarea/listrak/email_api/lists_test.rb +45 -0
- data/test/services/workarea/listrak/email_api/messages_test.rb +28 -0
- data/test/services/workarea/listrak/email_api/transactional_messages_test.rb +50 -0
- data/test/services/workarea/listrak/oauth_test.rb +27 -0
- data/test/services/workarea/listrak/transactional_message_test.rb +48 -0
- data/test/support/workarea/listrak/test_order_confirmation_email.rb +116 -0
- data/test/support/workarea/listrak/vcr_config.rb +31 -0
- data/test/system/workarea/listrak_system_test.rb +75 -0
- data/test/test_helper.rb +16 -0
- data/test/vcr_cassettes/listrak/data_api/customers_import-successful.yml +88 -0
- data/test/vcr_cassettes/listrak/data_api/orders_import-successful.yml +90 -0
- data/test/vcr_cassettes/listrak/data_api/products_import-successful.yml +88 -0
- data/test/vcr_cassettes/listrak/email_api/contacts_get-successful.yml +87 -0
- data/test/vcr_cassettes/listrak/email_api/contacts_upsert-already_unsubscribed.yml +90 -0
- data/test/vcr_cassettes/listrak/email_api/contacts_upsert-successful.yml +87 -0
- data/test/vcr_cassettes/listrak/email_api/events_create-invalid_parameter.yml +90 -0
- data/test/vcr_cassettes/listrak/email_api/events_create-successful.yml +87 -0
- data/test/vcr_cassettes/listrak/email_api/events_get-successful.yml +88 -0
- data/test/vcr_cassettes/listrak/email_api/lists_all-successful.yml +88 -0
- data/test/vcr_cassettes/listrak/email_api/messages_create-successful.yml +88 -0
- data/test/vcr_cassettes/listrak/email_api/transactional_messages_create-successful.yml +89 -0
- data/test/vcr_cassettes/listrak/oauth-successful.yml +44 -0
- data/test/vcr_cassettes/listrak/oauth-unsuccessful.yml +46 -0
- data/test/vcr_cassettes/listrak/system_tests/footer_email_signup-successful.yml +171 -0
- data/test/vcr_cassettes/listrak/system_tests/footer_email_signup_overrides_unsubscribe.yml +255 -0
- data/test/vcr_cassettes/listrak/system_tests/unsubscribing.yml +593 -0
- data/test/workers/workarea/listrak/order_exporter_test.rb +31 -0
- data/test/workers/workarea/listrak/product_exporter_test.rb +62 -0
- data/workarea-listrak.gemspec +16 -0
- metadata +223 -0
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://auth.listrak.com/OAuth2/Token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=client_credentials&client_id=a&client_secret=b
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- application/x-www-form-urlencoded
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json;charset=UTF-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/8.5
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Fri, 11 Jan 2019 15:33:27 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '486'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"access_token":"gHr2c2Yo_volAhds8rn7B7sxWnoLfg2C5Re8g2n-l4HnD2ro9xcvxlTr5ILYPLBTT-a6SB0dv-ueKUBFWZPJQnVgajaxk76RPa8O_ILnW-dORU6WDAbDVDfUMzROl-Jd30qeR0YjnvSkvAEIHQcZL9BUWPllZz1XuCs7pAD7HBp9Tf8YGCec30tJuDZ6MsFnpEIVmfp3ng4JL9WuGnJ6TZOaB_JdBLeB-nNw4Gxwwik92qYQTmKb43a3BCWAWaFHIVB0KEv5e0xPos4VawgcOfqSnbLwNpeOWOgVhoBJHodQ0eDxItA0YB0oN8MKCLbVm2qEp3OBvG_iBJRmKhflnvnlaJtxQBvRTLdZCHcPwqF4rmyayEPQoDKxQbvIu01atIxDK1501-xQ3Mc8vYL0Y4gW5osFWxwU2wJvvaqKBEY","token_type":"bearer","expires_in":3599}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Fri, 11 Jan 2019 15:33:28 GMT
|
44
|
+
- request:
|
45
|
+
method: post
|
46
|
+
uri: https://api.listrak.com/data/v1/Product
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '[{"inStock":true,"isPurchasable":true,"isViewable":true,"linkUrl":"http://www.example.com/products/test-product","masterSku":"4C432DBA9B","onSale":false,"price":5.0,"qoh":5,"salePrice":0.0,"sku":"SKU","title":"Test
|
50
|
+
Product"}]'
|
51
|
+
headers:
|
52
|
+
Accept-Encoding:
|
53
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
54
|
+
Accept:
|
55
|
+
- application/json
|
56
|
+
User-Agent:
|
57
|
+
- Ruby
|
58
|
+
Authorization:
|
59
|
+
- Bearer gHr2c2Yo_volAhds8rn7B7sxWnoLfg2C5Re8g2n-l4HnD2ro9xcvxlTr5ILYPLBTT-a6SB0dv-ueKUBFWZPJQnVgajaxk76RPa8O_ILnW-dORU6WDAbDVDfUMzROl-Jd30qeR0YjnvSkvAEIHQcZL9BUWPllZz1XuCs7pAD7HBp9Tf8YGCec30tJuDZ6MsFnpEIVmfp3ng4JL9WuGnJ6TZOaB_JdBLeB-nNw4Gxwwik92qYQTmKb43a3BCWAWaFHIVB0KEv5e0xPos4VawgcOfqSnbLwNpeOWOgVhoBJHodQ0eDxItA0YB0oN8MKCLbVm2qEp3OBvG_iBJRmKhflnvnlaJtxQBvRTLdZCHcPwqF4rmyayEPQoDKxQbvIu01atIxDK1501-xQ3Mc8vYL0Y4gW5osFWxwU2wJvvaqKBEY
|
60
|
+
Content-Type:
|
61
|
+
- application/json
|
62
|
+
response:
|
63
|
+
status:
|
64
|
+
code: 201
|
65
|
+
message: Created
|
66
|
+
headers:
|
67
|
+
Cache-Control:
|
68
|
+
- no-cache
|
69
|
+
Pragma:
|
70
|
+
- no-cache
|
71
|
+
Content-Length:
|
72
|
+
- '32'
|
73
|
+
Content-Type:
|
74
|
+
- application/json; charset=utf-8
|
75
|
+
Expires:
|
76
|
+
- "-1"
|
77
|
+
Server:
|
78
|
+
- Microsoft-IIS/8.5
|
79
|
+
X-Powered-By:
|
80
|
+
- ASP.NET
|
81
|
+
Date:
|
82
|
+
- Fri, 11 Jan 2019 15:33:27 GMT
|
83
|
+
body:
|
84
|
+
encoding: UTF-8
|
85
|
+
string: '{"status":201,"resourceId":null}'
|
86
|
+
http_version:
|
87
|
+
recorded_at: Fri, 11 Jan 2019 15:33:28 GMT
|
88
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,87 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://auth.listrak.com/OAuth2/Token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=client_credentials&client_id=doyfni0aw64ogd84ld6t&client_secret=LxdEE4Gu4aSJv5tS9osd8WudjGbJ%2BEIPYvZBS7bc5JU
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- application/x-www-form-urlencoded
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json;charset=UTF-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/8.5
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Mon, 17 Dec 2018 20:10:35 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '486'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"access_token":"UTKwRPAmVFLvmDQOhVKVEm1mCoC3D1NYg7Xy7LatAP_bh30dNtqFmkBW2WugNEjZSf2PYoCnH-vMZnLGclrCQ_qUk1Qs7Dxc-59QcWP_1udy_BHAFAvfsZuRGqw7ys7b85Xi-DPzgRNeRAggWddrTY8XpVjraeqc-lCUz3mLJ_hZDrIIRdfBNa1KH4I2yHT1ajICqvY_YgoY6sr7dPDxkMsrYFdQTxnXexmO5_Cp3txccCTK8ksT1DqZnE-y8cMjGy9S7Db5i_VProLEyRuAQ31lOV9ELwoDgaWVqdzQUlktPZLBxhUGcftmhiZIcxTYnbtg8WqCYNy44FL_DMcGoTgHcgcPETMG-B5S8bF85oWCiXKzu0Ps7AQF05d37ReLwIebJeVUEA1o_XtV41h7-41IiQy4MCkmf9YLkAu16ZI","token_type":"bearer","expires_in":3599}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Mon, 17 Dec 2018 20:10:35 GMT
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: https://api.listrak.com/email/v1/List/349984/Contact/customer@workarea.com
|
47
|
+
body:
|
48
|
+
encoding: US-ASCII
|
49
|
+
string: ''
|
50
|
+
headers:
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- application/json
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
Authorization:
|
58
|
+
- Bearer UTKwRPAmVFLvmDQOhVKVEm1mCoC3D1NYg7Xy7LatAP_bh30dNtqFmkBW2WugNEjZSf2PYoCnH-vMZnLGclrCQ_qUk1Qs7Dxc-59QcWP_1udy_BHAFAvfsZuRGqw7ys7b85Xi-DPzgRNeRAggWddrTY8XpVjraeqc-lCUz3mLJ_hZDrIIRdfBNa1KH4I2yHT1ajICqvY_YgoY6sr7dPDxkMsrYFdQTxnXexmO5_Cp3txccCTK8ksT1DqZnE-y8cMjGy9S7Db5i_VProLEyRuAQ31lOV9ELwoDgaWVqdzQUlktPZLBxhUGcftmhiZIcxTYnbtg8WqCYNy44FL_DMcGoTgHcgcPETMG-B5S8bF85oWCiXKzu0Ps7AQF05d37ReLwIebJeVUEA1o_XtV41h7-41IiQy4MCkmf9YLkAu16ZI
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: OK
|
65
|
+
headers:
|
66
|
+
Cache-Control:
|
67
|
+
- no-cache
|
68
|
+
Pragma:
|
69
|
+
- no-cache
|
70
|
+
Content-Length:
|
71
|
+
- '303'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=utf-8
|
74
|
+
Expires:
|
75
|
+
- "-1"
|
76
|
+
Server:
|
77
|
+
- Microsoft-IIS/8.5
|
78
|
+
X-Powered-By:
|
79
|
+
- ASP.NET
|
80
|
+
Date:
|
81
|
+
- Mon, 17 Dec 2018 20:10:35 GMT
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '{"status":200,"data":{"emailAddress":"customer@workarea.com","emailKey":"E423056525030584442F94FD29","subscriptionState":"Unsubscribed","subscribeDate":"2018-12-14T14:31:55","subscribeMethod":null,"unsubscribeDate":"2018-12-15T13:15:01","unsubscribeMethod":"Administrator","segmentationFieldValues":[]}}'
|
85
|
+
http_version:
|
86
|
+
recorded_at: Mon, 17 Dec 2018 20:10:36 GMT
|
87
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://auth.listrak.com/OAuth2/Token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=client_credentials&client_id=doyfni0aw64ogd84ld6t&client_secret=LxdEE4Gu4aSJv5tS9osd8WudjGbJ%2BEIPYvZBS7bc5JU
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- application/x-www-form-urlencoded
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json;charset=UTF-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/8.5
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Wed, 19 Dec 2018 17:52:31 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '486'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"access_token":"59adJAyrOd7wOO7YZAZd5YTiMC7iptGHpS2v9luzCwBCQ7Csm2gLzqzMfN4FlRwDG7oXDFUVmHh9JXLKffm2A42SRJgM3rCCOktdNfEIpQLhB_a1J-aoD4q2j14asM1J6N0829_9jWWY1dbwjeZJqx4DlqxpqE7PCAc8Da-hVXaVAVip5wbKxQ63qdTXLGWpTPmeoxYG9SrA7HJXu3JxF25mlPA9jvT52kuQ_znJb_QTyqfnPUYXEsn93efM6ZPyPHk_wboKqAapICQam-GMRnFMiYMVy0qir9c29CcG9rcLmFNz3u-dWTSALc1asKi6MGFBVk-KGe4sDy6BGNWyLvOik_3e9K_Kd5eqvy1IdQSzML4F2140iwb7M87HaBVaIXQ_gWwTF9xy355aiPAlWgU3f4ma2KUeVgkL4OXEbm0","token_type":"bearer","expires_in":3599}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 19 Dec 2018 17:52:32 GMT
|
44
|
+
- request:
|
45
|
+
method: post
|
46
|
+
uri: https://api.listrak.com/email/v1/List/349984/Contact
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"emailAddress":"customer@workarea.com","subscriptionState":"Subscribed","segmentationFieldValues":null}'
|
50
|
+
headers:
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- application/json
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
Authorization:
|
58
|
+
- Bearer 59adJAyrOd7wOO7YZAZd5YTiMC7iptGHpS2v9luzCwBCQ7Csm2gLzqzMfN4FlRwDG7oXDFUVmHh9JXLKffm2A42SRJgM3rCCOktdNfEIpQLhB_a1J-aoD4q2j14asM1J6N0829_9jWWY1dbwjeZJqx4DlqxpqE7PCAc8Da-hVXaVAVip5wbKxQ63qdTXLGWpTPmeoxYG9SrA7HJXu3JxF25mlPA9jvT52kuQ_znJb_QTyqfnPUYXEsn93efM6ZPyPHk_wboKqAapICQam-GMRnFMiYMVy0qir9c29CcG9rcLmFNz3u-dWTSALc1asKi6MGFBVk-KGe4sDy6BGNWyLvOik_3e9K_Kd5eqvy1IdQSzML4F2140iwb7M87HaBVaIXQ_gWwTF9xy355aiPAlWgU3f4ma2KUeVgkL4OXEbm0
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 400
|
64
|
+
message: Bad Request
|
65
|
+
headers:
|
66
|
+
Server:
|
67
|
+
- Microsoft-IIS/8.5
|
68
|
+
Cache-Control:
|
69
|
+
- no-cache
|
70
|
+
Content-Type:
|
71
|
+
- application/json; charset=utf-8
|
72
|
+
Date:
|
73
|
+
- Wed, 19 Dec 2018 17:52:31 GMT
|
74
|
+
Expires:
|
75
|
+
- "-1"
|
76
|
+
Pragma:
|
77
|
+
- no-cache
|
78
|
+
Connection:
|
79
|
+
- close
|
80
|
+
X-Powered-By:
|
81
|
+
- ASP.NET
|
82
|
+
Content-Length:
|
83
|
+
- '131'
|
84
|
+
body:
|
85
|
+
encoding: UTF-8
|
86
|
+
string: '{"status":400,"error":"ERROR_UNSUBSCRIBED_EMAIL_ADDRESS","message":"The
|
87
|
+
emailAddress has already been unsubscribed from the list."}'
|
88
|
+
http_version:
|
89
|
+
recorded_at: Wed, 19 Dec 2018 17:52:32 GMT
|
90
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,87 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://auth.listrak.com/OAuth2/Token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=client_credentials&client_id=doyfni0aw64ogd84ld6t&client_secret=LxdEE4Gu4aSJv5tS9osd8WudjGbJ%2BEIPYvZBS7bc5JU
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- application/x-www-form-urlencoded
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json;charset=UTF-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/8.5
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Wed, 19 Dec 2018 19:12:59 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '486'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"access_token":"vUGMJ5TjrO1zrapsAnrCgUl_ZAIEdQOpCSXxndQQlf6Wr7vj1SPZRDEae4TVSV96uS9I7rL7RzCboE2KeWUhpKmMa08mxEdozJzC1sjA-bQRSctiTdrreTb17qkuTrCz3jyqMe596bHe07xS3gY9vCSkD7sUfP2apYX_qv3qrBf7egCeImIwWjpOLIneqd30bl5NaLV6_0cG5itPKoQjBLOS0A5mPSC2RLaOIx3huZfayl-aVvVt45zOtQg7YdaOAxiye7i4zzzAIZ1dYeX99u2e9DFlZ9jQPvSa855V1ReOguOOGXMk5pIXxw3zblsKI0-pT7SldS04uUChyDegH7_YfGvrEjY_iR-T7bbx5_cKEcmzn40AKT1eghZBzqAITF3TQb02WyU0EuqG3RJfuzrMKTK3Qycfswh5r-3Rvog","token_type":"bearer","expires_in":3599}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 19 Dec 2018 19:12:59 GMT
|
44
|
+
- request:
|
45
|
+
method: post
|
46
|
+
uri: https://api.listrak.com/email/v1/List/349984/Contact
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"emailAddress":"customer+new@workarea.com","subscriptionState":"Subscribed","segmentationFieldValues":null}'
|
50
|
+
headers:
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- application/json
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
Authorization:
|
58
|
+
- Bearer vUGMJ5TjrO1zrapsAnrCgUl_ZAIEdQOpCSXxndQQlf6Wr7vj1SPZRDEae4TVSV96uS9I7rL7RzCboE2KeWUhpKmMa08mxEdozJzC1sjA-bQRSctiTdrreTb17qkuTrCz3jyqMe596bHe07xS3gY9vCSkD7sUfP2apYX_qv3qrBf7egCeImIwWjpOLIneqd30bl5NaLV6_0cG5itPKoQjBLOS0A5mPSC2RLaOIx3huZfayl-aVvVt45zOtQg7YdaOAxiye7i4zzzAIZ1dYeX99u2e9DFlZ9jQPvSa855V1ReOguOOGXMk5pIXxw3zblsKI0-pT7SldS04uUChyDegH7_YfGvrEjY_iR-T7bbx5_cKEcmzn40AKT1eghZBzqAITF3TQb02WyU0EuqG3RJfuzrMKTK3Qycfswh5r-3Rvog
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 201
|
64
|
+
message: Created
|
65
|
+
headers:
|
66
|
+
Cache-Control:
|
67
|
+
- no-cache
|
68
|
+
Pragma:
|
69
|
+
- no-cache
|
70
|
+
Content-Length:
|
71
|
+
- '55'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=utf-8
|
74
|
+
Expires:
|
75
|
+
- "-1"
|
76
|
+
Server:
|
77
|
+
- Microsoft-IIS/8.5
|
78
|
+
X-Powered-By:
|
79
|
+
- ASP.NET
|
80
|
+
Date:
|
81
|
+
- Wed, 19 Dec 2018 19:12:59 GMT
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '{"status":201,"resourceId":"customer+new@workarea.com"}'
|
85
|
+
http_version:
|
86
|
+
recorded_at: Wed, 19 Dec 2018 19:13:00 GMT
|
87
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://auth.listrak.com/OAuth2/Token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=client_credentials&client_id=doyfni0aw64ogd84ld6t&client_secret=LxdEE4Gu4aSJv5tS9osd8WudjGbJ%2BEIPYvZBS7bc5JU
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- application/x-www-form-urlencoded
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json;charset=UTF-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/8.5
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Wed, 19 Dec 2018 18:30:56 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '486'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"access_token":"JDcgMdNnun-gT1GcM_Lr4OJLhVcFENTdQnplKKgYP6b8BBXZzx0_F-IcNkd1X-GSXDCfx_Hghzo7AmIiFc3QdNcbXHww3ma0Asw2ja3a_RKdLaS7wkfH-f3Sf0OWnlKLE-xrViPiPXNRVNE-p0vYExq6CEn-pZZP4Z-d0PzMq11xq4DcJg3cTHg9mSi3ui6b3tgKcEwPnzi-Hf-SP_ynWV1tyOrScJZNxu0-Deg_Ay9P0ICfJ8CqDQ-SFzTFwNqiKyq7OKvHeqpzILHy5_nMgy6_GWxq0KfYh9bQ1HbEgoK5QUNEBOTt-8-_UghaS6AzkdAcXY2Ud5X7oWBqSbuYXtKPQ1z72mWDsRENdFfpJBdnJRk25fiSSc_eEZNU7LI3T3rSDXESkpn57Y433NvZk9wTeAtivGxr6uXgp2utc3k","token_type":"bearer","expires_in":3599}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 19 Dec 2018 18:30:57 GMT
|
44
|
+
- request:
|
45
|
+
method: post
|
46
|
+
uri: https://api.listrak.com/email/v1/List/349984/Event
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"eventName":"footer signup","status":"Active"}'
|
50
|
+
headers:
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- application/json
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
Authorization:
|
58
|
+
- Bearer JDcgMdNnun-gT1GcM_Lr4OJLhVcFENTdQnplKKgYP6b8BBXZzx0_F-IcNkd1X-GSXDCfx_Hghzo7AmIiFc3QdNcbXHww3ma0Asw2ja3a_RKdLaS7wkfH-f3Sf0OWnlKLE-xrViPiPXNRVNE-p0vYExq6CEn-pZZP4Z-d0PzMq11xq4DcJg3cTHg9mSi3ui6b3tgKcEwPnzi-Hf-SP_ynWV1tyOrScJZNxu0-Deg_Ay9P0ICfJ8CqDQ-SFzTFwNqiKyq7OKvHeqpzILHy5_nMgy6_GWxq0KfYh9bQ1HbEgoK5QUNEBOTt-8-_UghaS6AzkdAcXY2Ud5X7oWBqSbuYXtKPQ1z72mWDsRENdFfpJBdnJRk25fiSSc_eEZNU7LI3T3rSDXESkpn57Y433NvZk9wTeAtivGxr6uXgp2utc3k
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 400
|
64
|
+
message: Bad Request
|
65
|
+
headers:
|
66
|
+
Server:
|
67
|
+
- Microsoft-IIS/8.5
|
68
|
+
Cache-Control:
|
69
|
+
- no-cache
|
70
|
+
Content-Type:
|
71
|
+
- application/json; charset=utf-8
|
72
|
+
Date:
|
73
|
+
- Wed, 19 Dec 2018 18:30:57 GMT
|
74
|
+
Expires:
|
75
|
+
- "-1"
|
76
|
+
Pragma:
|
77
|
+
- no-cache
|
78
|
+
Connection:
|
79
|
+
- close
|
80
|
+
X-Powered-By:
|
81
|
+
- ASP.NET
|
82
|
+
Content-Length:
|
83
|
+
- '105'
|
84
|
+
body:
|
85
|
+
encoding: UTF-8
|
86
|
+
string: '{"status":400,"error":"ERROR_INVALID_PARAMETER","message":"An invalid
|
87
|
+
value was supplied for eventName."}'
|
88
|
+
http_version:
|
89
|
+
recorded_at: Wed, 19 Dec 2018 18:30:58 GMT
|
90
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,87 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://auth.listrak.com/OAuth2/Token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=client_credentials&client_id=doyfni0aw64ogd84ld6t&client_secret=LxdEE4Gu4aSJv5tS9osd8WudjGbJ%2BEIPYvZBS7bc5JU
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- application/x-www-form-urlencoded
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json;charset=UTF-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/8.5
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Wed, 19 Dec 2018 18:49:31 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '486'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"access_token":"JiP0LYww_2VM2-iPO1zxptmk9opigOV7E08OX9kkkIK9_1QKB8Ri6OGVucXnViq1WxCJNKWuxi_JIzJUutcAgWyzOS9F1CibKuxQV3VuCwzS6S_eOtN84pL4QxvRT-EEaJxtkz8EL0AqAbZ8LavMEe0zhoAa8AG-8CVwVz3_8jiSf3_IeWTvnt1x25hMRceND7h59pn2axzj_lTg3FUa68MKJxCIQmv0-eahDx9AhvVB-kaZLPDJy7QNp_pSaxkz7vckkTA4n6K0ElbKJ-8yZGfLj3yiulYjXUbITqPO3YA_ieSI9tr6WfeTn_0L1KYmReyfPdq4NcY2Q3iRRo2TuXYZgbNQB9zGe3jv1Wds8YEX4bmacT93F_P3Zub_NrCi0GyunHVGP8jI1B-qNbYsAOBwu9_amnDWobzm5dUPu7Q","token_type":"bearer","expires_in":3599}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 19 Dec 2018 18:49:32 GMT
|
44
|
+
- request:
|
45
|
+
method: post
|
46
|
+
uri: https://api.listrak.com/email/v1/List/349984/Event
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"eventName":"footer signup","status":"Active"}'
|
50
|
+
headers:
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- application/json
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
Authorization:
|
58
|
+
- Bearer JiP0LYww_2VM2-iPO1zxptmk9opigOV7E08OX9kkkIK9_1QKB8Ri6OGVucXnViq1WxCJNKWuxi_JIzJUutcAgWyzOS9F1CibKuxQV3VuCwzS6S_eOtN84pL4QxvRT-EEaJxtkz8EL0AqAbZ8LavMEe0zhoAa8AG-8CVwVz3_8jiSf3_IeWTvnt1x25hMRceND7h59pn2axzj_lTg3FUa68MKJxCIQmv0-eahDx9AhvVB-kaZLPDJy7QNp_pSaxkz7vckkTA4n6K0ElbKJ-8yZGfLj3yiulYjXUbITqPO3YA_ieSI9tr6WfeTn_0L1KYmReyfPdq4NcY2Q3iRRo2TuXYZgbNQB9zGe3jv1Wds8YEX4bmacT93F_P3Zub_NrCi0GyunHVGP8jI1B-qNbYsAOBwu9_amnDWobzm5dUPu7Q
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 201
|
64
|
+
message: Created
|
65
|
+
headers:
|
66
|
+
Cache-Control:
|
67
|
+
- no-cache
|
68
|
+
Pragma:
|
69
|
+
- no-cache
|
70
|
+
Content-Length:
|
71
|
+
- '35'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=utf-8
|
74
|
+
Expires:
|
75
|
+
- "-1"
|
76
|
+
Server:
|
77
|
+
- Microsoft-IIS/8.5
|
78
|
+
X-Powered-By:
|
79
|
+
- ASP.NET
|
80
|
+
Date:
|
81
|
+
- Wed, 19 Dec 2018 18:49:32 GMT
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '{"status":201,"resourceId":"12716"}'
|
85
|
+
http_version:
|
86
|
+
recorded_at: Wed, 19 Dec 2018 18:49:32 GMT
|
87
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,88 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://auth.listrak.com/OAuth2/Token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: grant_type=client_credentials&client_id=doyfni0aw64ogd84ld6t&client_secret=LxdEE4Gu4aSJv5tS9osd8WudjGbJ%2BEIPYvZBS7bc5JU
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- application/x-www-form-urlencoded
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Content-Type:
|
28
|
+
- application/json;charset=UTF-8
|
29
|
+
Expires:
|
30
|
+
- "-1"
|
31
|
+
Server:
|
32
|
+
- Microsoft-IIS/8.5
|
33
|
+
X-Powered-By:
|
34
|
+
- ASP.NET
|
35
|
+
Date:
|
36
|
+
- Tue, 18 Dec 2018 20:01:33 GMT
|
37
|
+
Content-Length:
|
38
|
+
- '486'
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"access_token":"fPZbant0j_IOzSl1IIJUaGg7oO5uWYoyM8Mdt7Iyh67oGs5KLZ_hlUp7OIdk37B-lt3c-0OL9vo2hPUhBSmCIixs11EGGVFzOoBNys03yfKt35tWTggfxFEHbYI4eNkqywrXVzC2FADGnMydVhiKw1CZHt-w6Ylqwa_m9GWZam4tBk7RDxJ-pnKm8RWPGRdtQR0qRABKNobsmEw0YCHya5gHpm5z23pIngfcJXRAAhieM_RtsJq7_ZrLGjjdMZ-gtHRYoAo2hx6qguU-yC1RgirKnU_VzBI9wHm_WaoM78Ksoy4mp-qJR8iQI9dUK3iZ_U8cF9UXchZyaVP7MrBaTGWtQXQQASZWfPOibg1G_N02ln13fDmdRWK7-WQpymHYun-TaSW_dq7QsdecTrm32nsM3hHyOYQkQDZY1jwJMtI","token_type":"bearer","expires_in":3599}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Tue, 18 Dec 2018 20:01:33 GMT
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: https://api.listrak.com/email/v1/List/349984/Event
|
47
|
+
body:
|
48
|
+
encoding: US-ASCII
|
49
|
+
string: ''
|
50
|
+
headers:
|
51
|
+
Accept-Encoding:
|
52
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
+
Accept:
|
54
|
+
- application/json
|
55
|
+
User-Agent:
|
56
|
+
- Ruby
|
57
|
+
Authorization:
|
58
|
+
- Bearer fPZbant0j_IOzSl1IIJUaGg7oO5uWYoyM8Mdt7Iyh67oGs5KLZ_hlUp7OIdk37B-lt3c-0OL9vo2hPUhBSmCIixs11EGGVFzOoBNys03yfKt35tWTggfxFEHbYI4eNkqywrXVzC2FADGnMydVhiKw1CZHt-w6Ylqwa_m9GWZam4tBk7RDxJ-pnKm8RWPGRdtQR0qRABKNobsmEw0YCHya5gHpm5z23pIngfcJXRAAhieM_RtsJq7_ZrLGjjdMZ-gtHRYoAo2hx6qguU-yC1RgirKnU_VzBI9wHm_WaoM78Ksoy4mp-qJR8iQI9dUK3iZ_U8cF9UXchZyaVP7MrBaTGWtQXQQASZWfPOibg1G_N02ln13fDmdRWK7-WQpymHYun-TaSW_dq7QsdecTrm32nsM3hHyOYQkQDZY1jwJMtI
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: OK
|
65
|
+
headers:
|
66
|
+
Cache-Control:
|
67
|
+
- no-cache
|
68
|
+
Pragma:
|
69
|
+
- no-cache
|
70
|
+
Content-Length:
|
71
|
+
- '176'
|
72
|
+
Content-Type:
|
73
|
+
- application/json; charset=utf-8
|
74
|
+
Expires:
|
75
|
+
- "-1"
|
76
|
+
Server:
|
77
|
+
- Microsoft-IIS/8.5
|
78
|
+
X-Powered-By:
|
79
|
+
- ASP.NET
|
80
|
+
Date:
|
81
|
+
- Tue, 18 Dec 2018 20:01:34 GMT
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: '{"status":200,"data":[{"eventId":12714,"eventName":"Test","eventGroupId":0,"status":"Active"},{"eventId":12715,"eventName":"footer
|
85
|
+
signup","eventGroupId":0,"status":"Active"}]}'
|
86
|
+
http_version:
|
87
|
+
recorded_at: Tue, 18 Dec 2018 20:01:34 GMT
|
88
|
+
recorded_with: VCR 2.9.3
|