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/"8223f9e3c1ebcadfb2edacc484671357"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- e3bef60c-77c6-4be0-965e-2c32c8830e50
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.457836'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:32 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
|
+
- '3183'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=MTR0Z2JnVHJ0SS9UaWF5cXFTMmtCQVVTTnE4RGcrM0psczUvTVF3U2NUcUNaRVB4U2lycnRBSGErZ2s0TXJ6dTdWcFhQUFExNDBjb05tWGd0clc0SXM1MWpSZlB3RzFuSG9oZHhjYTgydlk9LS1yTEEyK0s5bnlsajZSL1ZyMXVTYWlnPT0%3D--684c82a0751328e694ea044091e7063b4fa3060b;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '{"id":1,"name":"Hilton Hotel","description":"","location_id":5,"check_in":"2000-01-01T14:00:
|
59
|
-
2","address_line2":"1 Victoria Square","city":"Adelaide","state":"SA","post_code":"5000","created_at":
|
60
|
-
|
61
|
-
Room","product_type_id":2,"default_capacity":2,"type":"Accommodation","inventory_type":0,"maximum_occupancy":2,"
|
56
|
+
string: '{"id":1,"name":"Hilton Hotel","description":"","location_id":5,"check_in":"2000-01-01T14:00:00.000Z","check_out":"2000-01-01T10:00:00.000Z","check_in_instructions":"","star_rating":null,"contact_id":null,"notes":"","tourism_accredited":false,"season_id":9,"boundary_start":"2013-03-01","boundary_end":"2013-03-01","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","virtual_tour_url":null,"address":{"id":1,"address_line1":"Level
|
57
|
+
2","address_line2":"1 Victoria Square","city":"Adelaide","state":"SA","post_code":"5000","created_at":null,"updated_at":null,"party_id":null,"country_id":14,"property_id":1},"location_name":"American
|
58
|
+
River","region_names":"Kangaroo Island","property_facilities":[{"id":1,"name":"Pool","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","category_id":1,"position":1},{"id":2,"name":"Spa","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","category_id":1,"position":1}],"graphics":[],"maximum_occupancy":2,"minimum_bookable_duration":0,"availability":{"2016-01-01":true},"on_request":false,"minimum_available_price_in_cents":20000,"property_type_ids":[1],"accommodations":[{"id":6,"name":"Executive
|
59
|
+
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,"room_facilities":[{"id":1,"name":"Shower","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","category_id":2,"position":1},{"id":3,"name":"Hairdryer","created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","category_id":2,"position":3}],"bed_configurations":[{"id":1,"creator_id":null,"updator_id":null,"resource_id":6,"created_at":"2018-03-21T11:24:01.000+10:30","updated_at":"2018-03-21T11:24:01.000+10:30","overriding_fare_basis_pointer_id":null,"name":"1
|
62
60
|
x Double and 1 x Single","active":true,"position":1}],"description":"A basic
|
63
|
-
studio room","graphics":[],"on_request":false,"minimum_price":{"2016-01-01":20000},"nightly_price":{"2016-01-01":20000},"availability":{"2016-01-01":false},"minimum_bookable_duration":null}]
|
64
|
-
http_version:
|
65
|
-
recorded_at:
|
66
|
-
recorded_with: VCR
|
61
|
+
studio room","graphics":[],"on_request":false,"minimum_price":{"2016-01-01":20000},"nightly_price":{"2016-01-01":20000},"availability":{"2016-01-01":false},"minimum_bookable_duration":null}]}'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Wed, 21 Mar 2018 04:40:39 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/"626f377a41b553c6c0727da215f3e53f"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- f20c3bec-eb89-424e-96b2-ae0a1658ecd4
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.196161'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:32 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
|
+
- '77'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=bVcrNVl0RHE1djVtQnd6d1k3eitweGI3UnU1V1h5R3dya2RBNWx2YnkvOFY4WDdpWm5LTnN4WFFVYWluMUxzU09GUGc1THFhY1RBMXU0dGVXb2pkSllRaFFSVml4eU1xQllHS0JmeURXems9LS13cU94SGRvd3NyeHdjRHlHUVRLaFVnPT0%3D--ee7cc5ab7f79a3693d5aee1a0755cd9fa4346edd;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"id":
|
59
|
-
http_version:
|
60
|
-
recorded_at:
|
61
|
-
recorded_with: VCR
|
56
|
+
string: '[{"id":1,"name":"Hotel","position":null,"created_at":null,"updated_at":null}]'
|
57
|
+
http_version:
|
58
|
+
recorded_at: Wed, 21 Mar 2018 04:40:39 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/"510afb159eb43929754bda9aa96bfacb"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- b0f3f678-bb3a-4710-8692-85416107fc03
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.184234'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:33 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
|
+
- '58'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=cU5NZVgrNkVYcmwrNEx0L09xU2V2T05sWEEyM0lQOHhPN1g5V1ZMajM2U2QybGNuRUNOcG9RUmp5MnpscjNmcDhIVklISjRaM3BaeVNoaFNTSHNTTEJMY09TWHFvdnRicTJERjRDSTFhL2s9LS1ad2FaSDFQQUY1QUZmVC9FekRLbkF3PT0%3D--98380c9154cfa2b9b5e69120108a6f47c2fca543;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"id":
|
56
|
+
string: '[{"id":1,"name":"Kangaroo Island","location_ids":[3,4,5]}]'
|
59
57
|
http_version:
|
60
|
-
recorded_at:
|
61
|
-
recorded_with: VCR
|
58
|
+
recorded_at: Wed, 21 Mar 2018 04:40:40 GMT
|
59
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://test.qt.sealink.com.au:8080/api/resources/6.json
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: access_key=<QT_KEY>
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: 'OK '
|
16
|
+
headers:
|
17
|
+
P3p:
|
18
|
+
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
|
+
Content-Type:
|
20
|
+
- application/json; charset=utf-8
|
21
|
+
Etag:
|
22
|
+
- W/"641461e04c30167b268dd9059d420764"
|
23
|
+
Cache-Control:
|
24
|
+
- max-age=0, private, must-revalidate
|
25
|
+
X-Request-Id:
|
26
|
+
- f1f1d510-60c6-4502-9d3a-49bb9d2dfdc9
|
27
|
+
X-Runtime:
|
28
|
+
- '0.112151'
|
29
|
+
Date:
|
30
|
+
- Fri, 01 Jan 2016 02:32:15 GMT
|
31
|
+
X-Rack-Cache:
|
32
|
+
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
X-Download-Options:
|
38
|
+
- noopen
|
39
|
+
X-Frame-Options:
|
40
|
+
- sameorigin
|
41
|
+
X-Permitted-Cross-Domain-Policies:
|
42
|
+
- none
|
43
|
+
X-Xss-Protection:
|
44
|
+
- 1; mode=block
|
45
|
+
Server:
|
46
|
+
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
47
|
+
Content-Length:
|
48
|
+
- '1437'
|
49
|
+
Connection:
|
50
|
+
- Keep-Alive
|
51
|
+
Set-Cookie:
|
52
|
+
- _session_id=bEYyQWhrcG9HNUd4OHlmcisyZGNaaXdoNzNad2FId3llY0FIdkV1NnlYQkxOSGY1NW83MW5ybW93YS96WXVEQkhDUjVQMTUwNXYySDNOVDlydTB3d29oK2FzL2N1VVVFWGdIQzV0cEtnMVE9LS11MVc4bWFkNzhOSGlHTE44cWI4aDhnPT0%3D--131804f573d19992de3c157613adfbf293d90fb8;
|
53
|
+
path=/; HttpOnly
|
54
|
+
body:
|
55
|
+
encoding: UTF-8
|
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}]'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Wed, 21 Mar 2018 04:40:22 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/"685ae49cb57c9b594806370995c9b4c1"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 82132a16-f2a3-402f-bc8e-efb6386e8b21
|
29
27
|
X-Runtime:
|
30
|
-
- '
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '1.201049'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:36 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,45 +45,48 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '12299'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=Kys3alNBSWl5NUpMWEkxZkhMMlVSZDM3RThocHV0S2plblpqOUVteHloY3VMbUxFYTZCM3BDSTgvYUxkOS94YUc2cURJcDNxOVhWU0szZnBWakhxOGtpMEd0SlN3cStlTk0rZ0dIeE9zUWc9LS1mTVVZR1p2eUpQcXM1NE5aQTV2T3JBPT0%3D--e1cea9e43decfe19bd618ab15f4b2f7322e53d84;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
56
|
string: '{"id":1,"state":"active","reference":"222223","public_comments":null,"internal_comments":null,"customer_contact_name":"New
|
59
|
-
Name","customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":3,"post_code":"","referral_code_id":1,"external_identifier":null,"created_at":"2013-03-01T00:05:46+10:30","updated_at":"2016-01-01T13:02:
|
60
|
-
basic studio room","comment":"","active":true,"service_ids":[3,4],"resource_id":6,"quantity":null,"adjustments_attributes":[{"id":6,"gross_in_cents":-20000,"creator":{"
|
61
|
-
Administrator","
|
57
|
+
Name","customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":3,"drop_off_option_id":null,"drop_off_location_id":null,"post_code":"","referral_code_id":1,"external_identifier":null,"created_at":"2013-03-01T00:05:46.000+10:30","updated_at":"2016-01-01T13:02:11.000+10:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":38000,"nett_in_cents":38000,"gross_in_cents":38000,"commission_in_cents":0,"balance_in_cents":38000,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":null,"deposit_relevant":false,"deposit_due_on":{"_type":"Date","_value":"2016-03-01T00:00:00.000+10:30"},"balance_due_on":{"_type":"Date","_value":"2016-03-01T00:00:00.000+10:30"},"due":false,"first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"complete":true,"reason_not_complete":"","first_reason_not_complete":"","unprintable_luggage_tags":false,"discardable_in":60,"inactivatable_in":10,"notices":{},"client":null,"passenger_ids":[1,2],"vehicle_ids":[],"reservation_ids":[1,3,2],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[{"id":1,"title":"Mr","first_name":"New","last_name":"Name","passenger_type_id":1,"age":30,"gender":"Male","position":1},{"id":2,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":2}],"vehicles_attributes":[],"reservations_attributes":[{"id":1,"booking_id":1,"description":"A
|
58
|
+
basic studio room","comment":"","active":true,"service_ids":[3,4],"resource_id":6,"quantity":null,"adjustments_attributes":[{"id":6,"gross_in_cents":-20000,"creator":{"id":1,"name":"Administrator
|
59
|
+
Administrator","age":null,"first_name":"administrator","last_name":"administrator","title":null,"gender":null,"created_at":null,"updated_at":null,"notes":null,"updator_id":null,"creator_id":null,"active":true,"internal_subdivision":false,"business_number":null,"business_number_type":null,"currency_iso_code":"AUD","access_type":2},"created_at":"2013-03-01T00:40:04.000+10:30","description":"50%
|
62
60
|
Off","adjustable_item_type":"Reservation","adjustable_item_id":1,"adjustment_definition_id":1,"adjustment_category_id":1,"automatic":true}],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"bed_configuration":"1
|
63
|
-
x Double and 1 x Single","product_type_id":2,"itinerary_footer":false,"fare_basis_set_id":12,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":
|
64
|
-
Hotel: Executive Room","product_name_underscore":"accommodation","resource_class_name_underscore":"accommodation","resource_class_name":"Accommodation","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"checkout_date":{"_type":"Date","_value":"2016-03-03"},"duration_units":"Nights","date_start_label":"In:","date_end_label":"Out:","accommodation_extra_picks":false,"expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
|
61
|
+
x Double and 1 x Single","product_type_id":2,"itinerary_footer":false,"fare_basis_set_id":12,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":null,"fare_basis_pointer_id":6,"pick_up_info":null,"drop_off_info":null,"selection_name":"Hilton
|
62
|
+
Hotel: Executive Room","product_name_underscore":"accommodation","resource_class_name_underscore":"accommodation","resource_class_name":"Accommodation","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-03-01"},"last_travel_date":{"_type":"Date","_value":"2016-03-02"},"durational":true,"duration":2,"span":2,"checkout_date":{"_type":"Date","_value":"2016-03-03"},"duration_units":"Nights","date_start_label":"In:","date_end_label":"Out:","accommodation_extra_picks":false,"expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
|
65
63
|
Priced as: Rack Rate","gross_including_packaged_item_in_cents":38000,"pre_adjusted_gross_including_packaged_item_in_cents":64000,"gross_in_cents":20000,"pre_adjusted_gross_in_cents":40000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":20000,"sub_items_gross_in_cents":18000,"rules":[{"unique_name":"Test
|
66
64
|
Discount Hilton","description":"","display_name":"Test Discount Hilton"}],"package":false,"sub_reservation_depth":0,"sub_reservations_attributes":[{"id":3,"booking_id":1,"description":"You
|
67
65
|
have declined Travel Insurance for your booking. If you wish to add Travel
|
68
66
|
Insurance to this booking, please contact the SeaLink Travel Group on 13 13
|
69
|
-
01 prior to commencing your travels.","comment":null,"active":true,"service_ids":[7,8],"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":
|
70
|
-
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-02"},"durational":true,"duration":2,"duration_units":"Days","date_start_label":"Start
|
67
|
+
01 prior to commencing your travels.","comment":null,"active":true,"service_ids":[7,8],"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
|
68
|
+
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-02"},"durational":true,"duration":2,"span":2,"duration_units":"Days","date_start_label":"Start
|
71
69
|
Date:","date_end_label":"End Date:","expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
|
72
|
-
Priced as: Rack Rate","gross_including_packaged_item_in_cents":12000,"pre_adjusted_gross_including_packaged_item_in_cents":12000,"gross_in_cents":12000,"pre_adjusted_gross_in_cents":12000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":8000,"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
70
|
+
Priced as: Rack Rate","gross_including_packaged_item_in_cents":12000,"pre_adjusted_gross_including_packaged_item_in_cents":12000,"gross_in_cents":12000,"pre_adjusted_gross_in_cents":12000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":8000,"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
71
|
+
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":[1],"passenger_splits":[{"id":7,"consumer_id":1,"consumer_splittable_id":3,"gross_in_cents":6000,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":6000}},{"id":2,"booking_id":1,"description":"QBE
|
73
72
|
Travel Insurance Policy E known as the ''Australian Cancellation and Additional
|
74
73
|
Expenses'' plan has been included into this booking. This covers you for defined
|
75
74
|
unforeseen cancellations and additional expenses. Please refer to the Product
|
76
|
-
Disclosure Statement for further information.","comment":null,"active":true,"service_ids":[5,6],"resource_id":3,"quantity":null,"adjustments_attributes":[{"id":5,"gross_in_cents":-6000,"creator":{"
|
77
|
-
Administrator","
|
78
|
-
Off","adjustable_item_type":"Reservation","adjustable_item_id":2,"adjustment_definition_id":1,"adjustment_category_id":1,"automatic":true}],"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":
|
79
|
-
Travel Insurance - Policy E","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-02"},"durational":true,"duration":2,"duration_units":"Days","date_start_label":"Start
|
75
|
+
Disclosure Statement for further information.","comment":null,"active":true,"service_ids":[5,6],"resource_id":3,"quantity":null,"adjustments_attributes":[{"id":5,"gross_in_cents":-6000,"creator":{"id":1,"name":"Administrator
|
76
|
+
Administrator","age":null,"first_name":"administrator","last_name":"administrator","title":null,"gender":null,"created_at":null,"updated_at":null,"notes":null,"updator_id":null,"creator_id":null,"active":true,"internal_subdivision":false,"business_number":null,"business_number_type":null,"currency_iso_code":"AUD","access_type":2},"created_at":"2013-03-01T00:40:04.000+10:30","description":"50%
|
77
|
+
Off","adjustable_item_type":"Reservation","adjustable_item_id":2,"adjustment_definition_id":1,"adjustment_category_id":1,"automatic":true}],"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":"QBE
|
78
|
+
Travel Insurance - Policy E","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-02"},"durational":true,"duration":2,"span":2,"duration_units":"Days","date_start_label":"Start
|
80
79
|
Date:","date_end_label":"End Date:","expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
|
81
80
|
Priced as: Rack Rate","gross_including_packaged_item_in_cents":6000,"pre_adjusted_gross_including_packaged_item_in_cents":12000,"gross_in_cents":6000,"pre_adjusted_gross_in_cents":12000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":8000,"rules":[{"unique_name":"QBE
|
82
|
-
Get Me","description":"","display_name":"QBE Get Me"}],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
83
|
-
|
81
|
+
Get Me","description":"","display_name":"QBE Get Me"}],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
82
|
+
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":[1,2],"passenger_splits":[{"id":3,"consumer_id":1,"consumer_splittable_id":2,"gross_in_cents":6000,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"},{"id":4,"consumer_id":2,"consumer_splittable_id":2,"gross_in_cents":6000,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":3000,"2":3000}}],"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[1,2],"passenger_splits":[{"id":1,"consumer_id":1,"consumer_splittable_id":1,"gross_in_cents":0,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"},{"id":2,"consumer_id":2,"consumer_splittable_id":1,"gross_in_cents":0,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"1":0,"2":0}}],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":4,"name":"visa","description":"visa","transaction_fee":"0.0","active":true,"position":3,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"Visa","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":5,"name":"master","description":"master","transaction_fee":"0.0","active":true,"position":4,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":7,"name":"PayPal","description":"Payments
|
83
|
+
made via PayPal account","transaction_fee":"0.0","active":true,"position":6,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"paypal","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":10,"name":"Opal
|
84
|
+
Pay","description":"Opal Payments","transaction_fee":"0.0","active":true,"position":9,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"opal_pay","gateway":null,"on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":false,"creditlink":false,"surchargeable":false}],"issued_tickets_attributes":[]}'
|
84
85
|
http_version:
|
85
|
-
recorded_at:
|
86
|
+
recorded_at: Wed, 21 Mar 2018 04:40:43 GMT
|
86
87
|
- request:
|
87
88
|
method: get
|
88
|
-
uri: http://test.qt.sealink.com.au:8080/resources/4.json
|
89
|
+
uri: http://test.qt.sealink.com.au:8080/api/resources/4.json
|
89
90
|
body:
|
90
91
|
encoding: UTF-8
|
91
92
|
string: access_key=<QT_KEY>
|
@@ -101,22 +102,20 @@ http_interactions:
|
|
101
102
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
102
103
|
Content-Type:
|
103
104
|
- application/json; charset=utf-8
|
104
|
-
X-Ua-Compatible:
|
105
|
-
- IE=Edge,chrome=1
|
106
105
|
Etag:
|
107
|
-
-
|
106
|
+
- W/"053bdb956c14091551a8303c0dd8a47b"
|
108
107
|
Cache-Control:
|
109
108
|
- max-age=0, private, must-revalidate
|
110
109
|
X-Request-Id:
|
111
|
-
-
|
110
|
+
- 9e577651-3c1a-4e4b-b798-bec18428c0bc
|
112
111
|
X-Runtime:
|
113
|
-
- '0.
|
114
|
-
Vary:
|
115
|
-
- Origin
|
112
|
+
- '0.372467'
|
116
113
|
Date:
|
117
|
-
- Fri, 01 Jan 2016 02:32:
|
114
|
+
- Fri, 01 Jan 2016 02:32:36 GMT
|
118
115
|
X-Rack-Cache:
|
119
116
|
- miss
|
117
|
+
Vary:
|
118
|
+
- Origin
|
120
119
|
X-Content-Type-Options:
|
121
120
|
- nosniff
|
122
121
|
X-Download-Options:
|
@@ -130,25 +129,24 @@ http_interactions:
|
|
130
129
|
Server:
|
131
130
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
132
131
|
Content-Length:
|
133
|
-
- '
|
132
|
+
- '1593'
|
134
133
|
Connection:
|
135
134
|
- Keep-Alive
|
136
135
|
Set-Cookie:
|
137
|
-
-
|
136
|
+
- _session_id=TlJnM0tPcmlielEybjNzUmxwWXBXLzV4MkxackZXK0RUMWpqWkZSRit1eG4yY0YrcDFLZGptUG5HQjltWmFoYnZTVGtleUdNVWh4YTlGT3RmckFkTFIrbGc5M3ozak1QMzBsVmhKbXdRd2c9LS1BTWhjZlIzVUFJLys5Wm5Qc1FFNlhRPT0%3D--fc3716bfe1dd4d3f566ef5d9611376b17cca57f4;
|
138
137
|
path=/; HttpOnly
|
139
138
|
body:
|
140
139
|
encoding: UTF-8
|
141
|
-
string: '{"id":4,"name":"Travel Insurance - Declined","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"
|
142
|
-
|
143
|
-
Insurance - Declined","client_type_ids":[],"category":null,"location":"","current_description":"\u003Cp\u003EYou
|
140
|
+
string: '[{"id":4,"name":"Travel 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
|
141
|
+
Insurance - Declined","client_type_ids":[],"category":null,"location_ids":[],"current_description":"\u003cp\u003eYou
|
144
142
|
have declined Travel Insurance for your booking. If you wish to add Travel
|
145
143
|
Insurance to this booking, please contact the SeaLink Travel Group on 13 13
|
146
|
-
01 prior to commencing your travels.\
|
144
|
+
01 prior to commencing your travels.\u003c/p\u003e","graphics":[],"graphic_names":[],"ticket_template":null,"expiry_days":null}]'
|
147
145
|
http_version:
|
148
|
-
recorded_at:
|
146
|
+
recorded_at: Wed, 21 Mar 2018 04:40:43 GMT
|
149
147
|
- request:
|
150
148
|
method: get
|
151
|
-
uri: http://test.qt.sealink.com.au:8080/resources/3.json
|
149
|
+
uri: http://test.qt.sealink.com.au:8080/api/resources/3.json
|
152
150
|
body:
|
153
151
|
encoding: UTF-8
|
154
152
|
string: access_key=<QT_KEY>
|
@@ -164,22 +162,20 @@ http_interactions:
|
|
164
162
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
165
163
|
Content-Type:
|
166
164
|
- application/json; charset=utf-8
|
167
|
-
X-Ua-Compatible:
|
168
|
-
- IE=Edge,chrome=1
|
169
165
|
Etag:
|
170
|
-
-
|
166
|
+
- W/"44af53c02bbef81d5c7121b3be95c496"
|
171
167
|
Cache-Control:
|
172
168
|
- max-age=0, private, must-revalidate
|
173
169
|
X-Request-Id:
|
174
|
-
-
|
170
|
+
- f440da5b-5482-4782-af5e-0cbcbfb4d584
|
175
171
|
X-Runtime:
|
176
|
-
- '0.
|
177
|
-
Vary:
|
178
|
-
- Origin
|
172
|
+
- '0.181288'
|
179
173
|
Date:
|
180
|
-
- Fri, 01 Jan 2016 02:32:
|
174
|
+
- Fri, 01 Jan 2016 02:32:36 GMT
|
181
175
|
X-Rack-Cache:
|
182
176
|
- miss
|
177
|
+
Vary:
|
178
|
+
- Origin
|
183
179
|
X-Content-Type-Options:
|
184
180
|
- nosniff
|
185
181
|
X-Download-Options:
|
@@ -193,23 +189,21 @@ http_interactions:
|
|
193
189
|
Server:
|
194
190
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
195
191
|
Content-Length:
|
196
|
-
- '
|
192
|
+
- '1764'
|
197
193
|
Connection:
|
198
194
|
- Keep-Alive
|
199
195
|
Set-Cookie:
|
200
|
-
-
|
196
|
+
- _session_id=dGVuaXB3ZUg4TkNaM2cya1NpeFFnRGZBcUxSaHFvWjIwSVR1MkJHOThOUlJENEVvNU1Ia05kR202Wm12ZFlVRjJpbHB0b1I3dWRpcmNiUy8rNlZJZ3VYZU1RR2NYc3I5eklERjRzS1NsbFk9LS1Vc1lubEZRcE1pS3pRcTJzL1ZUVjVRPT0%3D--76d59347b136559a1defb24eb25a0b780a738c4e;
|
201
197
|
path=/; HttpOnly
|
202
198
|
body:
|
203
199
|
encoding: UTF-8
|
204
|
-
string: '{"id":3,"name":"QBE Travel Insurance - Policy E","product_type_id":7,"default_capacity":null,"type":"Insurance","inventory_type":1,"maximum_occupancy":null,"
|
205
|
-
Travel Insurance Policy E
|
206
|
-
|
207
|
-
Travel Insurance - Policy E","client_type_ids":[],"category":null,"location":"","current_description":"\u003Cp\u003E\u003Cspan
|
208
|
-
class=\"caps\"\u003EQBE\u003C/span\u003E Travel Insurance Policy E known as
|
200
|
+
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
|
201
|
+
Travel Insurance - Policy E","client_type_ids":[],"category":null,"location_ids":[],"current_description":"\u003cp\u003e\u003cspan
|
202
|
+
class=\"caps\"\u003eQBE\u003c/span\u003e Travel Insurance Policy E known as
|
209
203
|
the \u0026#8216;Australian Cancellation and Additional Expenses\u0026#8217;
|
210
204
|
plan has been included into this booking. This covers you for defined unforeseen
|
211
205
|
cancellations and additional expenses. Please refer to the Product Disclosure
|
212
|
-
Statement for further information.\
|
206
|
+
Statement for further information.\u003c/p\u003e","graphics":[],"graphic_names":[],"ticket_template":null,"expiry_days":null}]'
|
213
207
|
http_version:
|
214
|
-
recorded_at:
|
215
|
-
recorded_with: VCR
|
208
|
+
recorded_at: Wed, 21 Mar 2018 04:40:43 GMT
|
209
|
+
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/"965a46d99381b380fbbfdfc8c4f8164d"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 71cff392-4428-409c-bf16-d4fa78b8f8db
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.572032'
|
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,16 +45,16 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '474'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=eGJzVU1OOFdIaXMzUW5KVHJDY3VoR29LanVtcVB2N2xMcG1sYUVUQjE5czFON3pwNDY0dWRvN1VrQTUzdGpoRVZ6Qjc1SGFUL2ZjL08xaDd0aGxoYVZkNmtqako1eVFyczEwZWNHaDhOYVU9LS13K0FkemFpSHAyMWlZOEE4cEVXd3hnPT0%3D--a5b742d5dcfbcd33c9d12b6421e72998e948a925;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"
|
59
|
-
Trip","
|
56
|
+
string: '[{"id":1,"name":"Common","description":null,"product_type_id":5,"created_at":null,"updated_at":null,"position":null},{"id":2,"name":"Multiple
|
57
|
+
Trip","description":null,"product_type_id":5,"created_at":null,"updated_at":null,"position":null},{"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}]'
|
60
58
|
http_version:
|
61
|
-
recorded_at:
|
62
|
-
recorded_with: VCR
|
59
|
+
recorded_at: Wed, 21 Mar 2018 04:40:44 GMT
|
60
|
+
recorded_with: VCR 4.0.0
|