--- http_interactions: - request: method: post uri: http://test.qt.sealink.com.au:8080/api/reservations.json body: encoding: UTF-8 string: resource_id=4&first_travel_date=2016-03-01&passenger_types_numbers[1]=2&passenger_types_numbers[2]=1&access_key= headers: Content-Length: - '0' response: status: code: 200 message: 'OK ' headers: P3p: - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT" Content-Type: - application/json; charset=utf-8 Etag: - W/"a4d41818773c0fcb0b1be4863075ec51" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - c538ad2c-09c9-431d-91ac-91f3d5bace19 X-Runtime: - '0.929983' Date: - Fri, 01 Jan 2016 02:32:34 GMT X-Rack-Cache: - invalidate, pass Vary: - Origin X-Content-Type-Options: - nosniff X-Download-Options: - noopen X-Frame-Options: - sameorigin X-Permitted-Cross-Domain-Policies: - none X-Xss-Protection: - 1; mode=block Server: - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26) Content-Length: - '2027' Connection: - Keep-Alive Set-Cookie: - _session_id=NU9mWFp4WExZNWJZMWtSY2s5Znc0SUJMK0tseU1YOXY0UThrczM3MHZZYlJYQ2hFV2ZzZ0ViWTQyVVBqMHRRV0JvVUJYS1Z0Vmp4VlhNQ2c3RzdaMzk3YXZIUkVnaU1hbk41TmJ6VEdFSFk9LS1uazA2R2drV0pOSElORVdQVWo0c2xRPT0%3D--1a6bba2eb597a3a47a5607d2eb93daa9e370332a; path=/; HttpOnly body: encoding: UTF-8 string: '{"id":7,"booking_id":8,"description":"You have declined Travel Insurance for your booking. If you wish to add Travel Insurance to this booking, please contact the SeaLink Travel Group on 13 13 01 prior to commencing your travels.","comment":null,"active":true,"service_ids":[7],"resource_id":4,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":7,"itinerary_footer":true,"fare_basis_set_id":8,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":null,"fare_basis_pointer_id":4,"pick_up_info":null,"drop_off_info":null,"selection_name":"Travel Insurance - Declined","product_name_underscore":"travel_insurance","resource_class_name_underscore":"insurance","resource_class_name":"Insurance","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-01"},"durational":true,"duration":1,"span":1,"duration_units":"Days","date_start_label":"Start Date:","date_end_label":"End Date:","expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto Priced as: Rack Rate","gross_including_packaged_item_in_cents":0,"pre_adjusted_gross_including_packaged_item_in_cents":0,"gross_in_cents":0,"pre_adjusted_gross_in_cents":0,"pre_adjusted_commission_in_cents":0,"cost_in_cents":0,"rules":[],"package":false,"sub_reservation_depth":0,"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr notes_for_vendor","vendor_staff note_for_inventory_type_change"],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[],"passenger_splits":[],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{}}' http_version: recorded_at: Wed, 21 Mar 2018 04:40:41 GMT recorded_with: VCR 4.0.0