--- http_interactions: - request: method: get uri: https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens/523 body: encoding: US-ASCII string: '' 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:24:22 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: - GET 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: - '9894' Etag: - '"a3eaeb3f4c748351ef4534faf035f123"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 02bf8405-1481-4a8c-9c82-d41a61668fc9 X-Runtime: - '0.041966' body: encoding: UTF-8 string: |- { "access_tokens": [ { "application_id": 503, "token": "c30f1d24a8c10e0fd3e36bc4fe79631025e890849b7deb6dc830e31a3c571393", "expires_in": null, "revoked_at": null, "created_at": "2015-05-04T18:51:26.621Z", "oauth_access_token_id": 523, "application_name": "TCICP Travel Services (pcid:200073)", "application_owner_id": 503, "application_owner_type": "Program", "program_id": 253970117, "program_name": "TCICP Travel Services", "program_customer_identifier": "200073", "program_start_dts": "2015-05-04T12:51:07.219Z", "program_end_dts": "2015-12-04T00:00:00.000Z", "organization_id": 2001964, "organization_name": "TCICP Travel Services", "organization_customer_identifier": "2001964", "filter_id": 23, "filter_name": "ACCESS PERKS - PROFESSIONAL (auto, car rental, dining, entertainment/rec, health/beauty, hotel, shopping)", "filter": "{\"offers\":[{\"term\":{\"offer_set\":\"DISCOUNT\"}},{\"bool\":{\"should\":[{\"terms\":{\"categories.category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"categories.category_parent_key\":[51,58,39,59,53,44,45]}}]}}],\"categories\":[{\"bool\":{\"should\":[{\"terms\":{\"category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"category_parent_key\":[51,58,39,59,53,44,45]}}]}}],\"stores\":[{\"bool\":{\"should\":[{\"terms\":{\"store_categories.category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"store_categories.category_parent_key\":[51,58,39,59,53,44,45]}}]}}],\"locations\":[{\"bool\":{\"should\":[{\"terms\":{\"location_categories.category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"location_categories.category_parent_key\":[51,58,39,59,53,44,45]}}]}}]}", "program_filter_id": 502, "domains": [ ], "application_scopes": [ "api" ], "token_status": "inactive" } ] } http_version: recorded_at: Sun, 01 Jul 2018 04:24:22 GMT recorded_with: VCR 4.0.0