--- http_interactions: - request: method: put uri: https://mms-stage.adcrws.com/v1/users body: encoding: UTF-8 string: '{"email":"cs@test.com","password":"password","program_id":"2412","postal_code":"84101","member_key":"226872"}' headers: Access-Token: - "" Content-Type: - application/json Accept: - application/json response: status: code: 400 message: '' headers: Date: - Thu, 28 Jun 2018 16:27:40 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive X-Application-Context: - application:stage X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Pragma: - no-cache Expires: - '0' X-Frame-Options: - DENY body: encoding: UTF-8 string: '{"message":"Specified Member (MCID: 226872, program_id: 2412) does not have an user account.","status":400,"error_code":"USER_NOT_FOUND"}' http_version: recorded_at: Thu, 28 Jun 2018 16:27:40 GMT - request: method: put uri: https://mms-stage.adcrws.com/v1/users body: encoding: UTF-8 string: '{"email":"cs@test.com","password":"password","program_id":"2412","postal_code":"84101","member_key":"227889"}' headers: Access-Token: - "" Content-Type: - application/json Accept: - application/json response: status: code: 200 message: '' headers: Date: - Sun, 01 Jul 2018 04:23:25 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive X-Application-Context: - application:stage X-Content-Type-Options: - nosniff X-Xss-Protection: - 1; mode=block Cache-Control: - no-cache, no-store, max-age=0, must-revalidate Pragma: - no-cache Expires: - '0' X-Frame-Options: - DENY body: encoding: UTF-8 string: '{"users":[{"program_id":2412,"program_key":"TYP123","program_name":"Access Perks Demo","organization_id":2000896,"organization_key":"TYPDEMO","organization_name":"Access 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 Perks Demo"},"program":{"program_id":2412,"program_key":"TYP123","name":"Access 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},"active_license":{"end_dts":"2022-06-29T05:59:59.000+0000"}}]}' http_version: recorded_at: Sun, 01 Jul 2018 04:23:25 GMT recorded_with: VCR 4.0.0