--- http_interactions: - request: method: post uri: https://token-stage.adcrws.com/v1/filter body: encoding: UTF-8 string: '{"program_filter": {"offers": [{"or":[{"terms":{"categories.category_key":[ 39, 1007, 1008, 1009, 1010, 1011, 1012 ] } }, {"terms":{"categories.category_parent_key":[ 39, 1007, 1008, 1009, 1010, 1011, 1012]} } ]}, {"not": {"or": [{"terms":{"categories.category_key":[ 1007 ] } }, {"terms":{"categories.category_parent_key":[ 1007 ] } } ] } } ] } }' headers: Access-Token: - "" Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Server: - nginx/1.12.2 Date: - Thu, 28 Jun 2018 20:09:11 GMT Content-Type: - application/json Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Request-Method: - POST Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Max-Age: - '1728000' X-Ratelimit-Limit: - '10000' X-Ratelimit-Remaining: - '9843' Etag: - '"f355318010db3b09ebce68bd89a5a704"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 202be56d-e7f6-418b-946f-27289eb07e79 X-Runtime: - '0.072874' body: encoding: ASCII-8BIT string: !binary |- ewogICJtZXNzYWdlIjogIkVsYXN0aWNzZWFyY2ggbm8gbGlrZXk6IG9mZmVy cyDinajila/CsOKWocKw4p2p4pWv77i14pS74pSB4pS7IiwKICAic3RhdHVz IjogNDIyCn0= http_version: recorded_at: Thu, 28 Jun 2018 20:09:11 GMT - request: method: post uri: https://token-stage.adcrws.com/v1/filter body: encoding: UTF-8 string: '{"program_filter":{"offers":[{"bool":{"should":[{"terms":{"categories.category_key":[39,48]}},{"terms":{"categories.category_parent_key":[39,48]}}]}}]}}' headers: Access-Token: - "" Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Server: - nginx/1.12.2 Date: - Sun, 01 Jul 2018 04:23:56 GMT Content-Type: - application/json Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Request-Method: - POST Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Max-Age: - '1728000' X-Ratelimit-Limit: - '10000' X-Ratelimit-Remaining: - '9934' Etag: - '"ee1273608d5fd0209c939fc3dcb760b8"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 3f5efa76-a78b-43c2-8208-76e158b9b8e1 X-Runtime: - '0.086896' body: encoding: UTF-8 string: |- { "offers": { "offer_count": 63313, "categories": [ { "category_name": "Dining & Food", "category_key": 39, "category_type": "category", "offer_count": 60164, "subcategories": [ ] }, { "category_name": "Golf", "category_key": 48, "category_type": "category", "offer_count": 3149, "subcategories": [ ] }, { "category_name": "Entertainment & Recreation", "category_key": 59, "category_type": "category", "offer_count": 7, "subcategories": [ ] }, { "category_name": "Automotive", "category_key": 51, "category_type": "category", "offer_count": 5, "subcategories": [ ] }, { "category_name": "Shopping", "category_key": 45, "category_type": "category", "offer_count": 2, "subcategories": [ ] }, { "category_name": "Cruise", "category_key": 60, "category_type": "category", "offer_count": 1, "subcategories": [ ] } ], "redemption_methods": [ { "redemption_method": "instore_print", "offer_count": 56719 }, { "redemption_method": "instore", "offer_count": 37714 }, { "redemption_method": "link", "offer_count": 6255 }, { "redemption_method": "call", "offer_count": 204 } ] }, "categories": { "category_count": 123 }, "stores": { "store_count": 28202 }, "locations": { "location_count": 203815 } } http_version: recorded_at: Sun, 01 Jul 2018 04:23:57 GMT recorded_with: VCR 4.0.0