seatschart 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +162 -15
- data/lib/seatschart/api/audit_api.rb +2 -2
- data/lib/seatschart/api/charts_api.rb +799 -66
- data/lib/seatschart/api/embed_api.rb +5 -5
- data/lib/seatschart/api/embed_origins_api.rb +63 -2
- data/lib/seatschart/api/event_log_api.rb +2 -2
- data/lib/seatschart/api/events_api.rb +1471 -155
- data/lib/seatschart/api/health_api.rb +244 -0
- data/lib/seatschart/api/map_designer_api.rb +11 -9
- data/lib/seatschart/api/public_api.rb +350 -0
- data/lib/seatschart/api/sandboxes_api.rb +672 -0
- data/lib/seatschart/api/seasons_api.rb +344 -36
- data/lib/seatschart/api/seats_api.rb +10 -10
- data/lib/seatschart/api/usage_api.rb +18 -15
- data/lib/seatschart/api/webhooks_api.rb +2 -2
- data/lib/seatschart/api/workspace_api.rb +306 -20
- data/lib/seatschart/models/api_error.rb +4 -4
- data/lib/seatschart/models/delete_api_sandboxes_by_sandbox_id200_response.rb +255 -0
- data/lib/seatschart/models/get_api_monitoring_requests200_response.rb +62 -4
- data/lib/seatschart/models/get_api_monitoring_requests200_response_points_inner.rb +21 -4
- data/lib/seatschart/models/get_api_sandboxes200_response.rb +239 -0
- data/lib/seatschart/models/get_api_sandboxes200_response_items_inner.rb +431 -0
- data/lib/seatschart/models/get_api_sandboxes200_response_items_inner_rate_limits.rb +270 -0
- data/lib/seatschart/models/get_api_sandboxes200_response_items_inner_usage.rb +287 -0
- data/lib/seatschart/models/get_api_status200_response.rb +387 -0
- data/lib/seatschart/models/get_api_status200_response_components_inner.rb +330 -0
- data/lib/seatschart/models/get_api_status200_response_components_inner_days_inner.rb +301 -0
- data/lib/seatschart/models/get_api_status200_response_incidents_inner.rb +374 -0
- data/lib/seatschart/models/get_api_status200_response_maintenance_inner.rb +350 -0
- data/lib/seatschart/models/get_api_status503_response.rb +271 -0
- data/lib/seatschart/models/get_api_workspace_buyer_extra_data200_response.rb +241 -0
- data/lib/seatschart/models/get_api_workspace_defaults200_response.rb +254 -0
- data/lib/seatschart/models/get_api_workspace_defaults200_response_renderer.rb +246 -0
- data/lib/seatschart/models/get_api_workspace_defaults200_response_renderer_built_in.rb +270 -0
- data/lib/seatschart/models/get_api_workspaces200_response_items_inner.rb +34 -5
- data/lib/seatschart/models/patch_api_events_by_event_id_request.rb +16 -6
- data/lib/seatschart/models/patch_api_seasons_by_season_id_request.rb +15 -5
- data/lib/seatschart/models/patch_api_workspace_chart_validation_request_severities.rb +25 -4
- data/lib/seatschart/models/patch_api_workspace_defaults_request.rb +224 -0
- data/lib/seatschart/models/patch_api_workspace_defaults_request_renderer.rb +249 -0
- data/lib/seatschart/models/patch_api_workspace_settings_request.rb +6 -6
- data/lib/seatschart/models/post_api_charts_by_chart_id_actions_copy_to_workspace_request.rb +39 -1
- data/lib/seatschart/models/post_api_charts_by_chart_id_actions_validate_request.rb +1 -0
- data/lib/seatschart/models/post_api_charts_by_chart_id_map_publish422_response_issues_inner.rb +64 -6
- data/lib/seatschart/models/post_api_charts_by_chart_id_map_publish_request.rb +1 -1
- data/lib/seatschart/models/post_api_embed_tokens_request.rb +18 -15
- data/lib/seatschart/models/post_api_embed_tokens_request_safe_mode_options.rb +226 -0
- data/lib/seatschart/models/post_api_events_actions_edit_for_sale_config_request.rb +251 -0
- data/lib/seatschart/models/post_api_events_actions_edit_for_sale_config_request_events_inner.rb +322 -0
- data/lib/seatschart/models/post_api_events_bulk_request_events_inner.rb +42 -1
- data/lib/seatschart/models/post_api_events_by_event_id_actions_edit_for_sale_config_request.rb +277 -0
- data/lib/seatschart/models/post_api_events_by_event_id_actions_edit_for_sale_config_request_for_sale_inner.rb +319 -0
- data/lib/seatschart/models/post_api_events_by_event_id_map_publish_request.rb +215 -0
- data/lib/seatschart/models/post_api_events_request.rb +42 -1
- data/lib/seatschart/models/{patch_api_events_by_event_id_request_categories_inner.rb → post_api_events_request_categories_inner.rb} +3 -3
- data/lib/seatschart/models/post_api_extract_seats200_response.rb +459 -0
- data/lib/seatschart/models/post_api_extract_seats200_response_seats_inner.rb +323 -0
- data/lib/seatschart/models/post_api_extract_seats200_response_suggested_inner.rb +320 -0
- data/lib/seatschart/models/post_api_extract_seats_request.rb +124 -4
- data/lib/seatschart/models/post_api_extract_seats_request_examples.rb +105 -0
- data/lib/seatschart/models/post_api_extract_seats_request_examples_any_of_inner.rb +293 -0
- data/lib/seatschart/models/post_api_extract_seats_request_negatives.rb +105 -0
- data/lib/seatschart/models/post_api_extract_seats_request_region.rb +105 -0
- data/lib/seatschart/models/post_api_extract_seats_request_region_any_of.rb +363 -0
- data/lib/seatschart/models/post_api_sandboxes201_response.rb +245 -0
- data/lib/seatschart/models/post_api_sandboxes201_response_admin_key.rb +286 -0
- data/lib/seatschart/models/post_api_sandboxes201_response_copied.rb +313 -0
- data/lib/seatschart/models/post_api_sandboxes201_response_copied_charts_inner.rb +281 -0
- data/lib/seatschart/models/post_api_sandboxes201_response_copied_events_inner.rb +281 -0
- data/lib/seatschart/models/post_api_sandboxes201_response_copied_events_with_own_map_inner.rb +265 -0
- data/lib/seatschart/models/post_api_sandboxes201_response_copied_key_conflicts_inner.rb +287 -0
- data/lib/seatschart/models/post_api_sandboxes201_response_copied_seasons_inner.rb +312 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_actions_copy_from_production200_response.rb +313 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_actions_copy_from_production_request.rb +255 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_actions_join200_response.rb +271 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_actions_reset200_response.rb +268 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_actions_reset_request.rb +225 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_admin_key201_response.rb +253 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_admin_key201_response_api_key.rb +286 -0
- data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_admin_key_request.rb +252 -0
- data/lib/seatschart/models/post_api_sandboxes_request.rb +319 -0
- data/lib/seatschart/models/post_api_seasons_request.rb +14 -4
- data/lib/seatschart/models/post_api_seats_confirm_request.rb +5 -5
- data/lib/seatschart/models/post_api_seats_release_request.rb +5 -5
- data/lib/seatschart/models/post_api_seats_reserve_request.rb +5 -5
- data/lib/seatschart/models/post_api_workspaces_request.rb +1 -1
- data/lib/seatschart/models/put_api_charts_by_chart_id_map_draft_request.rb +1 -0
- data/lib/seatschart/models/put_api_workspace_buyer_extra_data_request.rb +260 -0
- data/lib/seatschart/models/put_internal_status_notices_request.rb +242 -0
- data/lib/seatschart/models/put_internal_status_notices_request_notices_inner.rb +445 -0
- data/lib/seatschart/retry.rb +106 -7
- data/lib/seatschart/version.rb +1 -1
- data/lib/seatschart.rb +53 -2
- metadata +55 -4
- data/lib/seatschart/api/default_api.rb +0 -763
|
@@ -631,12 +631,13 @@ module SeatsChart
|
|
|
631
631
|
end
|
|
632
632
|
|
|
633
633
|
# Partial season report by availability (CSV)
|
|
634
|
-
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
634
|
+
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
635
635
|
# @param season_id [String]
|
|
636
636
|
# @param partial_season_id [String]
|
|
637
637
|
# @param [Hash] opts the optional parameters
|
|
638
638
|
# @option opts [String] :availability Only this availability bucket.
|
|
639
639
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
640
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
640
641
|
# @return [nil]
|
|
641
642
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_availability_csv(season_id, partial_season_id, opts = {})
|
|
642
643
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_availability_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -644,12 +645,13 @@ module SeatsChart
|
|
|
644
645
|
end
|
|
645
646
|
|
|
646
647
|
# Partial season report by availability (CSV)
|
|
647
|
-
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
648
|
+
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
648
649
|
# @param season_id [String]
|
|
649
650
|
# @param partial_season_id [String]
|
|
650
651
|
# @param [Hash] opts the optional parameters
|
|
651
652
|
# @option opts [String] :availability Only this availability bucket.
|
|
652
653
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
654
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
653
655
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
654
656
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_availability_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
655
657
|
if @api_client.config.debugging
|
|
@@ -685,6 +687,10 @@ module SeatsChart
|
|
|
685
687
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
686
688
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
687
689
|
end
|
|
690
|
+
allowable_values = ["true", "false"]
|
|
691
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
692
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
693
|
+
end
|
|
688
694
|
# resource path
|
|
689
695
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-availability.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
690
696
|
|
|
@@ -692,6 +698,7 @@ module SeatsChart
|
|
|
692
698
|
query_params = opts[:query_params] || {}
|
|
693
699
|
query_params[:'availability'] = opts[:'availability'] if !opts[:'availability'].nil?
|
|
694
700
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
701
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
695
702
|
|
|
696
703
|
# header parameters
|
|
697
704
|
header_params = opts[:header_params] || {}
|
|
@@ -726,12 +733,13 @@ module SeatsChart
|
|
|
726
733
|
end
|
|
727
734
|
|
|
728
735
|
# Partial season report by availability
|
|
729
|
-
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
736
|
+
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
730
737
|
# @param season_id [String]
|
|
731
738
|
# @param partial_season_id [String]
|
|
732
739
|
# @param [Hash] opts the optional parameters
|
|
733
740
|
# @option opts [String] :availability Only this availability bucket.
|
|
734
741
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
742
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
735
743
|
# @return [nil]
|
|
736
744
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_availability_json(season_id, partial_season_id, opts = {})
|
|
737
745
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_availability_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -739,12 +747,13 @@ module SeatsChart
|
|
|
739
747
|
end
|
|
740
748
|
|
|
741
749
|
# Partial season report by availability
|
|
742
|
-
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
750
|
+
# Objects of the partial season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
743
751
|
# @param season_id [String]
|
|
744
752
|
# @param partial_season_id [String]
|
|
745
753
|
# @param [Hash] opts the optional parameters
|
|
746
754
|
# @option opts [String] :availability Only this availability bucket.
|
|
747
755
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
756
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
748
757
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
749
758
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_availability_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
750
759
|
if @api_client.config.debugging
|
|
@@ -780,6 +789,10 @@ module SeatsChart
|
|
|
780
789
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
781
790
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
782
791
|
end
|
|
792
|
+
allowable_values = ["true", "false"]
|
|
793
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
794
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
795
|
+
end
|
|
783
796
|
# resource path
|
|
784
797
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-availability.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
785
798
|
|
|
@@ -787,6 +800,7 @@ module SeatsChart
|
|
|
787
800
|
query_params = opts[:query_params] || {}
|
|
788
801
|
query_params[:'availability'] = opts[:'availability'] if !opts[:'availability'].nil?
|
|
789
802
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
803
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
790
804
|
|
|
791
805
|
# header parameters
|
|
792
806
|
header_params = opts[:header_params] || {}
|
|
@@ -821,12 +835,13 @@ module SeatsChart
|
|
|
821
835
|
end
|
|
822
836
|
|
|
823
837
|
# Partial season report by category (CSV)
|
|
824
|
-
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
838
|
+
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
825
839
|
# @param season_id [String]
|
|
826
840
|
# @param partial_season_id [String]
|
|
827
841
|
# @param [Hash] opts the optional parameters
|
|
828
842
|
# @option opts [String] :category Only this category bucket.
|
|
829
843
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
844
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
830
845
|
# @return [nil]
|
|
831
846
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_category_csv(season_id, partial_season_id, opts = {})
|
|
832
847
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_category_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -834,12 +849,13 @@ module SeatsChart
|
|
|
834
849
|
end
|
|
835
850
|
|
|
836
851
|
# Partial season report by category (CSV)
|
|
837
|
-
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
852
|
+
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
838
853
|
# @param season_id [String]
|
|
839
854
|
# @param partial_season_id [String]
|
|
840
855
|
# @param [Hash] opts the optional parameters
|
|
841
856
|
# @option opts [String] :category Only this category bucket.
|
|
842
857
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
858
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
843
859
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
844
860
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_category_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
845
861
|
if @api_client.config.debugging
|
|
@@ -875,6 +891,10 @@ module SeatsChart
|
|
|
875
891
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
876
892
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
877
893
|
end
|
|
894
|
+
allowable_values = ["true", "false"]
|
|
895
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
896
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
897
|
+
end
|
|
878
898
|
# resource path
|
|
879
899
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-category.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
880
900
|
|
|
@@ -882,6 +902,7 @@ module SeatsChart
|
|
|
882
902
|
query_params = opts[:query_params] || {}
|
|
883
903
|
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
|
884
904
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
905
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
885
906
|
|
|
886
907
|
# header parameters
|
|
887
908
|
header_params = opts[:header_params] || {}
|
|
@@ -916,12 +937,13 @@ module SeatsChart
|
|
|
916
937
|
end
|
|
917
938
|
|
|
918
939
|
# Partial season report by category
|
|
919
|
-
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
940
|
+
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
920
941
|
# @param season_id [String]
|
|
921
942
|
# @param partial_season_id [String]
|
|
922
943
|
# @param [Hash] opts the optional parameters
|
|
923
944
|
# @option opts [String] :category Only this category bucket.
|
|
924
945
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
946
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
925
947
|
# @return [nil]
|
|
926
948
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_category_json(season_id, partial_season_id, opts = {})
|
|
927
949
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_category_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -929,12 +951,13 @@ module SeatsChart
|
|
|
929
951
|
end
|
|
930
952
|
|
|
931
953
|
# Partial season report by category
|
|
932
|
-
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
954
|
+
# Objects of the partial season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
933
955
|
# @param season_id [String]
|
|
934
956
|
# @param partial_season_id [String]
|
|
935
957
|
# @param [Hash] opts the optional parameters
|
|
936
958
|
# @option opts [String] :category Only this category bucket.
|
|
937
959
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
960
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
938
961
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
939
962
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_category_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
940
963
|
if @api_client.config.debugging
|
|
@@ -970,6 +993,10 @@ module SeatsChart
|
|
|
970
993
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
971
994
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
972
995
|
end
|
|
996
|
+
allowable_values = ["true", "false"]
|
|
997
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
998
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
999
|
+
end
|
|
973
1000
|
# resource path
|
|
974
1001
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-category.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
975
1002
|
|
|
@@ -977,6 +1004,7 @@ module SeatsChart
|
|
|
977
1004
|
query_params = opts[:query_params] || {}
|
|
978
1005
|
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
|
979
1006
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1007
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
980
1008
|
|
|
981
1009
|
# header parameters
|
|
982
1010
|
header_params = opts[:header_params] || {}
|
|
@@ -1011,12 +1039,13 @@ module SeatsChart
|
|
|
1011
1039
|
end
|
|
1012
1040
|
|
|
1013
1041
|
# Partial season report by status (CSV)
|
|
1014
|
-
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1042
|
+
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1015
1043
|
# @param season_id [String]
|
|
1016
1044
|
# @param partial_season_id [String]
|
|
1017
1045
|
# @param [Hash] opts the optional parameters
|
|
1018
1046
|
# @option opts [String] :status Only this status bucket.
|
|
1019
1047
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1048
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1020
1049
|
# @return [nil]
|
|
1021
1050
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_status_csv(season_id, partial_season_id, opts = {})
|
|
1022
1051
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_status_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1024,12 +1053,13 @@ module SeatsChart
|
|
|
1024
1053
|
end
|
|
1025
1054
|
|
|
1026
1055
|
# Partial season report by status (CSV)
|
|
1027
|
-
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1056
|
+
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1028
1057
|
# @param season_id [String]
|
|
1029
1058
|
# @param partial_season_id [String]
|
|
1030
1059
|
# @param [Hash] opts the optional parameters
|
|
1031
1060
|
# @option opts [String] :status Only this status bucket.
|
|
1032
1061
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1062
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1033
1063
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1034
1064
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_status_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
1035
1065
|
if @api_client.config.debugging
|
|
@@ -1065,6 +1095,10 @@ module SeatsChart
|
|
|
1065
1095
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1066
1096
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1067
1097
|
end
|
|
1098
|
+
allowable_values = ["true", "false"]
|
|
1099
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1100
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1101
|
+
end
|
|
1068
1102
|
# resource path
|
|
1069
1103
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-status.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1070
1104
|
|
|
@@ -1072,6 +1106,7 @@ module SeatsChart
|
|
|
1072
1106
|
query_params = opts[:query_params] || {}
|
|
1073
1107
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
|
1074
1108
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1109
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1075
1110
|
|
|
1076
1111
|
# header parameters
|
|
1077
1112
|
header_params = opts[:header_params] || {}
|
|
@@ -1106,12 +1141,13 @@ module SeatsChart
|
|
|
1106
1141
|
end
|
|
1107
1142
|
|
|
1108
1143
|
# Partial season report by status
|
|
1109
|
-
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1144
|
+
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1110
1145
|
# @param season_id [String]
|
|
1111
1146
|
# @param partial_season_id [String]
|
|
1112
1147
|
# @param [Hash] opts the optional parameters
|
|
1113
1148
|
# @option opts [String] :status Only this status bucket.
|
|
1114
1149
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1150
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1115
1151
|
# @return [nil]
|
|
1116
1152
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_status_json(season_id, partial_season_id, opts = {})
|
|
1117
1153
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_status_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1119,12 +1155,13 @@ module SeatsChart
|
|
|
1119
1155
|
end
|
|
1120
1156
|
|
|
1121
1157
|
# Partial season report by status
|
|
1122
|
-
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1158
|
+
# Objects of the partial season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1123
1159
|
# @param season_id [String]
|
|
1124
1160
|
# @param partial_season_id [String]
|
|
1125
1161
|
# @param [Hash] opts the optional parameters
|
|
1126
1162
|
# @option opts [String] :status Only this status bucket.
|
|
1127
1163
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1164
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1128
1165
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1129
1166
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_status_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
1130
1167
|
if @api_client.config.debugging
|
|
@@ -1160,6 +1197,10 @@ module SeatsChart
|
|
|
1160
1197
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1161
1198
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1162
1199
|
end
|
|
1200
|
+
allowable_values = ["true", "false"]
|
|
1201
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1202
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1203
|
+
end
|
|
1163
1204
|
# resource path
|
|
1164
1205
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-status.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1165
1206
|
|
|
@@ -1167,6 +1208,7 @@ module SeatsChart
|
|
|
1167
1208
|
query_params = opts[:query_params] || {}
|
|
1168
1209
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
|
1169
1210
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1211
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1170
1212
|
|
|
1171
1213
|
# header parameters
|
|
1172
1214
|
header_params = opts[:header_params] || {}
|
|
@@ -1201,12 +1243,13 @@ module SeatsChart
|
|
|
1201
1243
|
end
|
|
1202
1244
|
|
|
1203
1245
|
# Partial season report by zone (CSV)
|
|
1204
|
-
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1246
|
+
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1205
1247
|
# @param season_id [String]
|
|
1206
1248
|
# @param partial_season_id [String]
|
|
1207
1249
|
# @param [Hash] opts the optional parameters
|
|
1208
1250
|
# @option opts [String] :zone Only this zone bucket.
|
|
1209
1251
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1252
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1210
1253
|
# @return [nil]
|
|
1211
1254
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_zone_csv(season_id, partial_season_id, opts = {})
|
|
1212
1255
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_zone_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1214,12 +1257,13 @@ module SeatsChart
|
|
|
1214
1257
|
end
|
|
1215
1258
|
|
|
1216
1259
|
# Partial season report by zone (CSV)
|
|
1217
|
-
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1260
|
+
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1218
1261
|
# @param season_id [String]
|
|
1219
1262
|
# @param partial_season_id [String]
|
|
1220
1263
|
# @param [Hash] opts the optional parameters
|
|
1221
1264
|
# @option opts [String] :zone Only this zone bucket.
|
|
1222
1265
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1266
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1223
1267
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1224
1268
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_zone_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
1225
1269
|
if @api_client.config.debugging
|
|
@@ -1255,6 +1299,10 @@ module SeatsChart
|
|
|
1255
1299
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1256
1300
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1257
1301
|
end
|
|
1302
|
+
allowable_values = ["true", "false"]
|
|
1303
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1304
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1305
|
+
end
|
|
1258
1306
|
# resource path
|
|
1259
1307
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-zone.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1260
1308
|
|
|
@@ -1262,6 +1310,7 @@ module SeatsChart
|
|
|
1262
1310
|
query_params = opts[:query_params] || {}
|
|
1263
1311
|
query_params[:'zone'] = opts[:'zone'] if !opts[:'zone'].nil?
|
|
1264
1312
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1313
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1265
1314
|
|
|
1266
1315
|
# header parameters
|
|
1267
1316
|
header_params = opts[:header_params] || {}
|
|
@@ -1296,12 +1345,13 @@ module SeatsChart
|
|
|
1296
1345
|
end
|
|
1297
1346
|
|
|
1298
1347
|
# Partial season report by zone
|
|
1299
|
-
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1348
|
+
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1300
1349
|
# @param season_id [String]
|
|
1301
1350
|
# @param partial_season_id [String]
|
|
1302
1351
|
# @param [Hash] opts the optional parameters
|
|
1303
1352
|
# @option opts [String] :zone Only this zone bucket.
|
|
1304
1353
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1354
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1305
1355
|
# @return [nil]
|
|
1306
1356
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_zone_json(season_id, partial_season_id, opts = {})
|
|
1307
1357
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_zone_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1309,12 +1359,13 @@ module SeatsChart
|
|
|
1309
1359
|
end
|
|
1310
1360
|
|
|
1311
1361
|
# Partial season report by zone
|
|
1312
|
-
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1362
|
+
# Objects of the partial season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
1313
1363
|
# @param season_id [String]
|
|
1314
1364
|
# @param partial_season_id [String]
|
|
1315
1365
|
# @param [Hash] opts the optional parameters
|
|
1316
1366
|
# @option opts [String] :zone Only this zone bucket.
|
|
1317
1367
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1368
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1318
1369
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1319
1370
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_by_zone_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
1320
1371
|
if @api_client.config.debugging
|
|
@@ -1350,6 +1401,10 @@ module SeatsChart
|
|
|
1350
1401
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1351
1402
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1352
1403
|
end
|
|
1404
|
+
allowable_values = ["true", "false"]
|
|
1405
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1406
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1407
|
+
end
|
|
1353
1408
|
# resource path
|
|
1354
1409
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/by-zone.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1355
1410
|
|
|
@@ -1357,6 +1412,7 @@ module SeatsChart
|
|
|
1357
1412
|
query_params = opts[:query_params] || {}
|
|
1358
1413
|
query_params[:'zone'] = opts[:'zone'] if !opts[:'zone'].nil?
|
|
1359
1414
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1415
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1360
1416
|
|
|
1361
1417
|
# header parameters
|
|
1362
1418
|
header_params = opts[:header_params] || {}
|
|
@@ -1396,6 +1452,7 @@ module SeatsChart
|
|
|
1396
1452
|
# @param partial_season_id [String]
|
|
1397
1453
|
# @param [Hash] opts the optional parameters
|
|
1398
1454
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1455
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1399
1456
|
# @return [nil]
|
|
1400
1457
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_csv(season_id, partial_season_id, opts = {})
|
|
1401
1458
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1408,6 +1465,7 @@ module SeatsChart
|
|
|
1408
1465
|
# @param partial_season_id [String]
|
|
1409
1466
|
# @param [Hash] opts the optional parameters
|
|
1410
1467
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1468
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1411
1469
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1412
1470
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
1413
1471
|
if @api_client.config.debugging
|
|
@@ -1435,12 +1493,17 @@ module SeatsChart
|
|
|
1435
1493
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1436
1494
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1437
1495
|
end
|
|
1496
|
+
allowable_values = ["true", "false"]
|
|
1497
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1498
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1499
|
+
end
|
|
1438
1500
|
# resource path
|
|
1439
1501
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-availability.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1440
1502
|
|
|
1441
1503
|
# query parameters
|
|
1442
1504
|
query_params = opts[:query_params] || {}
|
|
1443
1505
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1506
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1444
1507
|
|
|
1445
1508
|
# header parameters
|
|
1446
1509
|
header_params = opts[:header_params] || {}
|
|
@@ -1480,6 +1543,7 @@ module SeatsChart
|
|
|
1480
1543
|
# @param partial_season_id [String]
|
|
1481
1544
|
# @param [Hash] opts the optional parameters
|
|
1482
1545
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1546
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1483
1547
|
# @return [nil]
|
|
1484
1548
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_json(season_id, partial_season_id, opts = {})
|
|
1485
1549
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1492,6 +1556,7 @@ module SeatsChart
|
|
|
1492
1556
|
# @param partial_season_id [String]
|
|
1493
1557
|
# @param [Hash] opts the optional parameters
|
|
1494
1558
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1559
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1495
1560
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1496
1561
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
1497
1562
|
if @api_client.config.debugging
|
|
@@ -1519,12 +1584,17 @@ module SeatsChart
|
|
|
1519
1584
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1520
1585
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1521
1586
|
end
|
|
1587
|
+
allowable_values = ["true", "false"]
|
|
1588
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1589
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1590
|
+
end
|
|
1522
1591
|
# resource path
|
|
1523
1592
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-availability.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1524
1593
|
|
|
1525
1594
|
# query parameters
|
|
1526
1595
|
query_params = opts[:query_params] || {}
|
|
1527
1596
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1597
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1528
1598
|
|
|
1529
1599
|
# header parameters
|
|
1530
1600
|
header_params = opts[:header_params] || {}
|
|
@@ -1564,6 +1634,7 @@ module SeatsChart
|
|
|
1564
1634
|
# @param partial_season_id [String]
|
|
1565
1635
|
# @param [Hash] opts the optional parameters
|
|
1566
1636
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1637
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1567
1638
|
# @return [nil]
|
|
1568
1639
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_reason_csv(season_id, partial_season_id, opts = {})
|
|
1569
1640
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_reason_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1576,6 +1647,7 @@ module SeatsChart
|
|
|
1576
1647
|
# @param partial_season_id [String]
|
|
1577
1648
|
# @param [Hash] opts the optional parameters
|
|
1578
1649
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1650
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1579
1651
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1580
1652
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_reason_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
1581
1653
|
if @api_client.config.debugging
|
|
@@ -1603,12 +1675,17 @@ module SeatsChart
|
|
|
1603
1675
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1604
1676
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1605
1677
|
end
|
|
1678
|
+
allowable_values = ["true", "false"]
|
|
1679
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1680
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1681
|
+
end
|
|
1606
1682
|
# resource path
|
|
1607
1683
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-availability-reason.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1608
1684
|
|
|
1609
1685
|
# query parameters
|
|
1610
1686
|
query_params = opts[:query_params] || {}
|
|
1611
1687
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1688
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1612
1689
|
|
|
1613
1690
|
# header parameters
|
|
1614
1691
|
header_params = opts[:header_params] || {}
|
|
@@ -1648,6 +1725,7 @@ module SeatsChart
|
|
|
1648
1725
|
# @param partial_season_id [String]
|
|
1649
1726
|
# @param [Hash] opts the optional parameters
|
|
1650
1727
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1728
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1651
1729
|
# @return [nil]
|
|
1652
1730
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_reason_json(season_id, partial_season_id, opts = {})
|
|
1653
1731
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_reason_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1660,6 +1738,7 @@ module SeatsChart
|
|
|
1660
1738
|
# @param partial_season_id [String]
|
|
1661
1739
|
# @param [Hash] opts the optional parameters
|
|
1662
1740
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1741
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1663
1742
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1664
1743
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_availability_reason_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
1665
1744
|
if @api_client.config.debugging
|
|
@@ -1687,12 +1766,17 @@ module SeatsChart
|
|
|
1687
1766
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1688
1767
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1689
1768
|
end
|
|
1769
|
+
allowable_values = ["true", "false"]
|
|
1770
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1771
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1772
|
+
end
|
|
1690
1773
|
# resource path
|
|
1691
1774
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-availability-reason.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1692
1775
|
|
|
1693
1776
|
# query parameters
|
|
1694
1777
|
query_params = opts[:query_params] || {}
|
|
1695
1778
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1779
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1696
1780
|
|
|
1697
1781
|
# header parameters
|
|
1698
1782
|
header_params = opts[:header_params] || {}
|
|
@@ -1732,6 +1816,7 @@ module SeatsChart
|
|
|
1732
1816
|
# @param partial_season_id [String]
|
|
1733
1817
|
# @param [Hash] opts the optional parameters
|
|
1734
1818
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1819
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1735
1820
|
# @return [nil]
|
|
1736
1821
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_category_csv(season_id, partial_season_id, opts = {})
|
|
1737
1822
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_category_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1744,6 +1829,7 @@ module SeatsChart
|
|
|
1744
1829
|
# @param partial_season_id [String]
|
|
1745
1830
|
# @param [Hash] opts the optional parameters
|
|
1746
1831
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1832
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1747
1833
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1748
1834
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_category_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
1749
1835
|
if @api_client.config.debugging
|
|
@@ -1771,12 +1857,17 @@ module SeatsChart
|
|
|
1771
1857
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1772
1858
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1773
1859
|
end
|
|
1860
|
+
allowable_values = ["true", "false"]
|
|
1861
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1862
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1863
|
+
end
|
|
1774
1864
|
# resource path
|
|
1775
1865
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-category.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1776
1866
|
|
|
1777
1867
|
# query parameters
|
|
1778
1868
|
query_params = opts[:query_params] || {}
|
|
1779
1869
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1870
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1780
1871
|
|
|
1781
1872
|
# header parameters
|
|
1782
1873
|
header_params = opts[:header_params] || {}
|
|
@@ -1816,6 +1907,7 @@ module SeatsChart
|
|
|
1816
1907
|
# @param partial_season_id [String]
|
|
1817
1908
|
# @param [Hash] opts the optional parameters
|
|
1818
1909
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1910
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1819
1911
|
# @return [nil]
|
|
1820
1912
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_category_json(season_id, partial_season_id, opts = {})
|
|
1821
1913
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_category_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1828,6 +1920,7 @@ module SeatsChart
|
|
|
1828
1920
|
# @param partial_season_id [String]
|
|
1829
1921
|
# @param [Hash] opts the optional parameters
|
|
1830
1922
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
1923
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1831
1924
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1832
1925
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_category_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
1833
1926
|
if @api_client.config.debugging
|
|
@@ -1855,12 +1948,17 @@ module SeatsChart
|
|
|
1855
1948
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1856
1949
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1857
1950
|
end
|
|
1951
|
+
allowable_values = ["true", "false"]
|
|
1952
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
1953
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
1954
|
+
end
|
|
1858
1955
|
# resource path
|
|
1859
1956
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-category.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1860
1957
|
|
|
1861
1958
|
# query parameters
|
|
1862
1959
|
query_params = opts[:query_params] || {}
|
|
1863
1960
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
1961
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1864
1962
|
|
|
1865
1963
|
# header parameters
|
|
1866
1964
|
header_params = opts[:header_params] || {}
|
|
@@ -1900,6 +1998,7 @@ module SeatsChart
|
|
|
1900
1998
|
# @param partial_season_id [String]
|
|
1901
1999
|
# @param [Hash] opts the optional parameters
|
|
1902
2000
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2001
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1903
2002
|
# @return [nil]
|
|
1904
2003
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_section_csv(season_id, partial_season_id, opts = {})
|
|
1905
2004
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_section_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1912,6 +2011,7 @@ module SeatsChart
|
|
|
1912
2011
|
# @param partial_season_id [String]
|
|
1913
2012
|
# @param [Hash] opts the optional parameters
|
|
1914
2013
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2014
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1915
2015
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1916
2016
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_section_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
1917
2017
|
if @api_client.config.debugging
|
|
@@ -1939,12 +2039,17 @@ module SeatsChart
|
|
|
1939
2039
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
1940
2040
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
1941
2041
|
end
|
|
2042
|
+
allowable_values = ["true", "false"]
|
|
2043
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2044
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2045
|
+
end
|
|
1942
2046
|
# resource path
|
|
1943
2047
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-section.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
1944
2048
|
|
|
1945
2049
|
# query parameters
|
|
1946
2050
|
query_params = opts[:query_params] || {}
|
|
1947
2051
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2052
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
1948
2053
|
|
|
1949
2054
|
# header parameters
|
|
1950
2055
|
header_params = opts[:header_params] || {}
|
|
@@ -1984,6 +2089,7 @@ module SeatsChart
|
|
|
1984
2089
|
# @param partial_season_id [String]
|
|
1985
2090
|
# @param [Hash] opts the optional parameters
|
|
1986
2091
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2092
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1987
2093
|
# @return [nil]
|
|
1988
2094
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_section_json(season_id, partial_season_id, opts = {})
|
|
1989
2095
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_section_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -1996,6 +2102,7 @@ module SeatsChart
|
|
|
1996
2102
|
# @param partial_season_id [String]
|
|
1997
2103
|
# @param [Hash] opts the optional parameters
|
|
1998
2104
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2105
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
1999
2106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2000
2107
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_section_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
2001
2108
|
if @api_client.config.debugging
|
|
@@ -2023,12 +2130,17 @@ module SeatsChart
|
|
|
2023
2130
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2024
2131
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2025
2132
|
end
|
|
2133
|
+
allowable_values = ["true", "false"]
|
|
2134
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2135
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2136
|
+
end
|
|
2026
2137
|
# resource path
|
|
2027
2138
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-section.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
2028
2139
|
|
|
2029
2140
|
# query parameters
|
|
2030
2141
|
query_params = opts[:query_params] || {}
|
|
2031
2142
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2143
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2032
2144
|
|
|
2033
2145
|
# header parameters
|
|
2034
2146
|
header_params = opts[:header_params] || {}
|
|
@@ -2068,6 +2180,7 @@ module SeatsChart
|
|
|
2068
2180
|
# @param partial_season_id [String]
|
|
2069
2181
|
# @param [Hash] opts the optional parameters
|
|
2070
2182
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2183
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2071
2184
|
# @return [nil]
|
|
2072
2185
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_status_csv(season_id, partial_season_id, opts = {})
|
|
2073
2186
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_status_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -2080,6 +2193,7 @@ module SeatsChart
|
|
|
2080
2193
|
# @param partial_season_id [String]
|
|
2081
2194
|
# @param [Hash] opts the optional parameters
|
|
2082
2195
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2196
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2083
2197
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2084
2198
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_status_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
2085
2199
|
if @api_client.config.debugging
|
|
@@ -2107,12 +2221,17 @@ module SeatsChart
|
|
|
2107
2221
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2108
2222
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2109
2223
|
end
|
|
2224
|
+
allowable_values = ["true", "false"]
|
|
2225
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2226
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2227
|
+
end
|
|
2110
2228
|
# resource path
|
|
2111
2229
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-status.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
2112
2230
|
|
|
2113
2231
|
# query parameters
|
|
2114
2232
|
query_params = opts[:query_params] || {}
|
|
2115
2233
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2234
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2116
2235
|
|
|
2117
2236
|
# header parameters
|
|
2118
2237
|
header_params = opts[:header_params] || {}
|
|
@@ -2152,6 +2271,7 @@ module SeatsChart
|
|
|
2152
2271
|
# @param partial_season_id [String]
|
|
2153
2272
|
# @param [Hash] opts the optional parameters
|
|
2154
2273
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2274
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2155
2275
|
# @return [nil]
|
|
2156
2276
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_status_json(season_id, partial_season_id, opts = {})
|
|
2157
2277
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_status_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -2164,6 +2284,7 @@ module SeatsChart
|
|
|
2164
2284
|
# @param partial_season_id [String]
|
|
2165
2285
|
# @param [Hash] opts the optional parameters
|
|
2166
2286
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2287
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2167
2288
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2168
2289
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_status_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
2169
2290
|
if @api_client.config.debugging
|
|
@@ -2191,12 +2312,17 @@ module SeatsChart
|
|
|
2191
2312
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2192
2313
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2193
2314
|
end
|
|
2315
|
+
allowable_values = ["true", "false"]
|
|
2316
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2317
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2318
|
+
end
|
|
2194
2319
|
# resource path
|
|
2195
2320
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-status.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
2196
2321
|
|
|
2197
2322
|
# query parameters
|
|
2198
2323
|
query_params = opts[:query_params] || {}
|
|
2199
2324
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2325
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2200
2326
|
|
|
2201
2327
|
# header parameters
|
|
2202
2328
|
header_params = opts[:header_params] || {}
|
|
@@ -2236,6 +2362,7 @@ module SeatsChart
|
|
|
2236
2362
|
# @param partial_season_id [String]
|
|
2237
2363
|
# @param [Hash] opts the optional parameters
|
|
2238
2364
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2365
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2239
2366
|
# @return [nil]
|
|
2240
2367
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_zone_csv(season_id, partial_season_id, opts = {})
|
|
2241
2368
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_zone_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -2248,6 +2375,7 @@ module SeatsChart
|
|
|
2248
2375
|
# @param partial_season_id [String]
|
|
2249
2376
|
# @param [Hash] opts the optional parameters
|
|
2250
2377
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2378
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2251
2379
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2252
2380
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_zone_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
2253
2381
|
if @api_client.config.debugging
|
|
@@ -2275,12 +2403,17 @@ module SeatsChart
|
|
|
2275
2403
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2276
2404
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2277
2405
|
end
|
|
2406
|
+
allowable_values = ["true", "false"]
|
|
2407
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2408
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2409
|
+
end
|
|
2278
2410
|
# resource path
|
|
2279
2411
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-zone.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
2280
2412
|
|
|
2281
2413
|
# query parameters
|
|
2282
2414
|
query_params = opts[:query_params] || {}
|
|
2283
2415
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2416
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2284
2417
|
|
|
2285
2418
|
# header parameters
|
|
2286
2419
|
header_params = opts[:header_params] || {}
|
|
@@ -2320,6 +2453,7 @@ module SeatsChart
|
|
|
2320
2453
|
# @param partial_season_id [String]
|
|
2321
2454
|
# @param [Hash] opts the optional parameters
|
|
2322
2455
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2456
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2323
2457
|
# @return [nil]
|
|
2324
2458
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_zone_json(season_id, partial_season_id, opts = {})
|
|
2325
2459
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_zone_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -2332,6 +2466,7 @@ module SeatsChart
|
|
|
2332
2466
|
# @param partial_season_id [String]
|
|
2333
2467
|
# @param [Hash] opts the optional parameters
|
|
2334
2468
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2469
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2335
2470
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2336
2471
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_by_zone_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
2337
2472
|
if @api_client.config.debugging
|
|
@@ -2359,12 +2494,17 @@ module SeatsChart
|
|
|
2359
2494
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2360
2495
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2361
2496
|
end
|
|
2497
|
+
allowable_values = ["true", "false"]
|
|
2498
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2499
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2500
|
+
end
|
|
2362
2501
|
# resource path
|
|
2363
2502
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary/by-zone.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
2364
2503
|
|
|
2365
2504
|
# query parameters
|
|
2366
2505
|
query_params = opts[:query_params] || {}
|
|
2367
2506
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2507
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2368
2508
|
|
|
2369
2509
|
# header parameters
|
|
2370
2510
|
header_params = opts[:header_params] || {}
|
|
@@ -2404,6 +2544,7 @@ module SeatsChart
|
|
|
2404
2544
|
# @param partial_season_id [String]
|
|
2405
2545
|
# @param [Hash] opts the optional parameters
|
|
2406
2546
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2547
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2407
2548
|
# @return [nil]
|
|
2408
2549
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_csv(season_id, partial_season_id, opts = {})
|
|
2409
2550
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_csv_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -2416,6 +2557,7 @@ module SeatsChart
|
|
|
2416
2557
|
# @param partial_season_id [String]
|
|
2417
2558
|
# @param [Hash] opts the optional parameters
|
|
2418
2559
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2560
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2419
2561
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2420
2562
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_csv_with_http_info(season_id, partial_season_id, opts = {})
|
|
2421
2563
|
if @api_client.config.debugging
|
|
@@ -2443,12 +2585,17 @@ module SeatsChart
|
|
|
2443
2585
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2444
2586
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2445
2587
|
end
|
|
2588
|
+
allowable_values = ["true", "false"]
|
|
2589
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2590
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2591
|
+
end
|
|
2446
2592
|
# resource path
|
|
2447
2593
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
2448
2594
|
|
|
2449
2595
|
# query parameters
|
|
2450
2596
|
query_params = opts[:query_params] || {}
|
|
2451
2597
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2598
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2452
2599
|
|
|
2453
2600
|
# header parameters
|
|
2454
2601
|
header_params = opts[:header_params] || {}
|
|
@@ -2488,6 +2635,7 @@ module SeatsChart
|
|
|
2488
2635
|
# @param partial_season_id [String]
|
|
2489
2636
|
# @param [Hash] opts the optional parameters
|
|
2490
2637
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2638
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2491
2639
|
# @return [nil]
|
|
2492
2640
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_json(season_id, partial_season_id, opts = {})
|
|
2493
2641
|
get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_json_with_http_info(season_id, partial_season_id, opts)
|
|
@@ -2500,6 +2648,7 @@ module SeatsChart
|
|
|
2500
2648
|
# @param partial_season_id [String]
|
|
2501
2649
|
# @param [Hash] opts the optional parameters
|
|
2502
2650
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2651
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2503
2652
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2504
2653
|
def get_api_seasons_by_season_id_partial_seasons_by_partial_season_id_reports_summary_json_with_http_info(season_id, partial_season_id, opts = {})
|
|
2505
2654
|
if @api_client.config.debugging
|
|
@@ -2527,12 +2676,17 @@ module SeatsChart
|
|
|
2527
2676
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2528
2677
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2529
2678
|
end
|
|
2679
|
+
allowable_values = ["true", "false"]
|
|
2680
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2681
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2682
|
+
end
|
|
2530
2683
|
# resource path
|
|
2531
2684
|
local_var_path = '/api/seasons/{seasonId}/partial-seasons/{partialSeasonId}/reports/summary.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s)).sub('{' + 'partialSeasonId' + '}', CGI.escape(partial_season_id.to_s))
|
|
2532
2685
|
|
|
2533
2686
|
# query parameters
|
|
2534
2687
|
query_params = opts[:query_params] || {}
|
|
2535
2688
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2689
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2536
2690
|
|
|
2537
2691
|
# header parameters
|
|
2538
2692
|
header_params = opts[:header_params] || {}
|
|
@@ -2567,11 +2721,12 @@ module SeatsChart
|
|
|
2567
2721
|
end
|
|
2568
2722
|
|
|
2569
2723
|
# Season report by availability (CSV)
|
|
2570
|
-
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2724
|
+
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2571
2725
|
# @param season_id [String]
|
|
2572
2726
|
# @param [Hash] opts the optional parameters
|
|
2573
2727
|
# @option opts [String] :availability Only this availability bucket.
|
|
2574
2728
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2729
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2575
2730
|
# @return [nil]
|
|
2576
2731
|
def get_api_seasons_by_season_id_reports_by_availability_csv(season_id, opts = {})
|
|
2577
2732
|
get_api_seasons_by_season_id_reports_by_availability_csv_with_http_info(season_id, opts)
|
|
@@ -2579,11 +2734,12 @@ module SeatsChart
|
|
|
2579
2734
|
end
|
|
2580
2735
|
|
|
2581
2736
|
# Season report by availability (CSV)
|
|
2582
|
-
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2737
|
+
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2583
2738
|
# @param season_id [String]
|
|
2584
2739
|
# @param [Hash] opts the optional parameters
|
|
2585
2740
|
# @option opts [String] :availability Only this availability bucket.
|
|
2586
2741
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2742
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2587
2743
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2588
2744
|
def get_api_seasons_by_season_id_reports_by_availability_csv_with_http_info(season_id, opts = {})
|
|
2589
2745
|
if @api_client.config.debugging
|
|
@@ -2610,6 +2766,10 @@ module SeatsChart
|
|
|
2610
2766
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2611
2767
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2612
2768
|
end
|
|
2769
|
+
allowable_values = ["true", "false"]
|
|
2770
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2771
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2772
|
+
end
|
|
2613
2773
|
# resource path
|
|
2614
2774
|
local_var_path = '/api/seasons/{seasonId}/reports/by-availability.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
2615
2775
|
|
|
@@ -2617,6 +2777,7 @@ module SeatsChart
|
|
|
2617
2777
|
query_params = opts[:query_params] || {}
|
|
2618
2778
|
query_params[:'availability'] = opts[:'availability'] if !opts[:'availability'].nil?
|
|
2619
2779
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2780
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2620
2781
|
|
|
2621
2782
|
# header parameters
|
|
2622
2783
|
header_params = opts[:header_params] || {}
|
|
@@ -2651,11 +2812,12 @@ module SeatsChart
|
|
|
2651
2812
|
end
|
|
2652
2813
|
|
|
2653
2814
|
# Season report by availability
|
|
2654
|
-
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2815
|
+
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2655
2816
|
# @param season_id [String]
|
|
2656
2817
|
# @param [Hash] opts the optional parameters
|
|
2657
2818
|
# @option opts [String] :availability Only this availability bucket.
|
|
2658
2819
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2820
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2659
2821
|
# @return [nil]
|
|
2660
2822
|
def get_api_seasons_by_season_id_reports_by_availability_json(season_id, opts = {})
|
|
2661
2823
|
get_api_seasons_by_season_id_reports_by_availability_json_with_http_info(season_id, opts)
|
|
@@ -2663,11 +2825,12 @@ module SeatsChart
|
|
|
2663
2825
|
end
|
|
2664
2826
|
|
|
2665
2827
|
# Season report by availability
|
|
2666
|
-
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2828
|
+
# Objects of the season grouped by availability. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2667
2829
|
# @param season_id [String]
|
|
2668
2830
|
# @param [Hash] opts the optional parameters
|
|
2669
2831
|
# @option opts [String] :availability Only this availability bucket.
|
|
2670
2832
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2833
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2671
2834
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2672
2835
|
def get_api_seasons_by_season_id_reports_by_availability_json_with_http_info(season_id, opts = {})
|
|
2673
2836
|
if @api_client.config.debugging
|
|
@@ -2694,6 +2857,10 @@ module SeatsChart
|
|
|
2694
2857
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2695
2858
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2696
2859
|
end
|
|
2860
|
+
allowable_values = ["true", "false"]
|
|
2861
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2862
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2863
|
+
end
|
|
2697
2864
|
# resource path
|
|
2698
2865
|
local_var_path = '/api/seasons/{seasonId}/reports/by-availability.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
2699
2866
|
|
|
@@ -2701,6 +2868,7 @@ module SeatsChart
|
|
|
2701
2868
|
query_params = opts[:query_params] || {}
|
|
2702
2869
|
query_params[:'availability'] = opts[:'availability'] if !opts[:'availability'].nil?
|
|
2703
2870
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2871
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2704
2872
|
|
|
2705
2873
|
# header parameters
|
|
2706
2874
|
header_params = opts[:header_params] || {}
|
|
@@ -2735,11 +2903,12 @@ module SeatsChart
|
|
|
2735
2903
|
end
|
|
2736
2904
|
|
|
2737
2905
|
# Season report by category (CSV)
|
|
2738
|
-
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2906
|
+
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2739
2907
|
# @param season_id [String]
|
|
2740
2908
|
# @param [Hash] opts the optional parameters
|
|
2741
2909
|
# @option opts [String] :category Only this category bucket.
|
|
2742
2910
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2911
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2743
2912
|
# @return [nil]
|
|
2744
2913
|
def get_api_seasons_by_season_id_reports_by_category_csv(season_id, opts = {})
|
|
2745
2914
|
get_api_seasons_by_season_id_reports_by_category_csv_with_http_info(season_id, opts)
|
|
@@ -2747,11 +2916,12 @@ module SeatsChart
|
|
|
2747
2916
|
end
|
|
2748
2917
|
|
|
2749
2918
|
# Season report by category (CSV)
|
|
2750
|
-
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2919
|
+
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2751
2920
|
# @param season_id [String]
|
|
2752
2921
|
# @param [Hash] opts the optional parameters
|
|
2753
2922
|
# @option opts [String] :category Only this category bucket.
|
|
2754
2923
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
2924
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2755
2925
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2756
2926
|
def get_api_seasons_by_season_id_reports_by_category_csv_with_http_info(season_id, opts = {})
|
|
2757
2927
|
if @api_client.config.debugging
|
|
@@ -2778,6 +2948,10 @@ module SeatsChart
|
|
|
2778
2948
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2779
2949
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2780
2950
|
end
|
|
2951
|
+
allowable_values = ["true", "false"]
|
|
2952
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
2953
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
2954
|
+
end
|
|
2781
2955
|
# resource path
|
|
2782
2956
|
local_var_path = '/api/seasons/{seasonId}/reports/by-category.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
2783
2957
|
|
|
@@ -2785,6 +2959,7 @@ module SeatsChart
|
|
|
2785
2959
|
query_params = opts[:query_params] || {}
|
|
2786
2960
|
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
|
2787
2961
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
2962
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2788
2963
|
|
|
2789
2964
|
# header parameters
|
|
2790
2965
|
header_params = opts[:header_params] || {}
|
|
@@ -2819,11 +2994,12 @@ module SeatsChart
|
|
|
2819
2994
|
end
|
|
2820
2995
|
|
|
2821
2996
|
# Season report by category
|
|
2822
|
-
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2997
|
+
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2823
2998
|
# @param season_id [String]
|
|
2824
2999
|
# @param [Hash] opts the optional parameters
|
|
2825
3000
|
# @option opts [String] :category Only this category bucket.
|
|
2826
3001
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3002
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2827
3003
|
# @return [nil]
|
|
2828
3004
|
def get_api_seasons_by_season_id_reports_by_category_json(season_id, opts = {})
|
|
2829
3005
|
get_api_seasons_by_season_id_reports_by_category_json_with_http_info(season_id, opts)
|
|
@@ -2831,11 +3007,12 @@ module SeatsChart
|
|
|
2831
3007
|
end
|
|
2832
3008
|
|
|
2833
3009
|
# Season report by category
|
|
2834
|
-
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3010
|
+
# Objects of the season grouped by category. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2835
3011
|
# @param season_id [String]
|
|
2836
3012
|
# @param [Hash] opts the optional parameters
|
|
2837
3013
|
# @option opts [String] :category Only this category bucket.
|
|
2838
3014
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3015
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2839
3016
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2840
3017
|
def get_api_seasons_by_season_id_reports_by_category_json_with_http_info(season_id, opts = {})
|
|
2841
3018
|
if @api_client.config.debugging
|
|
@@ -2862,6 +3039,10 @@ module SeatsChart
|
|
|
2862
3039
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2863
3040
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2864
3041
|
end
|
|
3042
|
+
allowable_values = ["true", "false"]
|
|
3043
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3044
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3045
|
+
end
|
|
2865
3046
|
# resource path
|
|
2866
3047
|
local_var_path = '/api/seasons/{seasonId}/reports/by-category.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
2867
3048
|
|
|
@@ -2869,6 +3050,7 @@ module SeatsChart
|
|
|
2869
3050
|
query_params = opts[:query_params] || {}
|
|
2870
3051
|
query_params[:'category'] = opts[:'category'] if !opts[:'category'].nil?
|
|
2871
3052
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3053
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2872
3054
|
|
|
2873
3055
|
# header parameters
|
|
2874
3056
|
header_params = opts[:header_params] || {}
|
|
@@ -2903,11 +3085,12 @@ module SeatsChart
|
|
|
2903
3085
|
end
|
|
2904
3086
|
|
|
2905
3087
|
# Season report by status (CSV)
|
|
2906
|
-
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3088
|
+
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2907
3089
|
# @param season_id [String]
|
|
2908
3090
|
# @param [Hash] opts the optional parameters
|
|
2909
3091
|
# @option opts [String] :status Only this status bucket.
|
|
2910
3092
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3093
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2911
3094
|
# @return [nil]
|
|
2912
3095
|
def get_api_seasons_by_season_id_reports_by_status_csv(season_id, opts = {})
|
|
2913
3096
|
get_api_seasons_by_season_id_reports_by_status_csv_with_http_info(season_id, opts)
|
|
@@ -2915,11 +3098,12 @@ module SeatsChart
|
|
|
2915
3098
|
end
|
|
2916
3099
|
|
|
2917
3100
|
# Season report by status (CSV)
|
|
2918
|
-
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3101
|
+
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2919
3102
|
# @param season_id [String]
|
|
2920
3103
|
# @param [Hash] opts the optional parameters
|
|
2921
3104
|
# @option opts [String] :status Only this status bucket.
|
|
2922
3105
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3106
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2923
3107
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
2924
3108
|
def get_api_seasons_by_season_id_reports_by_status_csv_with_http_info(season_id, opts = {})
|
|
2925
3109
|
if @api_client.config.debugging
|
|
@@ -2946,6 +3130,10 @@ module SeatsChart
|
|
|
2946
3130
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
2947
3131
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
2948
3132
|
end
|
|
3133
|
+
allowable_values = ["true", "false"]
|
|
3134
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3135
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3136
|
+
end
|
|
2949
3137
|
# resource path
|
|
2950
3138
|
local_var_path = '/api/seasons/{seasonId}/reports/by-status.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
2951
3139
|
|
|
@@ -2953,6 +3141,7 @@ module SeatsChart
|
|
|
2953
3141
|
query_params = opts[:query_params] || {}
|
|
2954
3142
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
|
2955
3143
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3144
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
2956
3145
|
|
|
2957
3146
|
# header parameters
|
|
2958
3147
|
header_params = opts[:header_params] || {}
|
|
@@ -2987,11 +3176,12 @@ module SeatsChart
|
|
|
2987
3176
|
end
|
|
2988
3177
|
|
|
2989
3178
|
# Season report by status
|
|
2990
|
-
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3179
|
+
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
2991
3180
|
# @param season_id [String]
|
|
2992
3181
|
# @param [Hash] opts the optional parameters
|
|
2993
3182
|
# @option opts [String] :status Only this status bucket.
|
|
2994
3183
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3184
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
2995
3185
|
# @return [nil]
|
|
2996
3186
|
def get_api_seasons_by_season_id_reports_by_status_json(season_id, opts = {})
|
|
2997
3187
|
get_api_seasons_by_season_id_reports_by_status_json_with_http_info(season_id, opts)
|
|
@@ -2999,11 +3189,12 @@ module SeatsChart
|
|
|
2999
3189
|
end
|
|
3000
3190
|
|
|
3001
3191
|
# Season report by status
|
|
3002
|
-
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3192
|
+
# Objects of the season grouped by status. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3003
3193
|
# @param season_id [String]
|
|
3004
3194
|
# @param [Hash] opts the optional parameters
|
|
3005
3195
|
# @option opts [String] :status Only this status bucket.
|
|
3006
3196
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3197
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3007
3198
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3008
3199
|
def get_api_seasons_by_season_id_reports_by_status_json_with_http_info(season_id, opts = {})
|
|
3009
3200
|
if @api_client.config.debugging
|
|
@@ -3030,6 +3221,10 @@ module SeatsChart
|
|
|
3030
3221
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3031
3222
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3032
3223
|
end
|
|
3224
|
+
allowable_values = ["true", "false"]
|
|
3225
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3226
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3227
|
+
end
|
|
3033
3228
|
# resource path
|
|
3034
3229
|
local_var_path = '/api/seasons/{seasonId}/reports/by-status.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3035
3230
|
|
|
@@ -3037,6 +3232,7 @@ module SeatsChart
|
|
|
3037
3232
|
query_params = opts[:query_params] || {}
|
|
3038
3233
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
|
3039
3234
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3235
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3040
3236
|
|
|
3041
3237
|
# header parameters
|
|
3042
3238
|
header_params = opts[:header_params] || {}
|
|
@@ -3071,11 +3267,12 @@ module SeatsChart
|
|
|
3071
3267
|
end
|
|
3072
3268
|
|
|
3073
3269
|
# Season report by zone (CSV)
|
|
3074
|
-
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3270
|
+
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3075
3271
|
# @param season_id [String]
|
|
3076
3272
|
# @param [Hash] opts the optional parameters
|
|
3077
3273
|
# @option opts [String] :zone Only this zone bucket.
|
|
3078
3274
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3275
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3079
3276
|
# @return [nil]
|
|
3080
3277
|
def get_api_seasons_by_season_id_reports_by_zone_csv(season_id, opts = {})
|
|
3081
3278
|
get_api_seasons_by_season_id_reports_by_zone_csv_with_http_info(season_id, opts)
|
|
@@ -3083,11 +3280,12 @@ module SeatsChart
|
|
|
3083
3280
|
end
|
|
3084
3281
|
|
|
3085
3282
|
# Season report by zone (CSV)
|
|
3086
|
-
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3283
|
+
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3087
3284
|
# @param season_id [String]
|
|
3088
3285
|
# @param [Hash] opts the optional parameters
|
|
3089
3286
|
# @option opts [String] :zone Only this zone bucket.
|
|
3090
3287
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3288
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3091
3289
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3092
3290
|
def get_api_seasons_by_season_id_reports_by_zone_csv_with_http_info(season_id, opts = {})
|
|
3093
3291
|
if @api_client.config.debugging
|
|
@@ -3114,6 +3312,10 @@ module SeatsChart
|
|
|
3114
3312
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3115
3313
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3116
3314
|
end
|
|
3315
|
+
allowable_values = ["true", "false"]
|
|
3316
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3317
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3318
|
+
end
|
|
3117
3319
|
# resource path
|
|
3118
3320
|
local_var_path = '/api/seasons/{seasonId}/reports/by-zone.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3119
3321
|
|
|
@@ -3121,6 +3323,7 @@ module SeatsChart
|
|
|
3121
3323
|
query_params = opts[:query_params] || {}
|
|
3122
3324
|
query_params[:'zone'] = opts[:'zone'] if !opts[:'zone'].nil?
|
|
3123
3325
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3326
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3124
3327
|
|
|
3125
3328
|
# header parameters
|
|
3126
3329
|
header_params = opts[:header_params] || {}
|
|
@@ -3155,11 +3358,12 @@ module SeatsChart
|
|
|
3155
3358
|
end
|
|
3156
3359
|
|
|
3157
3360
|
# Season report by zone
|
|
3158
|
-
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3361
|
+
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3159
3362
|
# @param season_id [String]
|
|
3160
3363
|
# @param [Hash] opts the optional parameters
|
|
3161
3364
|
# @option opts [String] :zone Only this zone bucket.
|
|
3162
3365
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3366
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3163
3367
|
# @return [nil]
|
|
3164
3368
|
def get_api_seasons_by_season_id_reports_by_zone_json(season_id, opts = {})
|
|
3165
3369
|
get_api_seasons_by_season_id_reports_by_zone_json_with_http_info(season_id, opts)
|
|
@@ -3167,11 +3371,12 @@ module SeatsChart
|
|
|
3167
3371
|
end
|
|
3168
3372
|
|
|
3169
3373
|
# Season report by zone
|
|
3170
|
-
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3374
|
+
# Objects of the season grouped by zone. Objects are matched by label across the member events (same rule as season booking). Evaluated events are the live (not past) members — all members when none is live — or, with `seasonBookingsPropagated=false` (the default for seasons whose bookings do not propagate), the season source event only. Rows: `label`, `objectType`, `category`, `section`, `zone` (from the source event), `status` (shared status or `mixed`), `availability` (available only when free in every evaluated event), `availabilityReason` (the most definitive blocking reason; a label missing from an event counts as not_for_sale), `eventCount`, `availableIn`, `notAvailableEventIds`; GA rows add `capacity` and `availableCount` (places free in every evaluated event). `events` lists every member with `evaluated`. The `.csv` variant returns the same data as RFC 4180 CSV (one line per object, or per group for summaries). At most 100 member events. Requires content_write (or a partner API key with the reports scope).
|
|
3171
3375
|
# @param season_id [String]
|
|
3172
3376
|
# @param [Hash] opts the optional parameters
|
|
3173
3377
|
# @option opts [String] :zone Only this zone bucket.
|
|
3174
3378
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3379
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3175
3380
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3176
3381
|
def get_api_seasons_by_season_id_reports_by_zone_json_with_http_info(season_id, opts = {})
|
|
3177
3382
|
if @api_client.config.debugging
|
|
@@ -3198,6 +3403,10 @@ module SeatsChart
|
|
|
3198
3403
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3199
3404
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3200
3405
|
end
|
|
3406
|
+
allowable_values = ["true", "false"]
|
|
3407
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3408
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3409
|
+
end
|
|
3201
3410
|
# resource path
|
|
3202
3411
|
local_var_path = '/api/seasons/{seasonId}/reports/by-zone.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3203
3412
|
|
|
@@ -3205,6 +3414,7 @@ module SeatsChart
|
|
|
3205
3414
|
query_params = opts[:query_params] || {}
|
|
3206
3415
|
query_params[:'zone'] = opts[:'zone'] if !opts[:'zone'].nil?
|
|
3207
3416
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3417
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3208
3418
|
|
|
3209
3419
|
# header parameters
|
|
3210
3420
|
header_params = opts[:header_params] || {}
|
|
@@ -3243,6 +3453,7 @@ module SeatsChart
|
|
|
3243
3453
|
# @param season_id [String]
|
|
3244
3454
|
# @param [Hash] opts the optional parameters
|
|
3245
3455
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3456
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3246
3457
|
# @return [nil]
|
|
3247
3458
|
def get_api_seasons_by_season_id_reports_summary_by_availability_csv(season_id, opts = {})
|
|
3248
3459
|
get_api_seasons_by_season_id_reports_summary_by_availability_csv_with_http_info(season_id, opts)
|
|
@@ -3254,6 +3465,7 @@ module SeatsChart
|
|
|
3254
3465
|
# @param season_id [String]
|
|
3255
3466
|
# @param [Hash] opts the optional parameters
|
|
3256
3467
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3468
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3257
3469
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3258
3470
|
def get_api_seasons_by_season_id_reports_summary_by_availability_csv_with_http_info(season_id, opts = {})
|
|
3259
3471
|
if @api_client.config.debugging
|
|
@@ -3272,12 +3484,17 @@ module SeatsChart
|
|
|
3272
3484
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3273
3485
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3274
3486
|
end
|
|
3487
|
+
allowable_values = ["true", "false"]
|
|
3488
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3489
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3490
|
+
end
|
|
3275
3491
|
# resource path
|
|
3276
3492
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-availability.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3277
3493
|
|
|
3278
3494
|
# query parameters
|
|
3279
3495
|
query_params = opts[:query_params] || {}
|
|
3280
3496
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3497
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3281
3498
|
|
|
3282
3499
|
# header parameters
|
|
3283
3500
|
header_params = opts[:header_params] || {}
|
|
@@ -3316,6 +3533,7 @@ module SeatsChart
|
|
|
3316
3533
|
# @param season_id [String]
|
|
3317
3534
|
# @param [Hash] opts the optional parameters
|
|
3318
3535
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3536
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3319
3537
|
# @return [nil]
|
|
3320
3538
|
def get_api_seasons_by_season_id_reports_summary_by_availability_json(season_id, opts = {})
|
|
3321
3539
|
get_api_seasons_by_season_id_reports_summary_by_availability_json_with_http_info(season_id, opts)
|
|
@@ -3327,6 +3545,7 @@ module SeatsChart
|
|
|
3327
3545
|
# @param season_id [String]
|
|
3328
3546
|
# @param [Hash] opts the optional parameters
|
|
3329
3547
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3548
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3330
3549
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3331
3550
|
def get_api_seasons_by_season_id_reports_summary_by_availability_json_with_http_info(season_id, opts = {})
|
|
3332
3551
|
if @api_client.config.debugging
|
|
@@ -3345,12 +3564,17 @@ module SeatsChart
|
|
|
3345
3564
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3346
3565
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3347
3566
|
end
|
|
3567
|
+
allowable_values = ["true", "false"]
|
|
3568
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3569
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3570
|
+
end
|
|
3348
3571
|
# resource path
|
|
3349
3572
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-availability.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3350
3573
|
|
|
3351
3574
|
# query parameters
|
|
3352
3575
|
query_params = opts[:query_params] || {}
|
|
3353
3576
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3577
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3354
3578
|
|
|
3355
3579
|
# header parameters
|
|
3356
3580
|
header_params = opts[:header_params] || {}
|
|
@@ -3389,6 +3613,7 @@ module SeatsChart
|
|
|
3389
3613
|
# @param season_id [String]
|
|
3390
3614
|
# @param [Hash] opts the optional parameters
|
|
3391
3615
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3616
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3392
3617
|
# @return [nil]
|
|
3393
3618
|
def get_api_seasons_by_season_id_reports_summary_by_availability_reason_csv(season_id, opts = {})
|
|
3394
3619
|
get_api_seasons_by_season_id_reports_summary_by_availability_reason_csv_with_http_info(season_id, opts)
|
|
@@ -3400,6 +3625,7 @@ module SeatsChart
|
|
|
3400
3625
|
# @param season_id [String]
|
|
3401
3626
|
# @param [Hash] opts the optional parameters
|
|
3402
3627
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3628
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3403
3629
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3404
3630
|
def get_api_seasons_by_season_id_reports_summary_by_availability_reason_csv_with_http_info(season_id, opts = {})
|
|
3405
3631
|
if @api_client.config.debugging
|
|
@@ -3418,12 +3644,17 @@ module SeatsChart
|
|
|
3418
3644
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3419
3645
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3420
3646
|
end
|
|
3647
|
+
allowable_values = ["true", "false"]
|
|
3648
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3649
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3650
|
+
end
|
|
3421
3651
|
# resource path
|
|
3422
3652
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-availability-reason.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3423
3653
|
|
|
3424
3654
|
# query parameters
|
|
3425
3655
|
query_params = opts[:query_params] || {}
|
|
3426
3656
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3657
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3427
3658
|
|
|
3428
3659
|
# header parameters
|
|
3429
3660
|
header_params = opts[:header_params] || {}
|
|
@@ -3462,6 +3693,7 @@ module SeatsChart
|
|
|
3462
3693
|
# @param season_id [String]
|
|
3463
3694
|
# @param [Hash] opts the optional parameters
|
|
3464
3695
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3696
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3465
3697
|
# @return [nil]
|
|
3466
3698
|
def get_api_seasons_by_season_id_reports_summary_by_availability_reason_json(season_id, opts = {})
|
|
3467
3699
|
get_api_seasons_by_season_id_reports_summary_by_availability_reason_json_with_http_info(season_id, opts)
|
|
@@ -3473,6 +3705,7 @@ module SeatsChart
|
|
|
3473
3705
|
# @param season_id [String]
|
|
3474
3706
|
# @param [Hash] opts the optional parameters
|
|
3475
3707
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3708
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3476
3709
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3477
3710
|
def get_api_seasons_by_season_id_reports_summary_by_availability_reason_json_with_http_info(season_id, opts = {})
|
|
3478
3711
|
if @api_client.config.debugging
|
|
@@ -3491,12 +3724,17 @@ module SeatsChart
|
|
|
3491
3724
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3492
3725
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3493
3726
|
end
|
|
3727
|
+
allowable_values = ["true", "false"]
|
|
3728
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3729
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3730
|
+
end
|
|
3494
3731
|
# resource path
|
|
3495
3732
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-availability-reason.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3496
3733
|
|
|
3497
3734
|
# query parameters
|
|
3498
3735
|
query_params = opts[:query_params] || {}
|
|
3499
3736
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3737
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3500
3738
|
|
|
3501
3739
|
# header parameters
|
|
3502
3740
|
header_params = opts[:header_params] || {}
|
|
@@ -3535,6 +3773,7 @@ module SeatsChart
|
|
|
3535
3773
|
# @param season_id [String]
|
|
3536
3774
|
# @param [Hash] opts the optional parameters
|
|
3537
3775
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3776
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3538
3777
|
# @return [nil]
|
|
3539
3778
|
def get_api_seasons_by_season_id_reports_summary_by_category_csv(season_id, opts = {})
|
|
3540
3779
|
get_api_seasons_by_season_id_reports_summary_by_category_csv_with_http_info(season_id, opts)
|
|
@@ -3546,6 +3785,7 @@ module SeatsChart
|
|
|
3546
3785
|
# @param season_id [String]
|
|
3547
3786
|
# @param [Hash] opts the optional parameters
|
|
3548
3787
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3788
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3549
3789
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3550
3790
|
def get_api_seasons_by_season_id_reports_summary_by_category_csv_with_http_info(season_id, opts = {})
|
|
3551
3791
|
if @api_client.config.debugging
|
|
@@ -3564,12 +3804,17 @@ module SeatsChart
|
|
|
3564
3804
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3565
3805
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3566
3806
|
end
|
|
3807
|
+
allowable_values = ["true", "false"]
|
|
3808
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3809
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3810
|
+
end
|
|
3567
3811
|
# resource path
|
|
3568
3812
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-category.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3569
3813
|
|
|
3570
3814
|
# query parameters
|
|
3571
3815
|
query_params = opts[:query_params] || {}
|
|
3572
3816
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3817
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3573
3818
|
|
|
3574
3819
|
# header parameters
|
|
3575
3820
|
header_params = opts[:header_params] || {}
|
|
@@ -3608,6 +3853,7 @@ module SeatsChart
|
|
|
3608
3853
|
# @param season_id [String]
|
|
3609
3854
|
# @param [Hash] opts the optional parameters
|
|
3610
3855
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3856
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3611
3857
|
# @return [nil]
|
|
3612
3858
|
def get_api_seasons_by_season_id_reports_summary_by_category_json(season_id, opts = {})
|
|
3613
3859
|
get_api_seasons_by_season_id_reports_summary_by_category_json_with_http_info(season_id, opts)
|
|
@@ -3619,6 +3865,7 @@ module SeatsChart
|
|
|
3619
3865
|
# @param season_id [String]
|
|
3620
3866
|
# @param [Hash] opts the optional parameters
|
|
3621
3867
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3868
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3622
3869
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3623
3870
|
def get_api_seasons_by_season_id_reports_summary_by_category_json_with_http_info(season_id, opts = {})
|
|
3624
3871
|
if @api_client.config.debugging
|
|
@@ -3637,12 +3884,17 @@ module SeatsChart
|
|
|
3637
3884
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3638
3885
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3639
3886
|
end
|
|
3887
|
+
allowable_values = ["true", "false"]
|
|
3888
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3889
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3890
|
+
end
|
|
3640
3891
|
# resource path
|
|
3641
3892
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-category.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3642
3893
|
|
|
3643
3894
|
# query parameters
|
|
3644
3895
|
query_params = opts[:query_params] || {}
|
|
3645
3896
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3897
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3646
3898
|
|
|
3647
3899
|
# header parameters
|
|
3648
3900
|
header_params = opts[:header_params] || {}
|
|
@@ -3681,6 +3933,7 @@ module SeatsChart
|
|
|
3681
3933
|
# @param season_id [String]
|
|
3682
3934
|
# @param [Hash] opts the optional parameters
|
|
3683
3935
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3936
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3684
3937
|
# @return [nil]
|
|
3685
3938
|
def get_api_seasons_by_season_id_reports_summary_by_section_csv(season_id, opts = {})
|
|
3686
3939
|
get_api_seasons_by_season_id_reports_summary_by_section_csv_with_http_info(season_id, opts)
|
|
@@ -3692,6 +3945,7 @@ module SeatsChart
|
|
|
3692
3945
|
# @param season_id [String]
|
|
3693
3946
|
# @param [Hash] opts the optional parameters
|
|
3694
3947
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
3948
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3695
3949
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3696
3950
|
def get_api_seasons_by_season_id_reports_summary_by_section_csv_with_http_info(season_id, opts = {})
|
|
3697
3951
|
if @api_client.config.debugging
|
|
@@ -3710,12 +3964,17 @@ module SeatsChart
|
|
|
3710
3964
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3711
3965
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3712
3966
|
end
|
|
3967
|
+
allowable_values = ["true", "false"]
|
|
3968
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
3969
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
3970
|
+
end
|
|
3713
3971
|
# resource path
|
|
3714
3972
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-section.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3715
3973
|
|
|
3716
3974
|
# query parameters
|
|
3717
3975
|
query_params = opts[:query_params] || {}
|
|
3718
3976
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
3977
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3719
3978
|
|
|
3720
3979
|
# header parameters
|
|
3721
3980
|
header_params = opts[:header_params] || {}
|
|
@@ -3754,6 +4013,7 @@ module SeatsChart
|
|
|
3754
4013
|
# @param season_id [String]
|
|
3755
4014
|
# @param [Hash] opts the optional parameters
|
|
3756
4015
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4016
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3757
4017
|
# @return [nil]
|
|
3758
4018
|
def get_api_seasons_by_season_id_reports_summary_by_section_json(season_id, opts = {})
|
|
3759
4019
|
get_api_seasons_by_season_id_reports_summary_by_section_json_with_http_info(season_id, opts)
|
|
@@ -3765,6 +4025,7 @@ module SeatsChart
|
|
|
3765
4025
|
# @param season_id [String]
|
|
3766
4026
|
# @param [Hash] opts the optional parameters
|
|
3767
4027
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4028
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3768
4029
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3769
4030
|
def get_api_seasons_by_season_id_reports_summary_by_section_json_with_http_info(season_id, opts = {})
|
|
3770
4031
|
if @api_client.config.debugging
|
|
@@ -3783,12 +4044,17 @@ module SeatsChart
|
|
|
3783
4044
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3784
4045
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3785
4046
|
end
|
|
4047
|
+
allowable_values = ["true", "false"]
|
|
4048
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
4049
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
4050
|
+
end
|
|
3786
4051
|
# resource path
|
|
3787
4052
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-section.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3788
4053
|
|
|
3789
4054
|
# query parameters
|
|
3790
4055
|
query_params = opts[:query_params] || {}
|
|
3791
4056
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
4057
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3792
4058
|
|
|
3793
4059
|
# header parameters
|
|
3794
4060
|
header_params = opts[:header_params] || {}
|
|
@@ -3827,6 +4093,7 @@ module SeatsChart
|
|
|
3827
4093
|
# @param season_id [String]
|
|
3828
4094
|
# @param [Hash] opts the optional parameters
|
|
3829
4095
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4096
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3830
4097
|
# @return [nil]
|
|
3831
4098
|
def get_api_seasons_by_season_id_reports_summary_by_status_csv(season_id, opts = {})
|
|
3832
4099
|
get_api_seasons_by_season_id_reports_summary_by_status_csv_with_http_info(season_id, opts)
|
|
@@ -3838,6 +4105,7 @@ module SeatsChart
|
|
|
3838
4105
|
# @param season_id [String]
|
|
3839
4106
|
# @param [Hash] opts the optional parameters
|
|
3840
4107
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4108
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3841
4109
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3842
4110
|
def get_api_seasons_by_season_id_reports_summary_by_status_csv_with_http_info(season_id, opts = {})
|
|
3843
4111
|
if @api_client.config.debugging
|
|
@@ -3856,12 +4124,17 @@ module SeatsChart
|
|
|
3856
4124
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3857
4125
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3858
4126
|
end
|
|
4127
|
+
allowable_values = ["true", "false"]
|
|
4128
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
4129
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
4130
|
+
end
|
|
3859
4131
|
# resource path
|
|
3860
4132
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-status.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3861
4133
|
|
|
3862
4134
|
# query parameters
|
|
3863
4135
|
query_params = opts[:query_params] || {}
|
|
3864
4136
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
4137
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3865
4138
|
|
|
3866
4139
|
# header parameters
|
|
3867
4140
|
header_params = opts[:header_params] || {}
|
|
@@ -3900,6 +4173,7 @@ module SeatsChart
|
|
|
3900
4173
|
# @param season_id [String]
|
|
3901
4174
|
# @param [Hash] opts the optional parameters
|
|
3902
4175
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4176
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3903
4177
|
# @return [nil]
|
|
3904
4178
|
def get_api_seasons_by_season_id_reports_summary_by_status_json(season_id, opts = {})
|
|
3905
4179
|
get_api_seasons_by_season_id_reports_summary_by_status_json_with_http_info(season_id, opts)
|
|
@@ -3911,6 +4185,7 @@ module SeatsChart
|
|
|
3911
4185
|
# @param season_id [String]
|
|
3912
4186
|
# @param [Hash] opts the optional parameters
|
|
3913
4187
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4188
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3914
4189
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3915
4190
|
def get_api_seasons_by_season_id_reports_summary_by_status_json_with_http_info(season_id, opts = {})
|
|
3916
4191
|
if @api_client.config.debugging
|
|
@@ -3929,12 +4204,17 @@ module SeatsChart
|
|
|
3929
4204
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
3930
4205
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
3931
4206
|
end
|
|
4207
|
+
allowable_values = ["true", "false"]
|
|
4208
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
4209
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
4210
|
+
end
|
|
3932
4211
|
# resource path
|
|
3933
4212
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-status.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
3934
4213
|
|
|
3935
4214
|
# query parameters
|
|
3936
4215
|
query_params = opts[:query_params] || {}
|
|
3937
4216
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
4217
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
3938
4218
|
|
|
3939
4219
|
# header parameters
|
|
3940
4220
|
header_params = opts[:header_params] || {}
|
|
@@ -3973,6 +4253,7 @@ module SeatsChart
|
|
|
3973
4253
|
# @param season_id [String]
|
|
3974
4254
|
# @param [Hash] opts the optional parameters
|
|
3975
4255
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4256
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3976
4257
|
# @return [nil]
|
|
3977
4258
|
def get_api_seasons_by_season_id_reports_summary_by_zone_csv(season_id, opts = {})
|
|
3978
4259
|
get_api_seasons_by_season_id_reports_summary_by_zone_csv_with_http_info(season_id, opts)
|
|
@@ -3984,6 +4265,7 @@ module SeatsChart
|
|
|
3984
4265
|
# @param season_id [String]
|
|
3985
4266
|
# @param [Hash] opts the optional parameters
|
|
3986
4267
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4268
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
3987
4269
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
3988
4270
|
def get_api_seasons_by_season_id_reports_summary_by_zone_csv_with_http_info(season_id, opts = {})
|
|
3989
4271
|
if @api_client.config.debugging
|
|
@@ -4002,12 +4284,17 @@ module SeatsChart
|
|
|
4002
4284
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
4003
4285
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
4004
4286
|
end
|
|
4287
|
+
allowable_values = ["true", "false"]
|
|
4288
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
4289
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
4290
|
+
end
|
|
4005
4291
|
# resource path
|
|
4006
4292
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-zone.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
4007
4293
|
|
|
4008
4294
|
# query parameters
|
|
4009
4295
|
query_params = opts[:query_params] || {}
|
|
4010
4296
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
4297
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
4011
4298
|
|
|
4012
4299
|
# header parameters
|
|
4013
4300
|
header_params = opts[:header_params] || {}
|
|
@@ -4046,6 +4333,7 @@ module SeatsChart
|
|
|
4046
4333
|
# @param season_id [String]
|
|
4047
4334
|
# @param [Hash] opts the optional parameters
|
|
4048
4335
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4336
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
4049
4337
|
# @return [nil]
|
|
4050
4338
|
def get_api_seasons_by_season_id_reports_summary_by_zone_json(season_id, opts = {})
|
|
4051
4339
|
get_api_seasons_by_season_id_reports_summary_by_zone_json_with_http_info(season_id, opts)
|
|
@@ -4057,6 +4345,7 @@ module SeatsChart
|
|
|
4057
4345
|
# @param season_id [String]
|
|
4058
4346
|
# @param [Hash] opts the optional parameters
|
|
4059
4347
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4348
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
4060
4349
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4061
4350
|
def get_api_seasons_by_season_id_reports_summary_by_zone_json_with_http_info(season_id, opts = {})
|
|
4062
4351
|
if @api_client.config.debugging
|
|
@@ -4075,12 +4364,17 @@ module SeatsChart
|
|
|
4075
4364
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
4076
4365
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
4077
4366
|
end
|
|
4367
|
+
allowable_values = ["true", "false"]
|
|
4368
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
4369
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
4370
|
+
end
|
|
4078
4371
|
# resource path
|
|
4079
4372
|
local_var_path = '/api/seasons/{seasonId}/reports/summary/by-zone.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
4080
4373
|
|
|
4081
4374
|
# query parameters
|
|
4082
4375
|
query_params = opts[:query_params] || {}
|
|
4083
4376
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
4377
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
4084
4378
|
|
|
4085
4379
|
# header parameters
|
|
4086
4380
|
header_params = opts[:header_params] || {}
|
|
@@ -4119,6 +4413,7 @@ module SeatsChart
|
|
|
4119
4413
|
# @param season_id [String]
|
|
4120
4414
|
# @param [Hash] opts the optional parameters
|
|
4121
4415
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4416
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
4122
4417
|
# @return [nil]
|
|
4123
4418
|
def get_api_seasons_by_season_id_reports_summary_csv(season_id, opts = {})
|
|
4124
4419
|
get_api_seasons_by_season_id_reports_summary_csv_with_http_info(season_id, opts)
|
|
@@ -4130,6 +4425,7 @@ module SeatsChart
|
|
|
4130
4425
|
# @param season_id [String]
|
|
4131
4426
|
# @param [Hash] opts the optional parameters
|
|
4132
4427
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4428
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
4133
4429
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4134
4430
|
def get_api_seasons_by_season_id_reports_summary_csv_with_http_info(season_id, opts = {})
|
|
4135
4431
|
if @api_client.config.debugging
|
|
@@ -4148,12 +4444,17 @@ module SeatsChart
|
|
|
4148
4444
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
4149
4445
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
4150
4446
|
end
|
|
4447
|
+
allowable_values = ["true", "false"]
|
|
4448
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
4449
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
4450
|
+
end
|
|
4151
4451
|
# resource path
|
|
4152
4452
|
local_var_path = '/api/seasons/{seasonId}/reports/summary.csv'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
4153
4453
|
|
|
4154
4454
|
# query parameters
|
|
4155
4455
|
query_params = opts[:query_params] || {}
|
|
4156
4456
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
4457
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
4157
4458
|
|
|
4158
4459
|
# header parameters
|
|
4159
4460
|
header_params = opts[:header_params] || {}
|
|
@@ -4192,6 +4493,7 @@ module SeatsChart
|
|
|
4192
4493
|
# @param season_id [String]
|
|
4193
4494
|
# @param [Hash] opts the optional parameters
|
|
4194
4495
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4496
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
4195
4497
|
# @return [nil]
|
|
4196
4498
|
def get_api_seasons_by_season_id_reports_summary_json(season_id, opts = {})
|
|
4197
4499
|
get_api_seasons_by_season_id_reports_summary_json_with_http_info(season_id, opts)
|
|
@@ -4203,6 +4505,7 @@ module SeatsChart
|
|
|
4203
4505
|
# @param season_id [String]
|
|
4204
4506
|
# @param [Hash] opts the optional parameters
|
|
4205
4507
|
# @option opts [String] :live_holds Merge active buyer holds from the per-event hold index (default `true`). `false` = Postgres only.
|
|
4508
|
+
# @option opts [String] :season_bookings_propagated seats.io `seasonBookingsPropagated`: scope of the bookings in the season-level rows (default: the season `bookingsPropagated` setting). `true` = an object is available only when free in every evaluated member event. `false` = only the bookings of the season itself count: its own inventory, the source event (when it is part of the report; otherwise every member is evaluated as with `true`). Per-event totals are unchanged.
|
|
4206
4509
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4207
4510
|
def get_api_seasons_by_season_id_reports_summary_json_with_http_info(season_id, opts = {})
|
|
4208
4511
|
if @api_client.config.debugging
|
|
@@ -4221,12 +4524,17 @@ module SeatsChart
|
|
|
4221
4524
|
if @api_client.config.client_side_validation && opts[:'live_holds'] && !allowable_values.include?(opts[:'live_holds'])
|
|
4222
4525
|
fail ArgumentError, "invalid value for \"live_holds\", must be one of #{allowable_values}"
|
|
4223
4526
|
end
|
|
4527
|
+
allowable_values = ["true", "false"]
|
|
4528
|
+
if @api_client.config.client_side_validation && opts[:'season_bookings_propagated'] && !allowable_values.include?(opts[:'season_bookings_propagated'])
|
|
4529
|
+
fail ArgumentError, "invalid value for \"season_bookings_propagated\", must be one of #{allowable_values}"
|
|
4530
|
+
end
|
|
4224
4531
|
# resource path
|
|
4225
4532
|
local_var_path = '/api/seasons/{seasonId}/reports/summary.json'.sub('{' + 'seasonId' + '}', CGI.escape(season_id.to_s))
|
|
4226
4533
|
|
|
4227
4534
|
# query parameters
|
|
4228
4535
|
query_params = opts[:query_params] || {}
|
|
4229
4536
|
query_params[:'liveHolds'] = opts[:'live_holds'] if !opts[:'live_holds'].nil?
|
|
4537
|
+
query_params[:'seasonBookingsPropagated'] = opts[:'season_bookings_propagated'] if !opts[:'season_bookings_propagated'].nil?
|
|
4230
4538
|
|
|
4231
4539
|
# header parameters
|
|
4232
4540
|
header_params = opts[:header_params] || {}
|
|
@@ -4330,7 +4638,7 @@ module SeatsChart
|
|
|
4330
4638
|
end
|
|
4331
4639
|
|
|
4332
4640
|
# Update season
|
|
4333
|
-
# Rename, set / rename / clear the partner `key` (409 `season_key_taken`),
|
|
4641
|
+
# Rename, set / rename / clear the partner `key` (409 `season_key_taken`), set sourceEventId (must be a member), or switch `bookingsPropagated`. Clearing source blocks sync until reset.
|
|
4334
4642
|
# @param season_id [String]
|
|
4335
4643
|
# @param patch_api_seasons_by_season_id_request [PatchApiSeasonsBySeasonIdRequest]
|
|
4336
4644
|
# @param [Hash] opts the optional parameters
|
|
@@ -4342,7 +4650,7 @@ module SeatsChart
|
|
|
4342
4650
|
end
|
|
4343
4651
|
|
|
4344
4652
|
# Update season
|
|
4345
|
-
# Rename, set / rename / clear the partner `key` (409 `season_key_taken`),
|
|
4653
|
+
# Rename, set / rename / clear the partner `key` (409 `season_key_taken`), set sourceEventId (must be a member), or switch `bookingsPropagated`. Clearing source blocks sync until reset.
|
|
4346
4654
|
# @param season_id [String]
|
|
4347
4655
|
# @param patch_api_seasons_by_season_id_request [PatchApiSeasonsBySeasonIdRequest]
|
|
4348
4656
|
# @param [Hash] opts the optional parameters
|
|
@@ -4421,7 +4729,7 @@ module SeatsChart
|
|
|
4421
4729
|
end
|
|
4422
4730
|
|
|
4423
4731
|
# Season member settings (forSalePropagated)
|
|
4424
|
-
# seats.io `forSalePropagated`: while true (default) season sync and the source's for-sale cascade copy the season source's for-sale flags onto this member. A direct for-sale change on the member (POST /events/{eventId}/inventory/for-sale/apply, or category availability in PATCH /events/{eventId}) sets it to false so the member keeps its own configuration. Setting it back to `true` copies the source's for-sale flags right away (`syncSummary`). Channels and statuses are not affected. The source event itself is refused (409 `season_source_event`).
|
|
4732
|
+
# seats.io `forSalePropagated`: while true (default) season sync and the source's for-sale cascade copy the season source's for-sale flags onto this member. A direct for-sale change on the member (POST /events/{eventId}/inventory/for-sale/apply, or category availability in PATCH /events/{eventId}) sets it to false so the member keeps its own configuration. Setting it back to `true` copies the source's for-sale flags right away (`syncSummary`). Channels and statuses are not affected. The source event itself is refused (409 `season_source_event`). While false, seats of this member that are not for sale but have an active resale listing can be held and confirmed (resale of season tickets); setting it back to true ends that at once.
|
|
4425
4733
|
# @param season_id [String]
|
|
4426
4734
|
# @param event_id [String]
|
|
4427
4735
|
# @param patch_api_seasons_by_season_id_events_by_event_id_request [PatchApiSeasonsBySeasonIdEventsByEventIdRequest]
|
|
@@ -4434,7 +4742,7 @@ module SeatsChart
|
|
|
4434
4742
|
end
|
|
4435
4743
|
|
|
4436
4744
|
# Season member settings (forSalePropagated)
|
|
4437
|
-
# seats.io `forSalePropagated`: while true (default) season sync and the source's for-sale cascade copy the season source's for-sale flags onto this member. A direct for-sale change on the member (POST /events/{eventId}/inventory/for-sale/apply, or category availability in PATCH /events/{eventId}) sets it to false so the member keeps its own configuration. Setting it back to `true` copies the source's for-sale flags right away (`syncSummary`). Channels and statuses are not affected. The source event itself is refused (409 `season_source_event`).
|
|
4745
|
+
# seats.io `forSalePropagated`: while true (default) season sync and the source's for-sale cascade copy the season source's for-sale flags onto this member. A direct for-sale change on the member (POST /events/{eventId}/inventory/for-sale/apply, or category availability in PATCH /events/{eventId}) sets it to false so the member keeps its own configuration. Setting it back to `true` copies the source's for-sale flags right away (`syncSummary`). Channels and statuses are not affected. The source event itself is refused (409 `season_source_event`). While false, seats of this member that are not for sale but have an active resale listing can be held and confirmed (resale of season tickets); setting it back to true ends that at once.
|
|
4438
4746
|
# @param season_id [String]
|
|
4439
4747
|
# @param event_id [String]
|
|
4440
4748
|
# @param patch_api_seasons_by_season_id_events_by_event_id_request [PatchApiSeasonsBySeasonIdEventsByEventIdRequest]
|