quicktravel_client 3.6.1 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +4 -2
- data/CHANGELOG.md +12 -3
- data/README.md +1 -1
- data/lib/quick_travel.rb +2 -0
- data/lib/quick_travel/adapter.rb +8 -58
- data/lib/quick_travel/address.rb +4 -2
- data/lib/quick_travel/adjustment.rb +3 -2
- data/lib/quick_travel/background_check.rb +4 -2
- data/lib/quick_travel/bed_configuration.rb +3 -2
- data/lib/quick_travel/bed_requirement.rb +3 -2
- data/lib/quick_travel/booking.rb +10 -1
- data/lib/quick_travel/checkout.rb +1 -1
- data/lib/quick_travel/client.rb +3 -2
- data/lib/quick_travel/contact.rb +4 -1
- data/lib/quick_travel/init_from_hash.rb +54 -1
- data/lib/quick_travel/passenger.rb +7 -2
- data/lib/quick_travel/passenger_price_break.rb +3 -2
- data/lib/quick_travel/passenger_split.rb +5 -0
- data/lib/quick_travel/property.rb +2 -1
- data/lib/quick_travel/property_facility.rb +3 -2
- data/lib/quick_travel/reservation.rb +4 -0
- data/lib/quick_travel/resource.rb +11 -2
- data/lib/quick_travel/resource_category.rb +5 -1
- data/lib/quick_travel/resource_group.rb +9 -0
- data/lib/quick_travel/room_facility.rb +3 -2
- data/lib/quick_travel/route_stop.rb +11 -2
- data/lib/quick_travel/service.rb +3 -2
- data/lib/quick_travel/version.rb +1 -1
- data/quicktravel_client.gemspec +2 -1
- data/spec/adapter_spec.rb +2 -2
- data/spec/booking_spec.rb +14 -6
- data/spec/checkout_spec.rb +182 -0
- data/spec/product_spec.rb +5 -5
- data/spec/region_spec.rb +2 -2
- data/spec/reservation_spec.rb +2 -6
- data/spec/support/cassettes/accommodation_reserve.yml +109 -51
- data/spec/support/cassettes/basic_product_scheduled_trips.yml +19 -33
- data/spec/support/cassettes/basic_product_scheduled_trips_multi_sector.yml +19 -27
- data/spec/support/cassettes/basic_product_scheduled_trips_unbookable.yml +9 -11
- data/spec/support/cassettes/booking_activate.yml +25 -28
- data/spec/support/cassettes/booking_cancel.yml +25 -28
- data/spec/support/cassettes/booking_create.yml +14 -15
- data/spec/support/cassettes/booking_create_accommodation.yml +62 -0
- data/spec/support/cassettes/booking_documents.yml +9 -11
- data/spec/support/cassettes/booking_non_existant.yml +8 -10
- data/spec/support/cassettes/booking_price_changes.yml +19 -17
- data/spec/support/cassettes/booking_show.yml +13 -14
- data/spec/support/cassettes/booking_update.yml +25 -27
- data/spec/support/cassettes/booking_with_documents.yml +35 -36
- data/spec/support/cassettes/booking_with_nested_attributes.yml +61 -61
- data/spec/support/cassettes/booking_with_price_changes.yml +27 -26
- data/spec/support/cassettes/checkout_client_token.yml +11 -13
- data/spec/support/cassettes/countries.yml +15 -93
- data/spec/support/cassettes/country_all.yml +15 -93
- data/spec/support/cassettes/create_reservation_fail.yml +8 -10
- data/spec/support/cassettes/create_reservation_with_booking.yml +15 -16
- data/spec/support/cassettes/locations.yml +12 -14
- data/spec/support/cassettes/opal_modern_pay_failed_booking.yml +62 -0
- data/spec/support/cassettes/opal_modern_pay_failed_create.yml +59 -0
- data/spec/support/cassettes/opal_modern_pay_failed_update.yml +57 -0
- data/spec/support/cassettes/opal_modern_pay_successful_booking.yml +62 -0
- data/spec/support/cassettes/opal_modern_pay_successful_response.yml +59 -0
- data/spec/support/cassettes/opal_modern_pay_successful_update_response.yml +59 -0
- data/spec/support/cassettes/opal_pay.yml +59 -0
- data/spec/support/cassettes/opal_pay_booking.yml +62 -0
- data/spec/support/cassettes/passenger_all.yml +11 -13
- data/spec/support/cassettes/payment_info.yml +9 -11
- data/spec/support/cassettes/price_quote.yml +17 -21
- data/spec/support/cassettes/product_date_range_bookability.yml +32 -48
- data/spec/support/cassettes/product_show.yml +13 -17
- data/spec/support/cassettes/product_show_as_agent.yml +14 -22
- data/spec/support/cassettes/product_type_all.yml +16 -14
- data/spec/support/cassettes/product_type_resource_categories.yml +9 -11
- data/spec/support/cassettes/product_type_resource_categories_tickets.yml +12 -14
- data/spec/support/cassettes/product_type_routes.yml +14 -16
- data/spec/support/cassettes/property.yml +16 -18
- data/spec/support/cassettes/property_types.yml +12 -14
- data/spec/support/cassettes/region_show.yml +11 -13
- data/spec/support/cassettes/reservation_resource.yml +62 -0
- data/spec/support/cassettes/reservation_with_extra_picks.yml +54 -60
- data/spec/support/cassettes/resource_category_all.yml +12 -14
- data/spec/support/cassettes/resource_category_all_for_product_type_8.yml +11 -13
- data/spec/support/cassettes/resource_fare_bases.yml +18 -23
- data/spec/support/cassettes/resource_show.yml +15 -17
- data/spec/support/cassettes/resource_with_price.yml +16 -18
- data/spec/support/cassettes/settings_basic.yml +9 -11
- data/spec/support/cassettes/tenant_switcher.yml +31 -27
- data/spec/support/cassettes/wrong_url.yml +25 -46
- data/spec/support/coverage_loader.rb +1 -1
- metadata +43 -7
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"7af57753c4ea1f84237249cd521bd2cc"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 6cf4cf28-d337-4633-a55a-f00bc40603a0
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.102536'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:37 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,15 +45,15 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '235'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=NkUzTHVTMVlUS1ZveXE5QzBBdHExby9lQSs0aTlFZUxLblFqL1BwODE1eU9UNnBoNG8yek5QRks5eDlsc0dwRURzWDV6aDdXNFFHd0NHeVdMcE1mdTBxRUFiK0hWWnZaRWg3N1lWT0lBSjA9LS1sN1k0YmhMcG5Oa1J6OStjVUMwMTRBPT0%3D--a3c1a829398b27b34f8761b4fd82d78a95245304;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"
|
56
|
+
string: '[{"id":3,"name":"General","description":null,"product_type_id":8,"created_at":null,"updated_at":null,"position":null},{"id":4,"name":"Muzzles","description":null,"product_type_id":8,"created_at":null,"updated_at":null,"position":null}]'
|
59
57
|
http_version:
|
60
|
-
recorded_at:
|
61
|
-
recorded_with: VCR
|
58
|
+
recorded_at: Wed, 21 Mar 2018 04:40:44 GMT
|
59
|
+
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://test.qt.sealink.com.au:8080/resources.json?parent_resource_id=6
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/resources.json?parent_resource_id=6
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: access_key=<QT_KEY>
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"fb3714599e6302f3911feacf9a49158e"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 432a122f-591c-4e0c-8c90-1934a5e0d016
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.156744'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:37 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,29 +45,26 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '3356'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=c25wZ3hFcWNQeDVnTFFEYm1odS9nMFluUGdtM0cvanF0MFJjVmZybldMN0hJU3F1c0NuN29YQ1BXLzZIcEZBbHB1NnBveitjTERSNTNaN3RpRUlQZVFWMkxabW9DTmpBTUcveHdCR1YyUWM9LS1NU3dMU2xteklZRlFRV0QrSjlxTVVnPT0%3D--c115fc20523a633a4af2cbeddb68ff2a4276757b;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"id":3,"name":"QBE Travel Insurance - Policy E","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"
|
59
|
-
Travel Insurance Policy E
|
60
|
-
|
61
|
-
Travel Insurance - Policy E","client_type_ids":[],"category":null,"location":"","current_description":"\u003Cp\u003E\u003Cspan
|
62
|
-
class=\"caps\"\u003EQBE\u003C/span\u003E Travel Insurance Policy E known as
|
56
|
+
string: '[{"id":3,"name":"QBE Travel Insurance - Policy E","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"property_id":null,"fare_basis_pointer_id":4,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":null,"star_rating":null,"inline_price_in_cents":null,"inline_cost_in_cents":null,"resource_category_id":null,"created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","code":"","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":19,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":false,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":false,"individual_tickets":null,"frequent_traveller_redemption_rate":null,"position":1,"ticket_template_id":null,"generate_tickets_by_quantity":true,"inventory_release_hour":null,"to_s":"QBE
|
57
|
+
Travel Insurance - Policy E","client_type_ids":[],"category":null,"location_ids":[],"current_description":"\u003cp\u003e\u003cspan
|
58
|
+
class=\"caps\"\u003eQBE\u003c/span\u003e Travel Insurance Policy E known as
|
63
59
|
the \u0026#8216;Australian Cancellation and Additional Expenses\u0026#8217;
|
64
60
|
plan has been included into this booking. This covers you for defined unforeseen
|
65
61
|
cancellations and additional expenses. Please refer to the Product Disclosure
|
66
|
-
Statement for further information.\
|
67
|
-
Insurance - Declined","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"
|
68
|
-
|
69
|
-
Insurance - Declined","client_type_ids":[],"category":null,"location":"","current_description":"\u003Cp\u003EYou
|
62
|
+
Statement for further information.\u003c/p\u003e","graphics":[],"graphic_names":[],"ticket_template":null,"expiry_days":null},{"id":4,"name":"Travel
|
63
|
+
Insurance - Declined","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"property_id":null,"fare_basis_pointer_id":4,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":null,"star_rating":null,"inline_price_in_cents":null,"inline_cost_in_cents":null,"resource_category_id":null,"created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","code":"","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":null,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":false,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":false,"individual_tickets":null,"frequent_traveller_redemption_rate":null,"position":2,"ticket_template_id":null,"generate_tickets_by_quantity":true,"inventory_release_hour":null,"to_s":"Travel
|
64
|
+
Insurance - Declined","client_type_ids":[],"category":null,"location_ids":[],"current_description":"\u003cp\u003eYou
|
70
65
|
have declined Travel Insurance for your booking. If you wish to add Travel
|
71
66
|
Insurance to this booking, please contact the SeaLink Travel Group on 13 13
|
72
|
-
01 prior to commencing your travels.\
|
67
|
+
01 prior to commencing your travels.\u003c/p\u003e","graphics":[],"graphic_names":[],"ticket_template":null,"expiry_days":null}]'
|
73
68
|
http_version:
|
74
|
-
recorded_at:
|
75
|
-
recorded_with: VCR
|
69
|
+
recorded_at: Wed, 21 Mar 2018 04:40:44 GMT
|
70
|
+
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://test.qt.sealink.com.au:8080/resources/6.json
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/resources/6.json
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: access_key=<QT_KEY>
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"641461e04c30167b268dd9059d420764"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 3d60184a-17a0-4b82-b04b-4db7ff3793f2
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.203714'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:37 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,18 +45,18 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '1437'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=Q2paaVFEVXVRMkUyYzBLa014WkxaeStrQkltMm1MZE9TVmF4N3YrTVNHeFE0RDFYY0FXQ0wwV242S2J3RGRBQWVseWpWMWY2Ti90RGlrVldXNml4dGdmeHNDaThJSURYKytTeHVpUlBBS3c9LS1wLzJNcE5TVmtDMmQ2Q05FYzhwMlRRPT0%3D--f16fffab318d81b9a68b2d14478da63f0d2921d8;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '{"id":6,"name":"Executive Room","product_type_id":2,"default_capacity":2,"type":"Accommodation","inventory_type":0,"maximum_occupancy":2,"
|
59
|
-
Hotel - Executive Room","client_type_ids":[],"category":null,"
|
60
|
-
|
61
|
-
Hotel","ticket_template":null,"expiry_days":null}'
|
56
|
+
string: '[{"id":6,"name":"Executive Room","product_type_id":2,"default_capacity":2,"type":"Accommodation","inventory_type":0,"maximum_occupancy":2,"property_id":1,"fare_basis_pointer_id":6,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":1,"star_rating":null,"inline_price_in_cents":null,"inline_cost_in_cents":null,"resource_category_id":null,"created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","code":"","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":null,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":false,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":false,"individual_tickets":null,"frequent_traveller_redemption_rate":null,"position":null,"ticket_template_id":null,"generate_tickets_by_quantity":true,"inventory_release_hour":null,"to_s":"Hilton
|
57
|
+
Hotel - Executive Room","client_type_ids":[],"category":null,"location_ids":[5],"current_description":"\u003cp\u003eA
|
58
|
+
basic studio room\u003c/p\u003e","graphics":[],"graphic_names":[],"property_name":"Hilton
|
59
|
+
Hotel","ticket_template":null,"expiry_days":null}]'
|
62
60
|
http_version:
|
63
|
-
recorded_at:
|
64
|
-
recorded_with: VCR
|
61
|
+
recorded_at: Wed, 21 Mar 2018 04:40:44 GMT
|
62
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"2f9eac1da4c12c4fd054c093855ad01d"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- fcbdf515-068a-40c5-8b9b-46299a023cb5
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.162243'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:37 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,20 +45,20 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '4847'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=MEFBTFdvRGlSTloxUGNMd1BBNzh4RnFxQWorT2ZySDRFUmFKeExSWDV1eHA1R3RGNzd4MWNYRW5FS29BOERGQW1ZWkpBZml3SnJZSmd6T21aMllLV2hZaUVkMFlMbzYxSGJJZEtKRHVodGs9LS1TWU8yTm5tcWxTRlV2Ukl2UjNGUkNRPT0%3D--f29a9fbdeec3a363e1af8585fad6ea421db26720;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"id":7,"name":"Adult Return","product_type_id":5,"default_capacity":null,"type":"Item","inventory_type":1,"maximum_occupancy":null,"
|
59
|
-
uses, 30 days expiry","updated_at":"
|
60
|
-
Return","product_type_id":5,"default_capacity":null,"type":"Item","inventory_type":1,"maximum_occupancy":null,"
|
61
|
-
uses, 30 days expiry","updated_at":"
|
62
|
-
Flexi","product_type_id":5,"default_capacity":null,"type":"Item","inventory_type":1,"maximum_occupancy":null,"
|
63
|
-
uses, 30 days expiry","updated_at":"
|
56
|
+
string: '[{"id":7,"name":"Adult Return","product_type_id":5,"default_capacity":null,"type":"Item","inventory_type":1,"maximum_occupancy":null,"property_id":null,"fare_basis_pointer_id":null,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":null,"star_rating":null,"inline_price_in_cents":3200,"inline_cost_in_cents":0,"resource_category_id":1,"created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","code":"2AD","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":null,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":true,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":true,"individual_tickets":false,"frequent_traveller_redemption_rate":null,"position":null,"ticket_template_id":1,"generate_tickets_by_quantity":true,"inventory_release_hour":null,"location_ids":[],"todays_price_in_cents":3200,"todays_price_with_rules_in_cents":3200,"applied_rules":[],"description":"","ticket_template":{"id":1,"name":"2
|
57
|
+
uses, 30 days expiry","maximum_uses":2,"expiry_days":30,"activation_trigger":"travel_date","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","validity_duration_minutes":15,"daily_uses_limit":null,"parent_id":null},"expiry_days":30,"child_resources":[]},{"id":8,"name":"Concession
|
58
|
+
Return","product_type_id":5,"default_capacity":null,"type":"Item","inventory_type":1,"maximum_occupancy":null,"property_id":null,"fare_basis_pointer_id":null,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":null,"star_rating":null,"inline_price_in_cents":1600,"inline_cost_in_cents":0,"resource_category_id":1,"created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","code":"2CON","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":null,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":true,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":true,"individual_tickets":false,"frequent_traveller_redemption_rate":null,"position":null,"ticket_template_id":1,"generate_tickets_by_quantity":true,"inventory_release_hour":null,"location_ids":[],"todays_price_in_cents":1600,"todays_price_with_rules_in_cents":1600,"applied_rules":[],"description":"","ticket_template":{"id":1,"name":"2
|
59
|
+
uses, 30 days expiry","maximum_uses":2,"expiry_days":30,"activation_trigger":"travel_date","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","validity_duration_minutes":15,"daily_uses_limit":null,"parent_id":null},"expiry_days":30,"child_resources":[]},{"id":9,"name":"Student
|
60
|
+
Flexi","product_type_id":5,"default_capacity":null,"type":"Item","inventory_type":1,"maximum_occupancy":null,"property_id":null,"fare_basis_pointer_id":null,"disclaimer_id":null,"deposit_rule_id":null,"vendor_id":null,"maximum_weight":null,"days_before_inventory_expires":null,"property_type_id":null,"star_rating":null,"inline_price_in_cents":6800,"inline_cost_in_cents":0,"resource_category_id":2,"created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","code":"10STU","restrict_to_client_types":false,"minimum_age":null,"guardian_minimum_age":null,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"active":true,"report_changes":false,"inline_pricing":true,"bookable_individually":true,"minimum_passengers":null,"maximum_passengers":null,"required_number_of_vehicles":null,"frequent_traveller_points_multiplier":null,"commissionable":true,"masterpoint_resource_id":null,"print_tickets":false,"individual_tickets":false,"frequent_traveller_redemption_rate":null,"position":null,"ticket_template_id":1,"generate_tickets_by_quantity":true,"inventory_release_hour":null,"location_ids":[],"todays_price_in_cents":6800,"todays_price_with_rules_in_cents":6800,"applied_rules":[],"description":"","ticket_template":{"id":1,"name":"2
|
61
|
+
uses, 30 days expiry","maximum_uses":2,"expiry_days":30,"activation_trigger":"travel_date","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","validity_duration_minutes":15,"daily_uses_limit":null,"parent_id":null},"expiry_days":30,"child_resources":[]}]'
|
64
62
|
http_version:
|
65
|
-
recorded_at:
|
66
|
-
recorded_with: VCR
|
63
|
+
recorded_at: Wed, 21 Mar 2018 04:40:44 GMT
|
64
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"fa3cf293c3f4a0785f054bee171056d2"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- a3470cff-09d0-4bce-a31d-0b9a8b2dc1f1
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.148414'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:
|
30
|
+
- Fri, 01 Jan 2016 02:32:38 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -51,11 +49,11 @@ http_interactions:
|
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
- _session_id=
|
52
|
+
- _session_id=WWtpVzB5aHJVQ0tCVTd2STBVZ3ZVMlE1WnZuVUtrL3lROXo3cnBYRlpEbjR4UEZXL3pzOVNaWm1HT0pYTFJ6UUJ6a1lvaTllMmhvcDhrVE1QNHhoOFZhS1huVlptSnlxS1lqenJBZ2daQTA9LS1OTVlkaW9vM2JqRXU0UHZPeHA0ZDNBPT0%3D--78c26600f82228527582fe1571f21bad21915d24;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
56
|
string: '{"vehicle_optional_fields":["weight","registration"],"default_passenger_type_id":1,"time_zone":"Australia/Adelaide","ob_num_pax_requiring_details":"none","person_titles":["Mr","Mrs","Ms","Miss"]}'
|
59
57
|
http_version:
|
60
|
-
recorded_at:
|
61
|
-
recorded_with: VCR
|
58
|
+
recorded_at: Wed, 21 Mar 2018 04:40:45 GMT
|
59
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"1fe4427aa58b4d56ec64723a80cfd66d"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 12a84107-d09e-4489-b75f-3938be33386f
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.134015'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:38 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,19 +45,23 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '5426'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=S29rR2pielF4Zy85MHZUa0I1VlBFbkh5NHRpd00rREJrempqZDNtcUx6cTg1ejBVSFVjMzVWWjVubXBSZmEza0lRTFJiNGJ4RWs1cmxtUk4zaURUMUQ1cW16YVpSd3YwM3BKcWhIZFhvRFU9LS1aQzluc2VPYjl2YXhrekd4WDhERFNRPT0%3D--c599bc05bd16b7ee5f77a2a73172b44b7c455580;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
56
|
string: '[{"id":1,"name":"Ferry","resource_class_name":"Ship","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":2,"name":"Accommodation","resource_class_name":"Accommodation","disclaimer_id":null,"durational":true,"can_find_by_location":true,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":3,"name":"Flight","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":4,"name":"Item","resource_class_name":"Item","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":5,"name":"Ticket","resource_class_name":"Item","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":6,"name":"Mainland
|
59
|
-
Coach Transfers","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":
|
60
|
-
Insurance","resource_class_name":"Insurance","disclaimer_id":null,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
57
|
+
Coach Transfers","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":7,"name":"Travel
|
58
|
+
Insurance","resource_class_name":"Insurance","disclaimer_id":null,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
59
|
+
notes_for_vendor","vendor_staff note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":true,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":false},{"id":8,"name":"Merchandise","resource_class_name":"Item","disclaimer_id":1,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":"''---\n -
|
60
|
+
reservation_group_id\n - trip_name departure_time\n - pick_up_information\n -
|
61
|
+
drop_off_information\n - vendor_pnr\n - notes_for_vendor\n - vendor_staff\n -
|
62
|
+
note_for_inventory_type_change''\n","only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":9,"name":"Cruise","resource_class_name":"GenericResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true}]'
|
61
63
|
http_version:
|
62
|
-
recorded_at:
|
64
|
+
recorded_at: Wed, 21 Mar 2018 04:40:45 GMT
|
63
65
|
- request:
|
64
66
|
method: get
|
65
67
|
uri: http://test.qt.other.com.au:8080/api/product_types.json
|
@@ -78,22 +80,20 @@ http_interactions:
|
|
78
80
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
79
81
|
Content-Type:
|
80
82
|
- application/json; charset=utf-8
|
81
|
-
X-Ua-Compatible:
|
82
|
-
- IE=Edge,chrome=1
|
83
83
|
Etag:
|
84
|
-
-
|
84
|
+
- W/"1fe4427aa58b4d56ec64723a80cfd66d"
|
85
85
|
Cache-Control:
|
86
86
|
- max-age=0, private, must-revalidate
|
87
87
|
X-Request-Id:
|
88
|
-
-
|
88
|
+
- 4fb41203-646a-4e9b-a16b-d1f3e611527b
|
89
89
|
X-Runtime:
|
90
|
-
- '0.
|
91
|
-
Vary:
|
92
|
-
- Origin
|
90
|
+
- '0.154429'
|
93
91
|
Date:
|
94
|
-
- Fri, 01 Jan 2016 02:32:
|
92
|
+
- Fri, 01 Jan 2016 02:32:38 GMT
|
95
93
|
X-Rack-Cache:
|
96
94
|
- miss
|
95
|
+
Vary:
|
96
|
+
- Origin
|
97
97
|
X-Content-Type-Options:
|
98
98
|
- nosniff
|
99
99
|
X-Download-Options:
|
@@ -107,17 +107,21 @@ http_interactions:
|
|
107
107
|
Server:
|
108
108
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
109
109
|
Content-Length:
|
110
|
-
- '
|
110
|
+
- '5426'
|
111
111
|
Connection:
|
112
112
|
- Keep-Alive
|
113
113
|
Set-Cookie:
|
114
|
-
-
|
114
|
+
- _session_id=UmNXNXBDRStoMksrSHpLeDhYZWpoL05jSUorWXpRekdwVXVMUFo0TEZOK2tjdXUxWWdwSGxvTUVZLzIzNTRnNDBONlpzY3NKUndWbWlvUjFkWE5sQWgvMndxV3k2SG1vaUlHOXE4SGxCR0U9LS0wL3VGaXNTYndhaU55eFQrOEJTbHdBPT0%3D--3d8f1b0d841e72a9aa76714b0c996d0b4cc24317;
|
115
115
|
path=/; HttpOnly
|
116
116
|
body:
|
117
117
|
encoding: UTF-8
|
118
118
|
string: '[{"id":1,"name":"Ferry","resource_class_name":"Ship","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":2,"name":"Accommodation","resource_class_name":"Accommodation","disclaimer_id":null,"durational":true,"can_find_by_location":true,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":3,"name":"Flight","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":4,"name":"Item","resource_class_name":"Item","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":5,"name":"Ticket","resource_class_name":"Item","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":6,"name":"Mainland
|
119
|
-
Coach Transfers","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":
|
120
|
-
Insurance","resource_class_name":"Insurance","disclaimer_id":null,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
119
|
+
Coach Transfers","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":7,"name":"Travel
|
120
|
+
Insurance","resource_class_name":"Insurance","disclaimer_id":null,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
121
|
+
notes_for_vendor","vendor_staff note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":true,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":false},{"id":8,"name":"Merchandise","resource_class_name":"Item","disclaimer_id":1,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":"''---\n -
|
122
|
+
reservation_group_id\n - trip_name departure_time\n - pick_up_information\n -
|
123
|
+
drop_off_information\n - vendor_pnr\n - notes_for_vendor\n - vendor_staff\n -
|
124
|
+
note_for_inventory_type_change''\n","only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":9,"name":"Cruise","resource_class_name":"GenericResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true}]'
|
121
125
|
http_version:
|
122
|
-
recorded_at:
|
123
|
-
recorded_with: VCR
|
126
|
+
recorded_at: Wed, 21 Mar 2018 04:40:45 GMT
|
127
|
+
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://httpstat.us/418
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: access_key=<QT_KEY>
|
@@ -11,53 +11,32 @@ http_interactions:
|
|
11
11
|
- '0'
|
12
12
|
response:
|
13
13
|
status:
|
14
|
-
code:
|
15
|
-
message:
|
14
|
+
code: 418
|
15
|
+
message: I'm a teapot
|
16
16
|
headers:
|
17
|
-
|
18
|
-
-
|
17
|
+
Cache-Control:
|
18
|
+
- private
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '16'
|
21
|
+
Content-Type:
|
22
|
+
- text/plain; charset=utf-8
|
23
|
+
Server:
|
24
|
+
- Microsoft-IIS/10.0
|
25
|
+
X-Aspnetmvc-Version:
|
26
|
+
- '5.1'
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- "*"
|
29
|
+
X-Aspnet-Version:
|
30
|
+
- 4.0.30319
|
31
|
+
X-Powered-By:
|
32
|
+
- ASP.NET
|
33
|
+
Set-Cookie:
|
34
|
+
- ARRAffinity=7943fc4fbbc26574a46521f2ec212be4ee889bc2a88a9742ab65676f5bd7e9e6;Path=/;HttpOnly;Domain=httpstat.us
|
21
35
|
Date:
|
22
|
-
-
|
36
|
+
- Wed, 21 Mar 2018 04:40:11 GMT
|
23
37
|
body:
|
24
|
-
encoding:
|
25
|
-
string:
|
26
|
-
PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ZW4+CiAgPG1ldGEgY2hhcnNl
|
27
|
-
dD11dGYtOD4KICA8bWV0YSBuYW1lPXZpZXdwb3J0IGNvbnRlbnQ9ImluaXRp
|
28
|
-
YWwtc2NhbGU9MSwgbWluaW11bS1zY2FsZT0xLCB3aWR0aD1kZXZpY2Utd2lk
|
29
|
-
dGgiPgogIDx0aXRsZT5FcnJvciA0MDAgKEJhZCBSZXF1ZXN0KSEhMTwvdGl0
|
30
|
-
bGU+CiAgPHN0eWxlPgogICAgKnttYXJnaW46MDtwYWRkaW5nOjB9aHRtbCxj
|
31
|
-
b2Rle2ZvbnQ6MTVweC8yMnB4IGFyaWFsLHNhbnMtc2VyaWZ9aHRtbHtiYWNr
|
32
|
-
Z3JvdW5kOiNmZmY7Y29sb3I6IzIyMjtwYWRkaW5nOjE1cHh9Ym9keXttYXJn
|
33
|
-
aW46NyUgYXV0byAwO21heC13aWR0aDozOTBweDttaW4taGVpZ2h0OjE4MHB4
|
34
|
-
O3BhZGRpbmc6MzBweCAwIDE1cHh9KiA+IGJvZHl7YmFja2dyb3VuZDp1cmwo
|
35
|
-
Ly93d3cuZ29vZ2xlLmNvbS9pbWFnZXMvZXJyb3JzL3JvYm90LnBuZykgMTAw
|
36
|
-
JSA1cHggbm8tcmVwZWF0O3BhZGRpbmctcmlnaHQ6MjA1cHh9cHttYXJnaW46
|
37
|
-
MTFweCAwIDIycHg7b3ZlcmZsb3c6aGlkZGVufWluc3tjb2xvcjojNzc3O3Rl
|
38
|
-
eHQtZGVjb3JhdGlvbjpub25lfWEgaW1ne2JvcmRlcjowfUBtZWRpYSBzY3Jl
|
39
|
-
ZW4gYW5kIChtYXgtd2lkdGg6NzcycHgpe2JvZHl7YmFja2dyb3VuZDpub25l
|
40
|
-
O21hcmdpbi10b3A6MDttYXgtd2lkdGg6bm9uZTtwYWRkaW5nLXJpZ2h0OjB9
|
41
|
-
fSNsb2dve2JhY2tncm91bmQ6dXJsKC8vd3d3Lmdvb2dsZS5jb20vaW1hZ2Vz
|
42
|
-
L2JyYW5kaW5nL2dvb2dsZWxvZ28vMXgvZ29vZ2xlbG9nb19jb2xvcl8xNTB4
|
43
|
-
NTRkcC5wbmcpIG5vLXJlcGVhdDttYXJnaW4tbGVmdDotNXB4fUBtZWRpYSBv
|
44
|
-
bmx5IHNjcmVlbiBhbmQgKG1pbi1yZXNvbHV0aW9uOjE5MmRwaSl7I2xvZ297
|
45
|
-
YmFja2dyb3VuZDp1cmwoLy93d3cuZ29vZ2xlLmNvbS9pbWFnZXMvYnJhbmRp
|
46
|
-
bmcvZ29vZ2xlbG9nby8yeC9nb29nbGVsb2dvX2NvbG9yXzE1MHg1NGRwLnBu
|
47
|
-
Zykgbm8tcmVwZWF0IDAlIDAlLzEwMCUgMTAwJTstbW96LWJvcmRlci1pbWFn
|
48
|
-
ZTp1cmwoLy93d3cuZ29vZ2xlLmNvbS9pbWFnZXMvYnJhbmRpbmcvZ29vZ2xl
|
49
|
-
bG9nby8yeC9nb29nbGVsb2dvX2NvbG9yXzE1MHg1NGRwLnBuZykgMH19QG1l
|
50
|
-
ZGlhIG9ubHkgc2NyZWVuIGFuZCAoLXdlYmtpdC1taW4tZGV2aWNlLXBpeGVs
|
51
|
-
LXJhdGlvOjIpeyNsb2dve2JhY2tncm91bmQ6dXJsKC8vd3d3Lmdvb2dsZS5j
|
52
|
-
b20vaW1hZ2VzL2JyYW5kaW5nL2dvb2dsZWxvZ28vMngvZ29vZ2xlbG9nb19j
|
53
|
-
b2xvcl8xNTB4NTRkcC5wbmcpIG5vLXJlcGVhdDstd2Via2l0LWJhY2tncm91
|
54
|
-
bmQtc2l6ZToxMDAlIDEwMCV9fSNsb2dve2Rpc3BsYXk6aW5saW5lLWJsb2Nr
|
55
|
-
O2hlaWdodDo1NHB4O3dpZHRoOjE1MHB4fQogIDwvc3R5bGU+CiAgPGEgaHJl
|
56
|
-
Zj0vL3d3dy5nb29nbGUuY29tLz48c3BhbiBpZD1sb2dvIGFyaWEtbGFiZWw9
|
57
|
-
R29vZ2xlPjwvc3Bhbj48L2E+CiAgPHA+PGI+NDAwLjwvYj4gPGlucz5UaGF0
|
58
|
-
4oCZcyBhbiBlcnJvci48L2lucz4KICA8cD5Zb3VyIGNsaWVudCBoYXMgaXNz
|
59
|
-
dWVkIGEgbWFsZm9ybWVkIG9yIGlsbGVnYWwgcmVxdWVzdC4gIDxpbnM+VGhh
|
60
|
-
dOKAmXMgYWxsIHdlIGtub3cuPC9pbnM+Cg==
|
38
|
+
encoding: UTF-8
|
39
|
+
string: 418 I'm a teapot
|
61
40
|
http_version:
|
62
|
-
recorded_at:
|
63
|
-
recorded_with: VCR
|
41
|
+
recorded_at: Wed, 21 Mar 2018 04:40:12 GMT
|
42
|
+
recorded_with: VCR 4.0.0
|