--- http_interactions: - request: method: post uri: http://localhost:5002/api/v4/enrollment/ body: encoding: UTF-8 string: '{"action":"Change","client_id":"x12parse","correlation_id":"123456789","deleted":false,"dependents":[],"insert_dt":"Wed Mar 26 22:18:47 2014","payer":{"tax_id":"654456654"},"purpose":"Original","reference_number":"12456","sponsor":{"tax_id":"999888777"},"subscriber":{"address":{"city":"CAMP HILL","county":"CUMBERLAND","line":"100 MARKET ST","line2":"APT 3G","postal_code":"17011","state":"PA"},"benefit_status":"Active","benefits":[{"begin_date":"Sat Jun 1 00:00:00 1996","benefit_type":"Health","coordination_of_benefits":[{"group_or_policy_number":"890111","payer_responsibility":"Primary","status":"Unknown"}],"late_enrollment":false,"maintenance_type":"Addition"},{"begin_date":"Sat Jun 1 00:00:00 1996","benefit_type":"Dental","late_enrollment":false,"maintenance_type":"Addition"},{"begin_date":"Sat Jun 1 00:00:00 1996","benefit_type":"Vision","late_enrollment":false,"maintenance_type":"Addition"}],"birth_date":"Fri Aug 16 00:00:00 1940","contacts":[{"communication_number2":"7172341240","communication_type2":"Work Phone Number","primary_communication_number":"7172343334","primary_communication_type":"Home Phone Number"}],"eligibility_begin_date":"Thu May 23 00:00:00 1996","employment_status":"Full-time","first_name":"JOHN","gender":"Male","group_or_policy_number":"123456001","handicapped":false,"last_name":"DOE","maintenance_reason":"Active","maintenance_type":"Addition","member_id":"123456789","middle_name":"P","relationship":"Self","ssn":"123456789","subscriber_number":"123456789","substance_abuse":false,"tobacco_use":false},"trading_partner_id":"MOCKPAYER","update_dt":"Wed Mar 26 22:18:47 2014"}' headers: User-Agent: - pokitdok-ruby 0.4 ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0] Authorization: - Bearer wRjqVdn8ezPmx5uviVocwL2u1edtJ8g809Tn4Ob5 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 200 message: OK headers: Content-Type: - text/html; charset=utf-8 Content-Length: - '2535' Mimetype: - application/json Charset: - utf-8 Server: - Werkzeug/0.9.4 Python/2.7.3 Date: - Fri, 06 Jun 2014 17:15:35 GMT body: encoding: UTF-8 string: '{"meta": {"rate_limit_amount": 28, "rate_limit_reset": 1402077424, "processing_time": 10, "rate_limit_cap": 8434, "credits_remaining": 9942, "credits_billed": 1}, "data": {"units_of_work": 1, "name": "enrollment", "parameters": {"reference_number": "12456", "version": "4.0.0", "payer": {"tax_id": "654456654"}, "update_dt": "Wed Mar 26 22:18:47 2014", "deleted": false, "major_version": "4", "subscriber": {"maintenance_type": "Addition", "first_name": "JOHN", "last_name": "DOE", "benefits": [{"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type": "Health", "coordination_of_benefits": [{"status": "Unknown", "group_or_policy_number": "890111", "payer_responsibility": "Primary"}]}, {"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type": "Dental"}, {"maintenance_type": "Addition", "late_enrollment": false, "begin_date": "Sat Jun 1 00:00:00 1996", "benefit_type": "Vision"}], "relationship": "Self", "contacts": [{"communication_type2": "Work Phone Number", "primary_communication_type": "Home Phone Number", "communication_number2": "7172341240", "primary_communication_number": "7172343334"}], "benefit_status": "Active", "gender": "Male", "employment_status": "Full-time", "subscriber_number": "123456789", "group_or_policy_number": "123456001", "maintenance_reason": "Active", "handicapped": false, "eligibility_begin_date": "Thu May 23 00:00:00 1996", "ssn": "123456789", "tobacco_use": false, "member_id": "123456789", "birth_date": "Fri Aug 16 00:00:00 1940", "middle_name": "P", "substance_abuse": false, "address": {"city": "CAMP HILL", "line2": "APT 3G", "county": "CUMBERLAND", "state": "PA", "postal_code": "17011", "line": "100 MARKET ST"}}, "correlation_id": "b3648059-40ca-43e5-919b-c0cb22910d80", "insert_dt": "Wed Mar 26 22:18:47 2014", "client_id": "4nhMZTpLxBxmiocveVb5", "purpose": "Original", "trading_partner_id": "MOCKPAYER", "action": "Change", "dependents": [], "sponsor": {"tax_id": "999888777"}}, "remaining_transitions": ["generate", "store", "transmit", "wait", "receive", "process", "complete"], "state": {"name": "scheduled", "title": "Scheduled for next available transmission to Trading Partner"}, "trading_partner_id": "MOCKPAYER", "id": "5391f73756c02c1338283bb9", "transition_path": ["schedule", "generate", "store", "transmit", "wait", "receive", "process", "complete"], "history": [{"record_dt": "2014-06-06T17:15:35.891977", "name": "init", "title": "Initializing"}]}}' http_version: recorded_at: Fri, 06 Jun 2014 17:15:35 GMT recorded_with: VCR 2.9.2