access 2.2.0 → 2.3.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +6 -4
- data/Gemfile.lock +40 -80
- data/README.md +2 -4
- data/Rakefile +1 -1
- data/access.gemspec +4 -6
- data/lib/access/response.rb +1 -1
- data/lib/access/version.rb +1 -1
- data/test/access/campaign_test.rb +3 -3
- data/test/access/category_test.rb +1 -0
- data/test/access/device_test.rb +1 -4
- data/test/access/member_test.rb +2 -5
- data/test/access/redeem_test.rb +1 -0
- data/test/access/report_test.rb +14 -7
- data/test/access/spot_test.rb +4 -4
- data/test/access/user_test.rb +9 -10
- data/test/access/verify_test.rb +1 -1
- data/test/vcr/cassettes/autocomplete/search_categories.yml +11 -9
- data/test/vcr/cassettes/autocomplete/search_first.yml +21 -19
- data/test/vcr/cassettes/autocomplete/search_locations.yml +13 -11
- data/test/vcr/cassettes/autocomplete/search_offers.yml +15 -13
- data/test/vcr/cassettes/autocomplete/search_stores.yml +17 -15
- data/test/vcr/cassettes/campaign/find.yml +139 -0
- data/test/vcr/cassettes/campaign/search.yml +89 -971
- data/test/vcr/cassettes/campaign/search_first.yml +139 -0
- data/test/vcr/cassettes/category/find.yml +11 -9
- data/test/vcr/cassettes/category/search.yml +14 -35
- data/test/vcr/cassettes/category/search_fail_member_key.yml +11 -9
- data/test/vcr/cassettes/category/search_first.yml +27 -69
- data/test/vcr/cassettes/category/subcategory_find.yml +12 -118
- data/test/vcr/cassettes/channel/search.yml +26 -18
- data/test/vcr/cassettes/favorite/create_generic_with_offer.yml +95 -93
- data/test/vcr/cassettes/favorite/create_location.yml +63 -17
- data/test/vcr/cassettes/favorite/create_offer.yml +95 -93
- data/test/vcr/cassettes/favorite/create_store.yml +59 -59
- data/test/vcr/cassettes/favorite/delete_generic_with_offer.yml +110 -108
- data/test/vcr/cassettes/favorite/delete_location.yml +139 -93
- data/test/vcr/cassettes/favorite/delete_offer.yml +204 -200
- data/test/vcr/cassettes/favorite/delete_store.yml +117 -143
- data/test/vcr/cassettes/favorite/find_generic_with_offer.yml +180 -242
- data/test/vcr/cassettes/favorite/find_location.yml +124 -78
- data/test/vcr/cassettes/favorite/find_offer.yml +180 -242
- data/test/vcr/cassettes/favorite/find_store.yml +103 -129
- data/test/vcr/cassettes/favorite/one_of_everything.yml +323 -1031
- data/test/vcr/cassettes/favorite/search.yml +269 -281
- data/test/vcr/cassettes/favorite/search_bad_member.yml +9 -11
- data/test/vcr/cassettes/favorite/search_locations.yml +103 -62
- data/test/vcr/cassettes/favorite/search_no_favorites.yml +9 -11
- data/test/vcr/cassettes/favorite/search_offers.yml +148 -148
- data/test/vcr/cassettes/favorite/search_stores.yml +70 -127
- data/test/vcr/cassettes/filter/find.yml +11 -9
- data/test/vcr/cassettes/filter/search.yml +14 -12
- data/test/vcr/cassettes/filter/search_first.yml +14 -12
- data/test/vcr/cassettes/location/find.yml +562 -634
- data/test/vcr/cassettes/location/search.yml +82 -77
- data/test/vcr/cassettes/location/search_fail_member_key.yml +11 -9
- data/test/vcr/cassettes/location/search_first.yml +82 -77
- data/test/vcr/cassettes/member/show_failure.yml +14 -14
- data/test/vcr/cassettes/member/show_success.yml +16 -16
- data/test/vcr/cassettes/member/update_success.yml +16 -16
- data/test/vcr/cassettes/member_authenticate/cvt_failure.yml +13 -13
- data/test/vcr/cassettes/member_authenticate/cvt_success.yml +16 -16
- data/test/vcr/cassettes/member_authenticate/failure.yml +54 -9
- data/test/vcr/cassettes/member_authenticate/member_key_failure.yml +13 -13
- data/test/vcr/cassettes/member_authenticate/member_key_success.yml +21 -20
- data/test/vcr/cassettes/member_authenticate/success.yml +70 -13
- data/test/vcr/cassettes/member_device/search_failure.yml +16 -16
- data/test/vcr/cassettes/member_device/search_success.yml +423 -31
- data/test/vcr/cassettes/oauth_application/find.yml +19 -21
- data/test/vcr/cassettes/oauth_application/search.yml +21 -23
- data/test/vcr/cassettes/oauth_application/search_oauth_first.yml +21 -23
- data/test/vcr/cassettes/oauth_application/token_find.yml +33 -34
- data/test/vcr/cassettes/oauth_application/token_search.yml +97 -532
- data/test/vcr/cassettes/oauth_application/token_search_tokens_first.yml +33 -178
- data/test/vcr/cassettes/offer/find.yml +97 -109
- data/test/vcr/cassettes/offer/find_uses_remaining.yml +16 -14
- data/test/vcr/cassettes/offer/find_with_offer_uses_remaining.yml +97 -109
- data/test/vcr/cassettes/offer/search.yml +99 -111
- data/test/vcr/cassettes/offer/search_fail_member_key.yml +11 -9
- data/test/vcr/cassettes/offer/search_first.yml +99 -111
- data/test/vcr/cassettes/offer/search_for_redeem.yml +99 -111
- data/test/vcr/cassettes/offer/with_aggregations.yml +920 -959
- data/test/vcr/cassettes/redeem/offer_no_redeem_type.yml +8 -8
- data/test/vcr/cassettes/redeem/offer_with_redeem_type.yml +14 -7
- data/test/vcr/cassettes/redeem/redeem_offer_with_redeem_type_for_uses_remaining_test.yml +15 -8
- data/test/vcr/cassettes/redemption/find_by_member_key.yml +49 -47
- data/test/vcr/cassettes/redemption/search_by_member_key.yml +516 -228
- data/test/vcr/cassettes/redemption/search_by_member_key_first.yml +516 -228
- data/test/vcr/cassettes/redemption/search_by_member_key_without_redemptions.yml +11 -9
- data/test/vcr/cassettes/report/all_usage.yml +15 -100
- data/test/vcr/cassettes/report/member_location_frequent.yml +15 -19
- data/test/vcr/cassettes/report/member_location_recent.yml +15 -19
- data/test/vcr/cassettes/report/member_query_frequent.yml +15 -19
- data/test/vcr/cassettes/report/member_query_recent.yml +15 -19
- data/test/vcr/cassettes/report/usage.yml +15 -100
- data/test/vcr/cassettes/report/usage_other.yml +15 -100
- data/test/vcr/cassettes/spot/find.yml +9 -9
- data/test/vcr/cassettes/spot/search_by_campaign.yml +93 -2667
- data/test/vcr/cassettes/spot/search_by_channel.yml +73 -906
- data/test/vcr/cassettes/spot/search_by_channel_first.yml +73 -906
- data/test/vcr/cassettes/store/find.yml +48 -45
- data/test/vcr/cassettes/store/national_stores.yml +1764 -2884
- data/test/vcr/cassettes/store/search.yml +52 -49
- data/test/vcr/cassettes/store/search_fail_member_key.yml +11 -9
- data/test/vcr/cassettes/store/search_first.yml +52 -49
- data/test/vcr/cassettes/token/find.yml +53 -29
- data/test/vcr/cassettes/token/get_first_token.yml +55 -31
- data/test/vcr/cassettes/token/search.yml +55 -31
- data/test/vcr/cassettes/user_register/failure.yml +13 -13
- data/test/vcr/cassettes/user_register/success.yml +11 -109
- data/test/vcr/cassettes/user_update/success.yml +58 -12
- data/test/vcr/cassettes/verify/filter.yml +108 -94
- data/test/vcr/cassettes/verify/token.yml +15 -13
- metadata +22 -46
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://mms-stage.adcrws.com/v1/members/
|
5
|
+
uri: https://mms-stage.adcrws.com/v1/members/227889?program_id=2412
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Access-Token:
|
11
|
-
- ACCESS_TOKEN
|
11
|
+
- "<ACCESS_TOKEN>"
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accept:
|
@@ -16,10 +16,18 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Sun, 01 Jul 2018 04:24:10 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,17 +40,9 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
X-Application-Context:
|
36
|
-
- application:main,stage:10120
|
37
|
-
Content-Type:
|
38
|
-
- application/json;charset=UTF-8
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
Date:
|
42
|
-
- Mon, 22 Feb 2016 20:31:19 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"username":"cs@test.com","birth_date":"2016-01-01","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"
|
45
|
+
string: '{"username":"cs@test.com","birth_date":"2016-01-01","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"2018-06-28T17:25:40.539+0000","modified_dts":"2018-06-28T17:25:40.547+0000","last_registered_dts":"2017-06-29T16:49:48.198+0000","active":true,"messaging":null,"first_name":"CS","last_name":"TEST","member_id":101382957,"program_id":2412,"member_key":"227889","program_key":"TYP123","cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","address":null,"lat_lon_address":null}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
48
|
-
recorded_with: VCR
|
47
|
+
recorded_at: Sun, 01 Jul 2018 04:24:10 GMT
|
48
|
+
recorded_with: VCR 4.0.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: put
|
5
|
-
uri: https://mms-stage.adcrws.com/v1/members/
|
5
|
+
uri: https://mms-stage.adcrws.com/v1/members/227889?program_id=2412
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"birth_date":"2016-01-01"}'
|
9
9
|
headers:
|
10
10
|
Access-Token:
|
11
|
-
- ACCESS_TOKEN
|
11
|
+
- "<ACCESS_TOKEN>"
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accept:
|
@@ -16,10 +16,18 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Sun, 01 Jul 2018 04:24:11 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,17 +40,9 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
X-Application-Context:
|
36
|
-
- application:main,stage:10110
|
37
|
-
Content-Type:
|
38
|
-
- application/json;charset=UTF-8
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
Date:
|
42
|
-
- Mon, 22 Feb 2016 20:31:17 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"username":"cs@test.com","birth_date":"2016-01-01","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"
|
45
|
+
string: '{"username":"cs@test.com","birth_date":"2016-01-01","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"2018-06-28T17:25:40.539+0000","modified_dts":"2018-06-28T17:25:40.547+0000","last_registered_dts":"2017-06-29T16:49:48.198+0000","active":true,"messaging":null,"first_name":"CS","last_name":"TEST","member_id":101382957,"program_id":2412,"member_key":"227889","program_key":"TYP123","cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","address":null,"lat_lon_address":null}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
48
|
-
recorded_with: VCR
|
47
|
+
recorded_at: Sun, 01 Jul 2018 04:24:11 GMT
|
48
|
+
recorded_with: VCR 4.0.0
|
@@ -16,10 +16,18 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 401
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Sun, 01 Jul 2018 04:23:23 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,17 +40,9 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
X-Application-Context:
|
36
|
-
- application:main,stage:10120
|
37
|
-
Content-Type:
|
38
|
-
- application/json;charset=UTF-8
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
Date:
|
42
|
-
- Mon, 22 Feb 2016 23:05:53 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"message":"No active user with specified CVT found.","status":401,"error_code":"AUTHENTICATION_FAILURE_USER_NOT_FOUND"}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
48
|
-
recorded_with: VCR
|
47
|
+
recorded_at: Sun, 01 Jul 2018 04:23:24 GMT
|
48
|
+
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://mms-stage.adcrws.com/v1/auth?cvt=
|
5
|
+
uri: https://mms-stage.adcrws.com/v1/auth?cvt=e149dd86dee406a0075531ad558ec73b7c4f1d03
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -16,10 +16,18 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Sun, 01 Jul 2018 04:23:23 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,21 +40,13 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
X-Application-Context:
|
36
|
-
- application:main,stage:10110
|
37
|
-
Content-Type:
|
38
|
-
- application/json;charset=UTF-8
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
Date:
|
42
|
-
- Mon, 22 Feb 2016 23:05:54 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"users":[{"program_id":2412,"program_key":"TYP123","program_name":"Access
|
46
46
|
Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access
|
47
|
-
Perks Demo","member_id":
|
47
|
+
Perks Demo","member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0}],"members":[{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
|
48
48
|
Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access
|
49
|
-
Perks Demo","provisioning_method":"SHARED_SECRET"},"member":{"member_id":
|
49
|
+
Perks Demo","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","points_balance":0},"user":{"email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"roles":[],"has_password":true,"password_expired":false,"user_id":308718268,"account_enabled":true,"account_locked":false,"account_validated":true}}]}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
52
|
-
recorded_with: VCR
|
51
|
+
recorded_at: Sun, 01 Jul 2018 04:23:23 GMT
|
52
|
+
recorded_with: VCR 4.0.0
|
@@ -16,10 +16,18 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 401
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Thu, 28 Jun 2018 16:27:38 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,17 +40,54 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
|
36
|
-
-
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"message":"No active user with specified credentials found.","status":401,"error_code":"AUTHENTICATION_FAILURE_PASSWORD_MISMATCH"}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Thu, 28 Jun 2018 16:27:38 GMT
|
48
|
+
- request:
|
49
|
+
method: post
|
50
|
+
uri: https://mms-stage.adcrws.com/v1/auth
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"email":"cs@test.com","password":"bad"}'
|
54
|
+
headers:
|
55
|
+
Access-Token:
|
56
|
+
- "<ACCESS_TOKEN>"
|
57
|
+
Content-Type:
|
58
|
+
- application/json
|
59
|
+
Accept:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 401
|
64
|
+
message: ''
|
65
|
+
headers:
|
66
|
+
Date:
|
67
|
+
- Sun, 01 Jul 2018 04:23:29 GMT
|
37
68
|
Content-Type:
|
38
69
|
- application/json;charset=UTF-8
|
39
70
|
Transfer-Encoding:
|
40
71
|
- chunked
|
41
|
-
|
42
|
-
-
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
X-Application-Context:
|
75
|
+
- application:stage
|
76
|
+
X-Content-Type-Options:
|
77
|
+
- nosniff
|
78
|
+
X-Xss-Protection:
|
79
|
+
- 1; mode=block
|
80
|
+
Cache-Control:
|
81
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
82
|
+
Pragma:
|
83
|
+
- no-cache
|
84
|
+
Expires:
|
85
|
+
- '0'
|
86
|
+
X-Frame-Options:
|
87
|
+
- DENY
|
43
88
|
body:
|
44
89
|
encoding: UTF-8
|
45
90
|
string: '{"message":"No active user with specified credentials found.","status":401,"error_code":"AUTHENTICATION_FAILURE_PASSWORD_MISMATCH"}'
|
46
91
|
http_version:
|
47
|
-
recorded_at:
|
48
|
-
recorded_with: VCR
|
92
|
+
recorded_at: Sun, 01 Jul 2018 04:23:29 GMT
|
93
|
+
recorded_with: VCR 4.0.0
|
@@ -16,10 +16,18 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 401
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Sun, 01 Jul 2018 04:23:28 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,17 +40,9 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
X-Application-Context:
|
36
|
-
- application:main,stage:10110
|
37
|
-
Content-Type:
|
38
|
-
- application/json;charset=UTF-8
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
Date:
|
42
|
-
- Mon, 22 Feb 2016 23:05:58 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"message":"No active member with specified credentials found.","status":401,"error_code":"AUTHENTICATION_FAILURE_MEMBER_NOT_FOUND"}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
48
|
-
recorded_with: VCR
|
47
|
+
recorded_at: Sun, 01 Jul 2018 04:23:28 GMT
|
48
|
+
recorded_with: VCR 4.0.0
|
@@ -16,10 +16,18 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Sun, 01 Jul 2018 04:23:24 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,24 +40,17 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
X-Application-Context:
|
36
|
-
- application:main,stage:10120
|
37
|
-
Content-Type:
|
38
|
-
- application/json;charset=UTF-8
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
Date:
|
42
|
-
- Mon, 22 Feb 2016 23:05:56 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"users":[{"program_id":
|
46
|
-
|
47
|
-
|
45
|
+
string: '{"users":[{"program_id":280837651,"program_key":"200294","program_name":"RWS
|
46
|
+
API - RBI_EMAIL","organization_id":160,"organization_key":"160","organization_name":"Access
|
47
|
+
Development","member_id":280841888,"member_key":"226872","email":"codyandy@test.com","first_name":"Jeje","last_name":"Jdjs","reg_id":1700551,"cvt":"d20cfa514dfb8245ccc774ae1a4b5c7213a09bac","postal_code":"84101","roles":[],"program_provisioning_method":"RBI_EMAIL","user_has_password":false,"points_balance":0}],"members":[{"organization":{"organization_id":160,"organization_key":"160","name":"Access
|
48
|
+
Development"},"program":{"program_id":280837651,"program_key":"200294","name":"RWS
|
49
|
+
API - RBI_EMAIL","provisioning_method":"RBI_EMAIL","travel":{"enabled":false,"provider":null}},"member":{"member_id":280841888,"member_key":"226872","email":"codyandy@test.com","first_name":"Cody","last_name":"Stringham","cvt":"d20cfa514dfb8245ccc774ae1a4b5c7213a09bac","postal_code":"84101","points_balance":0},"user":{"email":"codyandy@test.com","first_name":"Jeje","last_name":"Jdjs","reg_id":1700551,"roles":[],"has_password":false,"password_expired":false,"user_id":296568523,"account_enabled":true,"account_locked":false,"account_validated":true}},{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
|
48
50
|
Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access
|
49
|
-
Perks Demo","provisioning_method":"SHARED_SECRET"
|
50
|
-
|
51
|
-
|
52
|
-
CANTRELL","cvt":"d7926ca8f22fcf998195faedfc448cef99306e9b","postal_code":"35950"}}]}'
|
51
|
+
Perks Demo","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":89738626,"member_key":"226872","email":"cs@testing.com","first_name":"Cody","last_name":"Stringham","cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","postal_code":null,"points_balance":0},"user":null},{"organization":{"organization_id":2000274,"organization_key":"1064","name":"SEIU
|
52
|
+
Local 721"},"program":{"program_id":690,"program_key":"1064","name":"SEIU
|
53
|
+
Local 721","provisioning_method":"MEMBER_CID","travel":{"enabled":true,"provider":{"name":"SAVE_ON","points_enabled":false}}},"member":{"member_id":40044658,"member_key":"226872","email":null,"first_name":"Jose","last_name":"Cabrera","cvt":"f7575d07fd49ffe47eadb974fa81e62066f29d67","postal_code":"93033","points_balance":0},"user":null}]}'
|
53
54
|
http_version:
|
54
|
-
recorded_at:
|
55
|
-
recorded_with: VCR
|
55
|
+
recorded_at: Sun, 01 Jul 2018 04:23:24 GMT
|
56
|
+
recorded_with: VCR 4.0.0
|
@@ -15,11 +15,19 @@ http_interactions:
|
|
15
15
|
- application/json
|
16
16
|
response:
|
17
17
|
status:
|
18
|
-
code:
|
19
|
-
message:
|
18
|
+
code: 401
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Date:
|
22
|
+
- Thu, 28 Jun 2018 16:27:40 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json;charset=UTF-8
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Application-Context:
|
30
|
+
- application:stage
|
23
31
|
X-Content-Type-Options:
|
24
32
|
- nosniff
|
25
33
|
X-Xss-Protection:
|
@@ -32,21 +40,70 @@ http_interactions:
|
|
32
40
|
- '0'
|
33
41
|
X-Frame-Options:
|
34
42
|
- DENY
|
35
|
-
|
36
|
-
-
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"message":"No active user with specified credentials found.","status":401,"error_code":"AUTHENTICATION_FAILURE_PASSWORD_MISMATCH"}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Thu, 28 Jun 2018 16:27:40 GMT
|
48
|
+
- request:
|
49
|
+
method: post
|
50
|
+
uri: https://mms-stage.adcrws.com/v1/auth
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: '{"email":"cs@test.com","password":"password"}'
|
54
|
+
headers:
|
55
|
+
Access-Token:
|
56
|
+
- "<ACCESS_TOKEN>"
|
57
|
+
Content-Type:
|
58
|
+
- application/json
|
59
|
+
Accept:
|
60
|
+
- application/json
|
61
|
+
response:
|
62
|
+
status:
|
63
|
+
code: 200
|
64
|
+
message: ''
|
65
|
+
headers:
|
66
|
+
Date:
|
67
|
+
- Sun, 01 Jul 2018 04:23:26 GMT
|
37
68
|
Content-Type:
|
38
69
|
- application/json;charset=UTF-8
|
39
70
|
Transfer-Encoding:
|
40
71
|
- chunked
|
41
|
-
|
42
|
-
-
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
X-Application-Context:
|
75
|
+
- application:stage
|
76
|
+
X-Content-Type-Options:
|
77
|
+
- nosniff
|
78
|
+
X-Xss-Protection:
|
79
|
+
- 1; mode=block
|
80
|
+
Cache-Control:
|
81
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
82
|
+
Pragma:
|
83
|
+
- no-cache
|
84
|
+
Expires:
|
85
|
+
- '0'
|
86
|
+
X-Frame-Options:
|
87
|
+
- DENY
|
43
88
|
body:
|
44
89
|
encoding: UTF-8
|
45
|
-
string: '{"users":[{"program_id":
|
90
|
+
string: '{"users":[{"program_id":309986394,"program_key":"200614","program_name":"Access
|
91
|
+
Employee","organization_id":160,"organization_key":"160","organization_name":"Access
|
92
|
+
Development","member_id":101383166,"member_key":"4","email":"cs@test.com","first_name":"cody","last_name":"stringham","reg_id":2178237,"cvt":"90b6ad1194beab92dfb6e610d9922778b59364fd","postal_code":null,"roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0},{"program_id":2412,"program_key":"TYP123","program_name":"Access
|
46
93
|
Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access
|
47
|
-
Perks Demo","member_id":
|
94
|
+
Perks Demo","member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0},{"program_id":236131719,"program_key":"102110","program_name":"Extended
|
95
|
+
Perks","organization_id":2001908,"organization_key":"2001908","organization_name":"Extended
|
96
|
+
Stay America","member_id":95698990,"member_key":"222aaan","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1571046,"cvt":"0364de5ac20714be939026c5a0e602b6e996f408","postal_code":"84101","roles":["SECURE"],"program_provisioning_method":"RBI_MCID","user_has_password":true,"points_balance":0},{"program_id":280894368,"program_key":"200296","program_name":"RWS
|
97
|
+
API - SHARED_SECRET","organization_id":160,"organization_key":"160","organization_name":"Access
|
98
|
+
Development","member_id":93251241,"member_key":"1","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1293466,"cvt":"161867b85f30ec1060db94c744a190de8bbe031d","postal_code":"84047","roles":[],"program_provisioning_method":"SHARED_SECRET","user_has_password":true,"points_balance":0}],"members":[{"organization":{"organization_id":160,"organization_key":"160","name":"Access
|
99
|
+
Development"},"program":{"program_id":309986394,"program_key":"200614","name":"Access
|
100
|
+
Employee","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":101383166,"member_key":"4","email":"cs@test.com","first_name":"cody","last_name":"stringham","cvt":"90b6ad1194beab92dfb6e610d9922778b59364fd","postal_code":null,"points_balance":0},"user":{"email":"cs@test.com","first_name":"cody","last_name":"stringham","reg_id":2178237,"roles":[],"has_password":true,"password_expired":false,"user_id":308721251,"account_enabled":true,"account_locked":false,"account_validated":true}},{"organization":{"organization_id":2000896,"organization_key":"TYPDEMO","name":"Access
|
48
101
|
Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access
|
49
|
-
Perks Demo","provisioning_method":"SHARED_SECRET"},"member":{"member_id":
|
102
|
+
Perks Demo","provisioning_method":"SHARED_SECRET","travel":{"enabled":true,"provider":{"name":"ACCESS_TRAVEL_PLATFORM","points_enabled":false}}},"member":{"member_id":101382957,"member_key":"227889","email":"cs@test.com","first_name":"CS","last_name":"TEST","cvt":"e149dd86dee406a0075531ad558ec73b7c4f1d03","postal_code":"84101","points_balance":0},"user":{"email":"cs@test.com","first_name":"CS","last_name":"TEST","reg_id":2177943,"roles":[],"has_password":true,"password_expired":false,"user_id":308718268,"account_enabled":true,"account_locked":false,"account_validated":true}},{"organization":{"organization_id":2001908,"organization_key":"2001908","name":"Extended
|
103
|
+
Stay America"},"program":{"program_id":236131719,"program_key":"102110","name":"Extended
|
104
|
+
Perks","provisioning_method":"RBI_MCID","travel":{"enabled":false,"provider":null}},"member":{"member_id":95698990,"member_key":"222aaan","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","cvt":"0364de5ac20714be939026c5a0e602b6e996f408","postal_code":"84101","points_balance":0},"user":{"email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1571046,"roles":["SECURE"],"has_password":true,"password_expired":false,"user_id":290532490,"account_enabled":true,"account_locked":false,"account_validated":true}},{"organization":{"organization_id":160,"organization_key":"160","name":"Access
|
105
|
+
Development"},"program":{"program_id":280894368,"program_key":"200296","name":"RWS
|
106
|
+
API - SHARED_SECRET","provisioning_method":"SHARED_SECRET","travel":{"enabled":false,"provider":null}},"member":{"member_id":93251241,"member_key":"1","email":"cs@test.com","first_name":"Cody","last_name":"Stringham","cvt":"161867b85f30ec1060db94c744a190de8bbe031d","postal_code":"84047","points_balance":0},"user":{"email":"cs@test.com","first_name":"Cody","last_name":"Stringham","reg_id":1293466,"roles":[],"has_password":true,"password_expired":false,"user_id":280895420,"account_enabled":true,"account_locked":false,"account_validated":true}}]}'
|
50
107
|
http_version:
|
51
|
-
recorded_at:
|
52
|
-
recorded_with: VCR
|
108
|
+
recorded_at: Sun, 01 Jul 2018 04:23:26 GMT
|
109
|
+
recorded_with: VCR 4.0.0
|