access 2.0.41 → 2.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/access/campaign.rb +2 -0
- data/lib/access/filter.rb +0 -7
- data/lib/access/response.rb +4 -4
- data/lib/access/version.rb +1 -1
- data/test/access/campaign_test.rb +11 -9
- data/test/access/channel_test.rb +1 -0
- data/test/access/filter_test.rb +0 -4
- data/test/access/spot_test.rb +4 -7
- data/test/vcr/cassettes/all_usage.yml +36 -44
- data/test/vcr/cassettes/autocomplete_search.yml +49 -48
- data/test/vcr/cassettes/autocomplete_search_categories.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_locations.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_offers.yml +29 -29
- data/test/vcr/cassettes/autocomplete_search_stores.yml +27 -27
- data/test/vcr/cassettes/campaign_find.yml +182 -5526
- data/test/vcr/cassettes/campaign_search.yml +1206 -5525
- data/test/vcr/cassettes/category_find.yml +32 -26
- data/test/vcr/cassettes/category_search.yml +51 -51
- data/test/vcr/cassettes/category_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/channel_find.yml +7 -4
- data/test/vcr/cassettes/channel_search.yml +17 -15
- data/test/vcr/cassettes/filter_find.yml +131 -25
- data/test/vcr/cassettes/filter_search.yml +29 -31
- data/test/vcr/cassettes/find_redemption_by_member_key.yml +34 -34
- data/test/vcr/cassettes/location_find.yml +459 -438
- data/test/vcr/cassettes/location_search.yml +93 -84
- data/test/vcr/cassettes/location_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/member_location_recent.yml +4 -8
- data/test/vcr/cassettes/member_query_frequent.yml +4 -8
- data/test/vcr/cassettes/member_query_recent.yml +4 -8
- data/test/vcr/cassettes/member_show_failure.yml +3 -3
- data/test/vcr/cassettes/member_show_success.yml +4 -4
- data/test/vcr/cassettes/member_update_success.yml +4 -139
- data/test/vcr/cassettes/national_stores.yml +1775 -1827
- data/test/vcr/cassettes/oauth_application_find.yml +34 -35
- data/test/vcr/cassettes/oauth_application_search.yml +36 -37
- data/test/vcr/cassettes/oauth_application_token_find.yml +46 -47
- data/test/vcr/cassettes/oauth_application_token_search.yml +47 -48
- data/test/vcr/cassettes/offer_find.yml +117 -108
- data/test/vcr/cassettes/offer_find_uses_remaining.yml +8 -8
- data/test/vcr/cassettes/offer_find_with_offer_uses_remaining.yml +97 -95
- data/test/vcr/cassettes/offer_search.yml +113 -113
- data/test/vcr/cassettes/offer_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/offer_with_aggregations.yml +843 -844
- data/test/vcr/cassettes/redeem_offer_no_redeem_type.yml +4 -4
- data/test/vcr/cassettes/redeem_offer_with_redeem_type.yml +6 -6
- data/test/vcr/cassettes/redeem_offer_with_redeem_type_for_uses_remaining_test.yml +5 -5
- data/test/vcr/cassettes/search_redemption_by_member_key.yml +101 -101
- data/test/vcr/cassettes/search_redemption_by_member_key_without_redemptions.yml +27 -27
- data/test/vcr/cassettes/spot_find.yml +9 -7
- data/test/vcr/cassettes/spot_search_by_campaign.yml +2901 -235
- data/test/vcr/cassettes/spot_search_by_channel.yml +1142 -238
- data/test/vcr/cassettes/store_find.yml +32 -26
- data/test/vcr/cassettes/store_search.yml +28 -28
- data/test/vcr/cassettes/store_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/subcategory_find.yml +32 -26
- data/test/vcr/cassettes/token_find.yml +54 -48
- data/test/vcr/cassettes/token_get_first_token.yml +56 -50
- data/test/vcr/cassettes/token_search.yml +56 -50
- data/test/vcr/cassettes/usage.yml +36 -44
- data/test/vcr/cassettes/usage_other.yml +36 -44
- data/test/vcr/cassettes/user_register_failure.yml +3 -3
- data/test/vcr/cassettes/user_update_success.yml +4 -4
- data/test/vcr/cassettes/verify_filter.yml +37 -37
- data/test/vcr/cassettes/verify_token.yml +31 -27
- metadata +2 -4
- data/test/vcr/cassettes/offer_uses_remaining.yml +0 -307
@@ -18,97 +18,106 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:34:40 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
45
|
+
Etag:
|
46
|
+
- '"fbe77c44215489b5658696df4f0e98c8"'
|
29
47
|
Cache-Control:
|
30
48
|
- max-age=0, private, must-revalidate
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 20:04:59 GMT
|
35
|
-
Etag:
|
36
|
-
- '"108dd3d8821c8964bf840746fbbe5f53"'
|
37
|
-
Server:
|
38
|
-
- nginx/1.6.2
|
39
|
-
X-Content-Type-Options:
|
40
|
-
- nosniff
|
41
|
-
X-Frame-Options:
|
42
|
-
- SAMEORIGIN
|
43
49
|
X-Request-Id:
|
44
|
-
-
|
50
|
+
- dfdec915-0090-4c4f-97fc-645970e5d6ba
|
45
51
|
X-Runtime:
|
46
|
-
- '0.
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
Content-Length:
|
50
|
-
- '2504'
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
52
|
+
- '0.022466'
|
53
53
|
body:
|
54
|
-
encoding:
|
55
|
-
string:
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
54
|
+
encoding: UTF-8
|
55
|
+
string: |-
|
56
|
+
{
|
57
|
+
"info": {
|
58
|
+
"total_results": 197510,
|
59
|
+
"current_page": 1,
|
60
|
+
"total_pages": 197510,
|
61
|
+
"results_per_page": 1
|
62
|
+
},
|
63
|
+
"locations": [
|
64
|
+
{
|
65
|
+
"search_relevance": 1.0,
|
66
|
+
"physical_location": {
|
67
|
+
"location_name": "TGF Hair Salon",
|
68
|
+
"web_address": "http://www.tgfhairsalons.com",
|
69
|
+
"description": "",
|
70
|
+
"location_key": 294942,
|
71
|
+
"phone_number": "281-398-6000",
|
72
|
+
"postal_code": "77450",
|
73
|
+
"country": "US",
|
74
|
+
"street_address": "22072 Whiemer Pkwy",
|
75
|
+
"extended_street_address": null,
|
76
|
+
"city_locality": "Katy",
|
77
|
+
"state_region": "TX",
|
78
|
+
"geolocation_array": [
|
79
|
+
-95.74558,
|
80
|
+
29.7625
|
81
|
+
],
|
82
|
+
"geolocation": {
|
83
|
+
"lat": 29.7625,
|
84
|
+
"lon": -95.74558
|
85
|
+
}
|
86
|
+
},
|
87
|
+
"location_store": {
|
88
|
+
"name": "TGF Hair Salon",
|
89
|
+
"description": "We are a full-service salon offering affordable prices. Our talented stylists offer fast, friendly service and in-depth knowledge about a wide variety of professional haircare products. We've got everything you need to keep looking your best.",
|
90
|
+
"store_key": 18990943
|
91
|
+
},
|
92
|
+
"location_categories": [
|
93
|
+
{
|
94
|
+
"category_name": "Salon",
|
95
|
+
"category_key": 1036,
|
96
|
+
"category_parent_key": 53,
|
97
|
+
"category_parent_name": "Health & Beauty",
|
98
|
+
"category_type": "subcategory"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"national": false,
|
102
|
+
"logo_url": "https://static-demo.accessdevelopment.com/brand/d85c57bdbf8a840747a2aa1662e7f8f3edb52bf6/original.png",
|
103
|
+
"location_photos": [
|
104
|
+
|
105
|
+
],
|
106
|
+
"active_offer_count": 1,
|
107
|
+
"offer_group_keys": [
|
108
|
+
89664
|
109
|
+
],
|
110
|
+
"links": {
|
111
|
+
"show_location": "https://offer-demo.adcrws.com/v1/locations/294942",
|
112
|
+
"show_store": "https://offer-demo.adcrws.com/v1/stores/18990943",
|
113
|
+
"find_offers_at_this_location": "https://offer-demo.adcrws.com/v1/offers?location_key=294942"
|
114
|
+
}
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"links": {
|
118
|
+
"next_page": "https://offer-demo.adcrws.com/v1/locations?member_key=API_RUBY_GEM_TEST&page=2&per_page=1"
|
119
|
+
}
|
120
|
+
}
|
112
121
|
http_version:
|
113
|
-
recorded_at:
|
114
|
-
recorded_with: VCR
|
122
|
+
recorded_at: Thu, 21 Jan 2016 18:34:45 GMT
|
123
|
+
recorded_with: VCR 3.0.0
|
@@ -18,36 +18,36 @@ http_interactions:
|
|
18
18
|
code: 401
|
19
19
|
message: Unauthorized
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:34:39 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
29
45
|
Cache-Control:
|
30
46
|
- no-cache
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 20:05:00 GMT
|
35
|
-
Server:
|
36
|
-
- nginx/1.6.2
|
37
|
-
X-Content-Type-Options:
|
38
|
-
- nosniff
|
39
|
-
X-Frame-Options:
|
40
|
-
- SAMEORIGIN
|
41
47
|
X-Request-Id:
|
42
|
-
-
|
48
|
+
- ff816002-b39d-4030-bb9c-8803d80efe65
|
43
49
|
X-Runtime:
|
44
|
-
- '0.
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
47
|
-
Content-Length:
|
48
|
-
- '77'
|
49
|
-
Connection:
|
50
|
-
- keep-alive
|
50
|
+
- '0.008681'
|
51
51
|
body:
|
52
52
|
encoding: UTF-8
|
53
53
|
string: |-
|
@@ -56,5 +56,5 @@ http_interactions:
|
|
56
56
|
"status": 401
|
57
57
|
}
|
58
58
|
http_version:
|
59
|
-
recorded_at:
|
60
|
-
recorded_with: VCR
|
59
|
+
recorded_at: Thu, 21 Jan 2016 18:34:44 GMT
|
60
|
+
recorded_with: VCR 3.0.0
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.8.0
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Jan 2016 18:34:14 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Transfer-Encoding:
|
@@ -42,18 +42,14 @@ http_interactions:
|
|
42
42
|
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
43
|
Access-Control-Max-Age:
|
44
44
|
- '1728000'
|
45
|
-
X-Ratelimit-Limit:
|
46
|
-
- '1000'
|
47
|
-
X-Ratelimit-Remaining:
|
48
|
-
- '996'
|
49
45
|
Etag:
|
50
46
|
- '"c93c9ce4adce02186714eea8c731eb95"'
|
51
47
|
Cache-Control:
|
52
48
|
- max-age=0, private, must-revalidate
|
53
49
|
X-Request-Id:
|
54
|
-
-
|
50
|
+
- 30361232-b111-416f-9519-598f6e3121a8
|
55
51
|
X-Runtime:
|
56
|
-
- '
|
52
|
+
- '8.243233'
|
57
53
|
body:
|
58
54
|
encoding: UTF-8
|
59
55
|
string: |-
|
@@ -73,5 +69,5 @@ http_interactions:
|
|
73
69
|
]
|
74
70
|
}
|
75
71
|
http_version:
|
76
|
-
recorded_at:
|
72
|
+
recorded_at: Thu, 21 Jan 2016 18:34:19 GMT
|
77
73
|
recorded_with: VCR 3.0.0
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.8.0
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Jan 2016 18:33:57 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Transfer-Encoding:
|
@@ -42,18 +42,14 @@ http_interactions:
|
|
42
42
|
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
43
|
Access-Control-Max-Age:
|
44
44
|
- '1728000'
|
45
|
-
X-Ratelimit-Limit:
|
46
|
-
- '1000'
|
47
|
-
X-Ratelimit-Remaining:
|
48
|
-
- '998'
|
49
45
|
Etag:
|
50
46
|
- '"ba857dc26afd3e67e0f5db25a2ae9332"'
|
51
47
|
Cache-Control:
|
52
48
|
- max-age=0, private, must-revalidate
|
53
49
|
X-Request-Id:
|
54
|
-
-
|
50
|
+
- 3d92c074-41d6-4429-a624-5eb93804f53a
|
55
51
|
X-Runtime:
|
56
|
-
- '
|
52
|
+
- '3.268299'
|
57
53
|
body:
|
58
54
|
encoding: UTF-8
|
59
55
|
string: |-
|
@@ -73,5 +69,5 @@ http_interactions:
|
|
73
69
|
]
|
74
70
|
}
|
75
71
|
http_version:
|
76
|
-
recorded_at:
|
72
|
+
recorded_at: Thu, 21 Jan 2016 18:34:02 GMT
|
77
73
|
recorded_with: VCR 3.0.0
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.8.0
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Thu, 21 Jan 2016 18:34:06 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json
|
27
27
|
Transfer-Encoding:
|
@@ -42,18 +42,14 @@ http_interactions:
|
|
42
42
|
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
43
|
Access-Control-Max-Age:
|
44
44
|
- '1728000'
|
45
|
-
X-Ratelimit-Limit:
|
46
|
-
- '1000'
|
47
|
-
X-Ratelimit-Remaining:
|
48
|
-
- '997'
|
49
45
|
Etag:
|
50
46
|
- '"bb19e0d1cb68c1044602f186cc21863a"'
|
51
47
|
Cache-Control:
|
52
48
|
- max-age=0, private, must-revalidate
|
53
49
|
X-Request-Id:
|
54
|
-
-
|
50
|
+
- a2e9f0fc-4e75-4907-92be-c990608d6fa5
|
55
51
|
X-Runtime:
|
56
|
-
- '
|
52
|
+
- '8.219986'
|
57
53
|
body:
|
58
54
|
encoding: UTF-8
|
59
55
|
string: |-
|
@@ -73,5 +69,5 @@ http_interactions:
|
|
73
69
|
]
|
74
70
|
}
|
75
71
|
http_version:
|
76
|
-
recorded_at:
|
72
|
+
recorded_at: Thu, 21 Jan 2016 18:34:10 GMT
|
77
73
|
recorded_with: VCR 3.0.0
|
@@ -33,17 +33,17 @@ http_interactions:
|
|
33
33
|
X-Frame-Options:
|
34
34
|
- DENY
|
35
35
|
X-Application-Context:
|
36
|
-
- application:main,stage:
|
36
|
+
- application:main,stage:10120
|
37
37
|
Content-Type:
|
38
38
|
- application/json;charset=UTF-8
|
39
39
|
Transfer-Encoding:
|
40
40
|
- chunked
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Thu, 21 Jan 2016 18:38:35 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
45
|
string: '{"message":"Member does not exist(provider_member_cid: 12345, program_id
|
46
46
|
112233). ","status":404}'
|
47
47
|
http_version:
|
48
|
-
recorded_at:
|
48
|
+
recorded_at: Thu, 21 Jan 2016 18:37:06 GMT
|
49
49
|
recorded_with: VCR 3.0.0
|
@@ -33,16 +33,16 @@ http_interactions:
|
|
33
33
|
X-Frame-Options:
|
34
34
|
- DENY
|
35
35
|
X-Application-Context:
|
36
|
-
- application:main,stage:
|
36
|
+
- application:main,stage:10110
|
37
37
|
Content-Type:
|
38
38
|
- application/json;charset=UTF-8
|
39
39
|
Transfer-Encoding:
|
40
40
|
- chunked
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Thu, 21 Jan 2016 18:38:36 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"username":"cs@test.com","birth_date":"
|
45
|
+
string: '{"username":"cs@test.com","birth_date":"2016-01-21","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"2015-12-15T00:33:37.372+0000","modified_dts":"2016-01-21T17:51:54.765+0000","last_registered_dts":"2015-10-07T19:57:56.456+0000","active":false,"messaging":null,"first_name":"Tep","last_name":"No","member_id":89738626,"program_id":2412,"member_key":"226872","program_key":"TYP123","cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","lat_lon_address":null,"address":null}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Thu, 21 Jan 2016 18:37:07 GMT
|
48
48
|
recorded_with: VCR 3.0.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://mms-stage.adcrws.com/v1/members/226872?program_id=2412
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"birth_date":"
|
8
|
+
string: '{"birth_date":"2016-01-21"}'
|
9
9
|
headers:
|
10
10
|
Access-Token:
|
11
11
|
- ACCESS_TOKEN
|
@@ -39,145 +39,10 @@ http_interactions:
|
|
39
39
|
Transfer-Encoding:
|
40
40
|
- chunked
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Thu, 21 Jan 2016 18:38:37 GMT
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"username":"cs@test.com","birth_date":"
|
45
|
+
string: '{"username":"cs@test.com","birth_date":"2016-01-21","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"2015-12-15T00:33:37.372+0000","modified_dts":"2016-01-21T17:51:54.765+0000","last_registered_dts":"2015-10-07T19:57:56.456+0000","active":false,"messaging":null,"first_name":"Tep","last_name":"No","member_id":89738626,"program_id":2412,"member_key":"226872","program_key":"TYP123","cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","lat_lon_address":null,"address":null}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
48
|
-
- request:
|
49
|
-
method: put
|
50
|
-
uri: https://mms-stage.adcrws.com/v1/members/226872?program_id=2412
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"birth_date":"2016-01-04"}'
|
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: OK
|
65
|
-
headers:
|
66
|
-
Server:
|
67
|
-
- Apache-Coyote/1.1
|
68
|
-
X-Content-Type-Options:
|
69
|
-
- nosniff
|
70
|
-
X-Xss-Protection:
|
71
|
-
- 1; mode=block
|
72
|
-
Cache-Control:
|
73
|
-
- no-cache, no-store, max-age=0, must-revalidate
|
74
|
-
Pragma:
|
75
|
-
- no-cache
|
76
|
-
Expires:
|
77
|
-
- '0'
|
78
|
-
X-Frame-Options:
|
79
|
-
- DENY
|
80
|
-
X-Application-Context:
|
81
|
-
- application:main,stage:10120
|
82
|
-
Content-Type:
|
83
|
-
- application/json;charset=UTF-8
|
84
|
-
Transfer-Encoding:
|
85
|
-
- chunked
|
86
|
-
Date:
|
87
|
-
- Mon, 04 Jan 2016 19:56:02 GMT
|
88
|
-
body:
|
89
|
-
encoding: UTF-8
|
90
|
-
string: '{"username":"cs@test.com","birth_date":"2016-01-04","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"2015-12-15T17:08:07.614+0000","modified_dts":"2015-12-15T17:08:25.300+0000","last_registered_dts":"2015-10-07T19:57:56.456+0000","active":true,"messaging":null,"first_name":"Cody","last_name":"Stringham","member_id":89738626,"program_id":2412,"member_key":"226872","program_key":"TYP123","cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","lat_lon_address":null,"address":null}'
|
91
|
-
http_version:
|
92
|
-
recorded_at: Mon, 04 Jan 2016 19:54:37 GMT
|
93
|
-
- request:
|
94
|
-
method: put
|
95
|
-
uri: https://mms-stage.adcrws.com/v1/members/226872?program_id=2412
|
96
|
-
body:
|
97
|
-
encoding: UTF-8
|
98
|
-
string: '{"birth_date":"2016-01-08"}'
|
99
|
-
headers:
|
100
|
-
Access-Token:
|
101
|
-
- ACCESS_TOKEN
|
102
|
-
Content-Type:
|
103
|
-
- application/json
|
104
|
-
Accept:
|
105
|
-
- application/json
|
106
|
-
response:
|
107
|
-
status:
|
108
|
-
code: 200
|
109
|
-
message: OK
|
110
|
-
headers:
|
111
|
-
Server:
|
112
|
-
- Apache-Coyote/1.1
|
113
|
-
X-Content-Type-Options:
|
114
|
-
- nosniff
|
115
|
-
X-Xss-Protection:
|
116
|
-
- 1; mode=block
|
117
|
-
Cache-Control:
|
118
|
-
- no-cache, no-store, max-age=0, must-revalidate
|
119
|
-
Pragma:
|
120
|
-
- no-cache
|
121
|
-
Expires:
|
122
|
-
- '0'
|
123
|
-
X-Frame-Options:
|
124
|
-
- DENY
|
125
|
-
X-Application-Context:
|
126
|
-
- application:main,stage:10110
|
127
|
-
Content-Type:
|
128
|
-
- application/json;charset=UTF-8
|
129
|
-
Transfer-Encoding:
|
130
|
-
- chunked
|
131
|
-
Date:
|
132
|
-
- Fri, 08 Jan 2016 17:14:49 GMT
|
133
|
-
body:
|
134
|
-
encoding: UTF-8
|
135
|
-
string: '{"username":"cs@test.com","birth_date":"2016-01-08","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"2016-01-08T17:14:47.489+0000","modified_dts":"2016-01-08T17:14:47.489+0000","last_registered_dts":"2015-10-07T19:57:56.456+0000","active":true,"messaging":null,"first_name":"Cody","last_name":"Stringham","member_id":89738626,"program_id":2412,"member_key":"226872","program_key":"TYP123","cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","lat_lon_address":null,"address":null}'
|
136
|
-
http_version:
|
137
|
-
recorded_at: Fri, 08 Jan 2016 17:13:22 GMT
|
138
|
-
- request:
|
139
|
-
method: put
|
140
|
-
uri: https://mms-stage.adcrws.com/v1/members/226872?program_id=2412
|
141
|
-
body:
|
142
|
-
encoding: UTF-8
|
143
|
-
string: '{"birth_date":"2016-01-12"}'
|
144
|
-
headers:
|
145
|
-
Access-Token:
|
146
|
-
- ACCESS_TOKEN
|
147
|
-
Content-Type:
|
148
|
-
- application/json
|
149
|
-
Accept:
|
150
|
-
- application/json
|
151
|
-
response:
|
152
|
-
status:
|
153
|
-
code: 200
|
154
|
-
message: OK
|
155
|
-
headers:
|
156
|
-
Server:
|
157
|
-
- Apache-Coyote/1.1
|
158
|
-
X-Content-Type-Options:
|
159
|
-
- nosniff
|
160
|
-
X-Xss-Protection:
|
161
|
-
- 1; mode=block
|
162
|
-
Cache-Control:
|
163
|
-
- no-cache, no-store, max-age=0, must-revalidate
|
164
|
-
Pragma:
|
165
|
-
- no-cache
|
166
|
-
Expires:
|
167
|
-
- '0'
|
168
|
-
X-Frame-Options:
|
169
|
-
- DENY
|
170
|
-
X-Application-Context:
|
171
|
-
- application:main,stage:10110
|
172
|
-
Content-Type:
|
173
|
-
- application/json;charset=UTF-8
|
174
|
-
Transfer-Encoding:
|
175
|
-
- chunked
|
176
|
-
Date:
|
177
|
-
- Tue, 12 Jan 2016 18:09:40 GMT
|
178
|
-
body:
|
179
|
-
encoding: UTF-8
|
180
|
-
string: '{"username":"cs@test.com","birth_date":"2016-01-12","gender":null,"home_address":null,"default_location":null,"mobile_phone_number":null,"created_dts":"2015-12-15T00:33:37.372+0000","modified_dts":"2015-12-15T00:33:55.658+0000","last_registered_dts":"2015-10-07T19:57:56.456+0000","active":true,"messaging":null,"first_name":"Tep","last_name":"No","member_id":89738626,"program_id":2412,"member_key":"226872","program_key":"TYP123","cvt":"6fa6c66c4edc07b767f147a6e5fc614c20797ef0","lat_lon_address":null,"address":null}'
|
181
|
-
http_version:
|
182
|
-
recorded_at: Tue, 12 Jan 2016 18:08:13 GMT
|
47
|
+
recorded_at: Thu, 21 Jan 2016 18:37:07 GMT
|
183
48
|
recorded_with: VCR 3.0.0
|