--- http_interactions: - request: method: get uri: https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens?per_page=1 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: - Thu, 28 Jun 2018 20:29:09 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: - '9769' Etag: - '"b113acf22d793bbb1cf58213d86e2fe7"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - f827423f-3d1e-4498-b6e7-aedc81f167a7 X-Runtime: - '0.043608' 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", "links": { "show_token": "https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens/523" } } ] } http_version: recorded_at: Thu, 28 Jun 2018 20:29:09 GMT - request: method: get uri: https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens?per_page=1 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:19:31 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: - '9907' Etag: - '"b113acf22d793bbb1cf58213d86e2fe7"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - eceae308-3501-42ad-924d-37e6f508054f X-Runtime: - '0.044151' 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", "links": { "show_token": "https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens/523" } } ] } http_version: recorded_at: Sun, 01 Jul 2018 04:19:31 GMT - request: method: get uri: https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens?per_page=1 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:24 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: - '9891' Etag: - '"b113acf22d793bbb1cf58213d86e2fe7"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 005a6000-fa70-4ba3-98b1-e3770ef9cece X-Runtime: - '0.039355' 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", "links": { "show_token": "https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens/523" } } ] } http_version: recorded_at: Sun, 01 Jul 2018 04:24:24 GMT recorded_with: VCR 4.0.0