--- http_interactions: - request: method: post uri: http://test.qt.sealink.com.au:8080/reservation_for/scheduled_trips/find_services_for.json body: encoding: UTF-8 string: product_type_id=6&route_id=3&forward%5Bfirst_travel_date%5D=2016-03-01&forward%5Bfrom_route_stop_id%5D=5&forward%5Bto_route_stop_id%5D=14&forward%5Bpassenger_types%5D%5B1%5D=2 headers: Content-Length: - '0' X-API-KEY: - 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/"21bc7368405df99d401d745a726c5d71" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - aa068020-2b15-4e22-b8b7-98316c6535dd X-Runtime: - '1.328645' Date: - Fri, 01 Jan 2016 02:32:31 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: - '2915' Connection: - Keep-Alive Set-Cookie: - _session_id=ZG9lZCszMmZOYjVQcFhDdXpZRmZMOEZzQTlGQlJTaHRoWkUrZkpUc3dqeWZ2MWs4a08wQmozYkNnM0Y2M0dqWW8reTl0eEtOSk42OXZEQmZjSVo5UTN6allZSUVIU0duaUdzdnlTK2UwbVU9LS1EYmM5clMzN3h0bTdhbmVjY2tYaHFBPT0%3D--042d1d78d0215cbe941bfa1fa05b07ad2f69e583; path=/; HttpOnly body: encoding: UTF-8 string: '[{"product_id":"9","product_id_field":"trip_id","resource_id":2,"resource_class_name_underscore":"scheduled_trip_resource","product_name_underscore":"mainland_coach_transfers","tariff_level_id":1,"service_ids":[25,26,27],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":3000,"pre_adjusted_price_in_cents":3000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"06:45am - Ferry ConnectionDeparting Adelaide - AM","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan class=\"money positive\"\u003e$30.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":3000,"price_breakdown_vehicles_in_cents":0,"trip_id":9,"stop_departure_time":"2000-01-01T06:45:00.000Z","stop_arrival_time":"2000-01-01T08:30:00.000Z","from_route_stop_attributes":{"id":5,"inventory_controlled":true,"route_id":3,"position":1,"created_at":null,"updated_at":null,"stop_id":3,"name":"Adelaide Central Bus Station","code":"ACBS"},"to_route_stop_attributes":{"id":14,"inventory_controlled":true,"route_id":3,"position":10,"created_at":null,"updated_at":null,"stop_id":12,"name":"Cape Jervis Ferry Terminal","code":null},"departure_time":"2000-01-01T06:00:00.000Z","arrival_time":"2000-01-01T08:30:00.000Z"},{"product_id":"13","product_id_field":"trip_id","resource_id":2,"resource_class_name_underscore":"scheduled_trip_resource","product_name_underscore":"mainland_coach_transfers","tariff_level_id":1,"service_ids":[28,29,30],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":3000,"pre_adjusted_price_in_cents":3000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"03:45pm - Ferry ConnectionDeparting Adelaide - PM","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan class=\"money positive\"\u003e$30.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":3000,"price_breakdown_vehicles_in_cents":0,"trip_id":13,"stop_departure_time":"2000-01-01T15:45:00.000Z","stop_arrival_time":"2000-01-01T17:30:00.000Z","from_route_stop_attributes":{"id":5,"inventory_controlled":true,"route_id":3,"position":1,"created_at":null,"updated_at":null,"stop_id":3,"name":"Adelaide Central Bus Station","code":"ACBS"},"to_route_stop_attributes":{"id":14,"inventory_controlled":true,"route_id":3,"position":10,"created_at":null,"updated_at":null,"stop_id":12,"name":"Cape Jervis Ferry Terminal","code":null},"departure_time":"2000-01-01T15:00:00.000Z","arrival_time":"2000-01-01T17:30:00.000Z"}]' http_version: recorded_at: Wed, 21 Mar 2018 04:40:38 GMT recorded_with: VCR 4.0.0