constant_contact_client 1.0.0 → 1.5.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/CHANGELOG.md +653 -27
- data/Gemfile.lock +52 -23
- data/README.md +23 -6
- data/constant_contact_client.gemspec +3 -3
- data/docs/AccountServicesApi.md +2 -2
- data/docs/BulkActivitiesApi.md +16 -12
- data/docs/ContactListsApi.md +5 -1
- data/docs/ContactsApi.md +84 -10
- data/docs/ContactsCustomFieldsApi.md +22 -22
- data/docs/EmailCampaignsApi.md +1 -1
- data/docs/EmailSchedulingApi.md +1 -1
- data/docs/EventsApi.md +881 -0
- data/docs/SMSReportingApi.md +86 -0
- data/docs/SocialApi.md +302 -0
- data/lib/constant_contact_client/api/account_services_api.rb +4 -4
- data/lib/constant_contact_client/api/bulk_activities_api.rb +19 -16
- data/lib/constant_contact_client/api/contact_lists_api.rb +12 -2
- data/lib/constant_contact_client/api/contact_tags_api.rb +2 -2
- data/lib/constant_contact_client/api/contacts_api.rb +89 -17
- data/lib/constant_contact_client/api/contacts_custom_fields_api.rb +29 -29
- data/lib/constant_contact_client/api/contacts_reporting_api.rb +2 -2
- data/lib/constant_contact_client/api/email_campaigns_ab_tests_api.rb +2 -2
- data/lib/constant_contact_client/api/email_campaigns_api.rb +4 -4
- data/lib/constant_contact_client/api/email_reporting_api.rb +2 -2
- data/lib/constant_contact_client/api/email_scheduling_api.rb +4 -4
- data/lib/constant_contact_client/api/events_api.rb +881 -0
- data/lib/constant_contact_client/api/landing_pages_reporting_api.rb +2 -2
- data/lib/constant_contact_client/api/segments_api.rb +2 -2
- data/lib/constant_contact_client/api/sms_reporting_api.rb +92 -0
- data/lib/constant_contact_client/api/social_api.rb +286 -0
- data/lib/constant_contact_client/api_client.rb +3 -3
- data/lib/constant_contact_client/api_error.rb +2 -2
- data/lib/constant_contact_client/configuration.rb +2 -2
- data/lib/constant_contact_client/models/ab_test_data.rb +2 -2
- data/lib/constant_contact_client/models/access_token_response.rb +2 -2
- data/lib/constant_contact_client/models/account_cancellation.rb +2 -2
- data/lib/constant_contact_client/models/account_email_create_response.rb +2 -2
- data/lib/constant_contact_client/models/account_email_input.rb +2 -2
- data/lib/constant_contact_client/models/account_info_dto.rb +266 -0
- data/lib/constant_contact_client/models/account_physical_address.rb +2 -2
- data/lib/constant_contact_client/models/account_suspension.rb +2 -2
- data/lib/constant_contact_client/models/activities.rb +2 -2
- data/lib/constant_contact_client/models/activity.rb +2 -2
- data/lib/constant_contact_client/models/activity_delete_custom_fields.rb +2 -2
- data/lib/constant_contact_client/models/activity_delete_list_response.rb +3 -3
- data/lib/constant_contact_client/models/activity_delete_lists_response.rb +2 -2
- data/lib/constant_contact_client/models/activity_delete_status.rb +2 -2
- data/lib/constant_contact_client/models/activity_errors.rb +2 -2
- data/lib/constant_contact_client/models/activity_export_status.rb +2 -2
- data/lib/constant_contact_client/models/activity_generic.rb +2 -2
- data/lib/constant_contact_client/models/activity_generic_status.rb +2 -2
- data/lib/constant_contact_client/models/activity_import.rb +2 -2
- data/lib/constant_contact_client/models/activity_links.rb +2 -2
- data/lib/constant_contact_client/models/activity_lists_membership.rb +2 -2
- data/lib/constant_contact_client/models/activity_reference.rb +2 -2
- data/lib/constant_contact_client/models/activity_status.rb +2 -2
- data/lib/constant_contact_client/models/activity_status_export_link.rb +2 -2
- data/lib/constant_contact_client/models/activity_status_link.rb +2 -2
- data/lib/constant_contact_client/models/activity_tagging.rb +2 -2
- data/lib/constant_contact_client/models/activity_tagging_status.rb +2 -2
- data/lib/constant_contact_client/models/add_account_email_address201_response.rb +2 -2
- data/lib/constant_contact_client/models/add_account_email_address_request.rb +2 -2
- data/lib/constant_contact_client/models/address_dto.rb +604 -0
- data/lib/constant_contact_client/models/address_dto1.rb +604 -0
- data/lib/constant_contact_client/models/api_error_schema_inner.rb +2 -2
- data/lib/constant_contact_client/models/attribute_dto.rb +323 -0
- data/lib/constant_contact_client/models/attribute_dto1.rb +323 -0
- data/lib/constant_contact_client/models/authorization_error_schema.rb +2 -2
- data/lib/constant_contact_client/models/automation_campaign.rb +274 -0
- data/lib/constant_contact_client/models/automation_campaign_active_definition.rb +235 -0
- data/lib/constant_contact_client/models/automation_campaign_structured_tags_inner.rb +232 -0
- data/lib/constant_contact_client/models/automation_flow.rb +215 -0
- data/lib/constant_contact_client/models/automation_flow_workflow_def.rb +262 -0
- data/lib/constant_contact_client/models/automation_structured_tag.rb +232 -0
- data/lib/constant_contact_client/models/automation_workflow_def.rb +262 -0
- data/lib/constant_contact_client/models/automation_workflow_definition.rb +235 -0
- data/lib/constant_contact_client/models/automation_workflow_definition_workflow.rb +215 -0
- data/lib/constant_contact_client/models/bounces_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/bounces_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/bulk_campaign_summary.rb +289 -0
- data/lib/constant_contact_client/models/bulk_email_campaign_summaries_page.rb +2 -16
- data/lib/constant_contact_client/models/bulk_email_campaign_summaries_percents.rb +2 -2
- data/lib/constant_contact_client/models/bulk_email_campaign_summary.rb +2 -23
- data/lib/constant_contact_client/models/bulk_sms_campaign_summaries_percents.rb +245 -0
- data/lib/constant_contact_client/models/campaign_activity_stats_query_result_email.rb +2 -2
- data/lib/constant_contact_client/models/campaign_activity_stats_result_generic_stats_email_activity.rb +2 -2
- data/lib/constant_contact_client/models/campaign_activity_summary.rb +2 -2
- data/lib/constant_contact_client/models/campaign_stats_query_result_email.rb +2 -2
- data/lib/constant_contact_client/models/campaign_stats_result_generic_stats_email_percents_email.rb +2 -2
- data/lib/constant_contact_client/models/check_in_tickets_request.rb +225 -0
- data/lib/constant_contact_client/models/clicks_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/clicks_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/company_logo.rb +2 -2
- data/lib/constant_contact_client/models/connection_dto.rb +224 -0
- data/lib/constant_contact_client/models/connection_response_dto.rb +218 -0
- data/lib/constant_contact_client/models/connection_status_dto.rb +276 -0
- data/lib/constant_contact_client/models/contact_campaign_activities_summary.rb +2 -2
- data/lib/constant_contact_client/models/contact_create_or_update_input.rb +17 -15
- data/lib/constant_contact_client/models/contact_create_or_update_response.rb +2 -2
- data/lib/constant_contact_client/models/contact_custom_field.rb +22 -17
- data/lib/constant_contact_client/models/contact_delete.rb +2 -2
- data/lib/constant_contact_client/models/contact_dto.rb +429 -0
- data/lib/constant_contact_client/models/contact_dto1.rb +430 -0
- data/lib/constant_contact_client/models/contact_list.rb +2 -2
- data/lib/constant_contact_client/models/contact_list_array.rb +2 -2
- data/lib/constant_contact_client/models/contact_list_put_post.rb +2 -2
- data/lib/constant_contact_client/models/contact_open_and_click_rates.rb +2 -2
- data/lib/constant_contact_client/models/contact_post_request.rb +15 -6
- data/lib/constant_contact_client/models/contact_put_request.rb +15 -6
- data/lib/constant_contact_client/models/contact_resource.rb +2 -2
- data/lib/constant_contact_client/models/contact_resubscribe_request.rb +224 -0
- data/lib/constant_contact_client/models/contact_sms_channel.rb +241 -0
- data/lib/constant_contact_client/models/contact_sms_channel_consents.rb +249 -0
- data/lib/constant_contact_client/models/contact_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/contact_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/contact_xref.rb +2 -2
- data/lib/constant_contact_client/models/contact_xrefs.rb +2 -2
- data/lib/constant_contact_client/models/contacts.rb +2 -2
- data/lib/constant_contact_client/models/contacts_counts.rb +2 -2
- data/lib/constant_contact_client/models/contacts_export.rb +62 -12
- data/lib/constant_contact_client/models/contacts_json_import.rb +2 -2
- data/lib/constant_contact_client/models/copy_event_request.rb +235 -0
- data/lib/constant_contact_client/models/create_contact_request.rb +15 -6
- data/lib/constant_contact_client/models/create_contact_request_email_address.rb +2 -2
- data/lib/constant_contact_client/models/create_csv_import_activity201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_csv_import_activity201_response_links.rb +2 -2
- data/lib/constant_contact_client/models/create_csv_import_activity201_response_status.rb +2 -2
- data/lib/constant_contact_client/models/create_custom_fields_request.rb +313 -0
- data/lib/constant_contact_client/models/create_custom_fields_request_choices_inner.rb +245 -0
- data/lib/constant_contact_client/models/create_delete_activity201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_delete_activity201_response_links.rb +2 -2
- data/lib/constant_contact_client/models/create_delete_activity201_response_links_self.rb +2 -2
- data/lib/constant_contact_client/models/create_delete_activity201_response_status.rb +2 -2
- data/lib/constant_contact_client/models/create_delete_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/create_email_campaign200_response.rb +2 -2
- data/lib/constant_contact_client/models/create_email_campaign200_response_campaign_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/create_email_campaign_request.rb +2 -2
- data/lib/constant_contact_client/models/create_email_campaign_request_email_campaign_activities_inner.rb +21 -2
- data/lib/constant_contact_client/models/create_email_campaign_request_email_campaign_activities_inner_physical_address_in_footer.rb +2 -2
- data/lib/constant_contact_client/models/create_event201_response.rb +708 -0
- data/lib/constant_contact_client/models/create_event201_response_event_promotions_inner.rb +256 -0
- data/lib/constant_contact_client/models/create_event201_response_event_settings.rb +265 -0
- data/lib/constant_contact_client/models/create_export_activity201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_export_activity201_response_status.rb +2 -2
- data/lib/constant_contact_client/models/create_export_activity_request.rb +62 -12
- data/lib/constant_contact_client/models/create_export_activity_request_exclude.rb +217 -0
- data/lib/constant_contact_client/models/create_import_json_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/create_import_json_activity_request_import_data_inner.rb +7 -14
- data/lib/constant_contact_client/models/create_list_add_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/create_list_add_activity_request_exclude.rb +2 -2
- data/lib/constant_contact_client/models/create_list_add_activity_request_source.rb +2 -2
- data/lib/constant_contact_client/models/create_list_delete_activity201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_list_delete_activity201_response_links.rb +2 -2
- data/lib/constant_contact_client/models/create_list_delete_activity201_response_links_self.rb +2 -2
- data/lib/constant_contact_client/models/create_list_delete_activity201_response_status.rb +2 -2
- data/lib/constant_contact_client/models/create_list_delete_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/create_list_remove_activity201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_list_remove_activity201_response_status.rb +2 -2
- data/lib/constant_contact_client/models/create_list_remove_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/create_list_remove_activity_request_exclude.rb +2 -2
- data/lib/constant_contact_client/models/create_list_remove_activity_request_source.rb +2 -2
- data/lib/constant_contact_client/models/create_or_update_contact200_response.rb +2 -2
- data/lib/constant_contact_client/models/create_or_update_contact_custom_field.rb +2 -2
- data/lib/constant_contact_client/models/create_or_update_contact_request.rb +17 -15
- data/lib/constant_contact_client/models/create_or_update_contact_request_custom_fields_inner.rb +2 -2
- data/lib/constant_contact_client/models/create_or_update_contact_request_sms_channel.rb +276 -0
- data/lib/constant_contact_client/models/create_or_update_contact_request_sms_channel_sms_channel_consents_inner.rb +310 -0
- data/lib/constant_contact_client/models/create_or_update_contact_request_street_address.rb +2 -2
- data/lib/constant_contact_client/models/create_resend_email_campaign201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_resend_email_campaign_request.rb +2 -2
- data/lib/constant_contact_client/models/create_segment201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_segment_request.rb +2 -2
- data/lib/constant_contact_client/models/create_social_post200_response.rb +272 -0
- data/lib/constant_contact_client/models/create_social_post_request.rb +262 -0
- data/lib/constant_contact_client/models/create_social_post_request_profile_posts_inner.rb +269 -0
- data/lib/constant_contact_client/models/create_social_post_request_profile_posts_inner_images_inner.rb +233 -0
- data/lib/constant_contact_client/models/create_social_post_request_profile_posts_inner_profiles_inner.rb +323 -0
- data/lib/constant_contact_client/models/create_tag_delete_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links_results.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links_self.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_status.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity_request_exclude.rb +2 -2
- data/lib/constant_contact_client/models/create_tag_remove_activity_request_source.rb +2 -2
- data/lib/constant_contact_client/models/cross_reference.rb +2 -2
- data/lib/constant_contact_client/models/cross_reference_response.rb +2 -2
- data/lib/constant_contact_client/models/{custom_field_resource.rb → custom_field.rb} +80 -11
- data/lib/constant_contact_client/models/custom_field_choice.rb +295 -0
- data/lib/constant_contact_client/models/custom_field_choice_put_request.rb +255 -0
- data/lib/constant_contact_client/models/custom_field_choice_request.rb +245 -0
- data/lib/constant_contact_client/models/custom_field_id100.rb +2 -2
- data/lib/constant_contact_client/models/custom_field_metadata.rb +266 -0
- data/lib/constant_contact_client/models/{custom_field_input.rb → custom_field_put_request.rb} +35 -28
- data/lib/constant_contact_client/models/custom_field_request.rb +313 -0
- data/lib/constant_contact_client/models/custom_fields.rb +2 -3
- data/lib/constant_contact_client/models/customer.rb +13 -3
- data/lib/constant_contact_client/models/customer_put.rb +2 -2
- data/lib/constant_contact_client/models/delete_list202_response.rb +3 -3
- data/lib/constant_contact_client/models/delete_tag202_response.rb +2 -2
- data/lib/constant_contact_client/models/delete_tag202_response_activity_errors_inner.rb +2 -2
- data/lib/constant_contact_client/models/delete_tag202_response_links.rb +2 -2
- data/lib/constant_contact_client/models/delete_tag202_response_links_self.rb +2 -2
- data/lib/constant_contact_client/models/delete_tag202_response_status.rb +2 -2
- data/lib/constant_contact_client/models/detailed_registration_dto.rb +316 -0
- data/lib/constant_contact_client/models/device_flow_response.rb +2 -2
- data/lib/constant_contact_client/models/did_not_opens_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/did_not_opens_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/email_address.rb +2 -2
- data/lib/constant_contact_client/models/email_address_post.rb +2 -2
- data/lib/constant_contact_client/models/email_address_put.rb +2 -2
- data/lib/constant_contact_client/models/email_campaign.rb +2 -2
- data/lib/constant_contact_client/models/email_campaign_account_information.rb +417 -0
- data/lib/constant_contact_client/models/email_campaign_account_information_message_settings.rb +256 -0
- data/lib/constant_contact_client/models/email_campaign_account_information_physical_address.rb +336 -0
- data/lib/constant_contact_client/models/email_campaign_activity.rb +2 -2
- data/lib/constant_contact_client/models/email_campaign_activity_input.rb +21 -2
- data/lib/constant_contact_client/models/email_campaign_activity_preview.rb +2 -2
- data/lib/constant_contact_client/models/email_campaign_complete.rb +2 -2
- data/lib/constant_contact_client/models/email_campaign_name.rb +2 -2
- data/lib/constant_contact_client/models/email_campaigns.rb +2 -2
- data/lib/constant_contact_client/models/email_link_click_count.rb +2 -2
- data/lib/constant_contact_client/models/email_links.rb +2 -2
- data/lib/constant_contact_client/models/email_physical_address.rb +2 -2
- data/lib/constant_contact_client/models/email_schedule_input.rb +2 -2
- data/lib/constant_contact_client/models/email_test_send_input.rb +2 -2
- data/lib/constant_contact_client/models/emails_link.rb +2 -2
- data/lib/constant_contact_client/models/emails_paging_links.rb +2 -2
- data/lib/constant_contact_client/models/event_copy_request_dto.rb +235 -0
- data/lib/constant_contact_client/models/event_dto.rb +708 -0
- data/lib/constant_contact_client/models/event_listing_dto.rb +344 -0
- data/lib/constant_contact_client/models/event_media_asset_dto.rb +265 -0
- data/lib/constant_contact_client/models/event_media_asset_dto1.rb +265 -0
- data/lib/constant_contact_client/models/event_meta_data_dto.rb +236 -0
- data/lib/constant_contact_client/models/event_meta_data_dto1.rb +236 -0
- data/lib/constant_contact_client/models/event_promotion_dto.rb +256 -0
- data/lib/constant_contact_client/models/event_registration_summary_metric_dto.rb +235 -0
- data/lib/constant_contact_client/models/event_settings_dto.rb +265 -0
- data/lib/constant_contact_client/models/file_object.rb +2 -2
- data/lib/constant_contact_client/models/file_status_array_inner.rb +2 -2
- data/lib/constant_contact_client/models/find_events200_response.rb +256 -0
- data/lib/constant_contact_client/models/find_events200_response_links.rb +233 -0
- data/lib/constant_contact_client/models/find_events200_response_records_inner.rb +344 -0
- data/lib/constant_contact_client/models/find_events200_response_records_inner_event_registration_summary_metrics.rb +235 -0
- data/lib/constant_contact_client/models/find_registrations_using_get200_response.rb +255 -0
- data/lib/constant_contact_client/models/find_registrations_using_get200_response_links.rb +232 -0
- data/lib/constant_contact_client/models/find_registrations_using_get200_response_records_inner.rb +345 -0
- data/lib/constant_contact_client/models/forwards_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/forwards_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/get_ab_test_email_campaign200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_account_details200_response.rb +13 -3
- data/lib/constant_contact_client/models/get_account_details200_response_company_logo.rb +2 -2
- data/lib/constant_contact_client/models/get_account_details200_response_physical_address.rb +2 -2
- data/lib/constant_contact_client/models/get_activity_by_id200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_all_account_email_addresses200_response_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links_results.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links_self.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_status.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response_links.rb +2 -2
- data/lib/constant_contact_client/models/get_all_activities200_response_links_next.rb +2 -2
- data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response.rb +235 -0
- data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_aggregate_percents.rb +246 -0
- data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_bulk_sms_campaign_summaries_inner.rb +289 -0
- data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_bulk_sms_campaign_summaries_inner_unique_counts.rb +284 -0
- data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_links.rb +215 -0
- data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_links_next.rb +223 -0
- data/lib/constant_contact_client/models/get_all_contacts200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_all_custom_fields200_response.rb +2 -3
- data/lib/constant_contact_client/models/get_all_email_campaigns200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_all_email_campaigns200_response_campaigns_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_all_email_campaigns200_response_links.rb +2 -2
- data/lib/constant_contact_client/models/get_all_lists200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_all_segments200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_all_segments200_response_links.rb +2 -2
- data/lib/constant_contact_client/models/get_all_segments200_response_links_next.rb +2 -2
- data/lib/constant_contact_client/models/get_all_segments200_response_segments_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_all_tags200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_all_tags200_response_links.rb +2 -2
- data/lib/constant_contact_client/models/get_all_tags200_response_links_next.rb +2 -2
- data/lib/constant_contact_client/models/get_all_tags200_response_links_next_next.rb +2 -9
- data/lib/constant_contact_client/models/get_bounces_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_bounces_report200_response_links.rb +2 -9
- data/lib/constant_contact_client/models/get_bounces_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_campaign_activity_link_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_campaign_activity_link_report200_response_link_click_counts_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_clicks_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_clicks_report200_response_links.rb +2 -9
- data/lib/constant_contact_client/models/get_clicks_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_adds200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_adds200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_by_id200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_by_id200_response_custom_fields_inner.rb +22 -17
- data/lib/constant_contact_client/models/get_contact_by_id200_response_email_address.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_by_id200_response_notes_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_by_id200_response_phone_numbers_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_by_id200_response_sms_channel.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_by_id200_response_sms_channel_sms_channel_consents_inner.rb +3 -2
- data/lib/constant_contact_client/models/get_contact_by_id200_response_street_addresses_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_counts200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_id_xrefs200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_id_xrefs200_response_xrefs_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_open_click_rate_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response_campaign_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response_links.rb +2 -9
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response_links.rb +2 -9
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response_links_next.rb +2 -9
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_custom_field200_response.rb +77 -8
- data/lib/constant_contact_client/models/get_custom_field200_response_choices_inner.rb +295 -0
- data/lib/constant_contact_client/models/get_custom_field200_response_metadata.rb +266 -0
- data/lib/constant_contact_client/models/get_did_not_opens_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_did_not_opens_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity200_response_document_properties.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity200_response_physical_address_in_footer.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity_preview200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response_results_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response_results_inner_stats.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity_schedule200_response_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_activity_send_history200_response_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_report200_response.rb +2 -16
- data/lib/constant_contact_client/models/get_email_campaign_report200_response_aggregate_percents.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_report200_response_bulk_email_campaign_summaries_inner.rb +2 -23
- data/lib/constant_contact_client/models/get_email_campaign_report200_response_bulk_email_campaign_summaries_inner_unique_counts.rb +2 -58
- data/lib/constant_contact_client/models/get_email_campaign_xrefs200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_email_campaign_xrefs200_response_xrefs_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_opens_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_email_opens_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_sends_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_email_sends_report200_response_links.rb +2 -9
- data/lib/constant_contact_client/models/get_email_sends_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_stats_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_email_stats_report200_response_errors_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner_percents.rb +2 -2
- data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner_stats.rb +2 -2
- data/lib/constant_contact_client/models/get_forwards_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_forwards_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_hashtag_groups200_response.rb +257 -0
- data/lib/constant_contact_client/models/get_hashtag_groups200_response_hashtag_groups_inner.rb +252 -0
- data/lib/constant_contact_client/models/get_hashtag_groups200_response_links.rb +215 -0
- data/lib/constant_contact_client/models/get_hashtag_groups200_response_links_next.rb +223 -0
- data/lib/constant_contact_client/models/get_hashtag_groups200_response_page.rb +274 -0
- data/lib/constant_contact_client/models/get_list200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_list_id_xrefs200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_list_id_xrefs200_response_xrefs_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_optouts_report200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_optouts_report200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_registration_info200_response.rb +316 -0
- data/lib/constant_contact_client/models/get_registration_info200_response_contact_inner.rb +278 -0
- data/lib/constant_contact_client/models/get_registration_info200_response_order_summary.rb +296 -0
- data/lib/constant_contact_client/models/get_registration_info200_response_order_summary_details_inner.rb +245 -0
- data/lib/constant_contact_client/models/get_registration_info200_response_tickets_inner.rb +266 -0
- data/lib/constant_contact_client/models/get_resend_email_campaign200_response_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_sms_engagement_history200_response_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_sms_engagement_history200_response_inner_history_details.rb +3 -13
- data/lib/constant_contact_client/models/get_social_connections200_response.rb +218 -0
- data/lib/constant_contact_client/models/get_social_connections200_response_connections_inner.rb +224 -0
- data/lib/constant_contact_client/models/get_social_connections200_response_connections_inner_account_info.rb +266 -0
- data/lib/constant_contact_client/models/get_social_connections200_response_connections_inner_connection_status.rb +276 -0
- data/lib/constant_contact_client/models/get_social_profiles200_response_inner.rb +348 -0
- data/lib/constant_contact_client/models/get_social_profiles200_response_inner_account_info.rb +266 -0
- data/lib/constant_contact_client/models/get_tag200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_links.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_links_next.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_tracking_activities_inner_sms_channel.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_opens200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_opens200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_sms_opt_ins200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_sms_opt_ins200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_updates200_response.rb +2 -2
- data/lib/constant_contact_client/models/get_unique_contact_updates200_response_tracking_activities_inner.rb +2 -2
- data/lib/constant_contact_client/models/get_user_privileges200_response_inner.rb +2 -2
- data/lib/constant_contact_client/models/hashtag_group_dto.rb +252 -0
- data/lib/constant_contact_client/models/headers_object.rb +2 -2
- data/lib/constant_contact_client/models/history_details.rb +3 -13
- data/lib/constant_contact_client/models/href.rb +214 -0
- data/lib/constant_contact_client/models/image_dto.rb +233 -0
- data/lib/constant_contact_client/models/item_dto.rb +444 -0
- data/lib/constant_contact_client/models/item_dto1.rb +444 -0
- data/lib/constant_contact_client/models/item_summary_dto.rb +263 -0
- data/lib/constant_contact_client/models/item_summary_dto1.rb +263 -0
- data/lib/constant_contact_client/models/jmml_sms_channel.rb +276 -0
- data/lib/constant_contact_client/models/jmml_sms_channel_consents.rb +310 -0
- data/lib/constant_contact_client/models/json_import_contact.rb +7 -14
- data/lib/constant_contact_client/models/line_item_details_dto.rb +245 -0
- data/lib/constant_contact_client/models/link.rb +2 -2
- data/lib/constant_contact_client/models/links.rb +25 -13
- data/lib/constant_contact_client/models/list_activity_add_contacts.rb +2 -2
- data/lib/constant_contact_client/models/list_activity_remove_contacts.rb +2 -2
- data/lib/constant_contact_client/models/list_id_list100.rb +2 -2
- data/lib/constant_contact_client/models/list_input.rb +2 -2
- data/lib/constant_contact_client/models/list_xref.rb +2 -2
- data/lib/constant_contact_client/models/list_xrefs.rb +2 -2
- data/lib/constant_contact_client/models/lpreporting_links.rb +2 -2
- data/lib/constant_contact_client/models/lpreporting_next.rb +2 -2
- data/lib/constant_contact_client/models/model_next.rb +2 -2
- data/lib/constant_contact_client/models/my_library_file_collection_inner.rb +2 -2
- data/lib/constant_contact_client/models/my_library_file_collection_inner_thumbnail.rb +2 -2
- data/lib/constant_contact_client/models/note.rb +2 -2
- data/lib/constant_contact_client/models/o_auth_error.rb +2 -2
- data/lib/constant_contact_client/models/online_meeting_dto.rb +272 -0
- data/lib/constant_contact_client/models/online_meeting_dto1.rb +273 -0
- data/lib/constant_contact_client/models/opens_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/opens_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/optouts_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/optouts_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/order_details_dto.rb +296 -0
- data/lib/constant_contact_client/models/order_ticket_keys_request_dto.rb +225 -0
- data/lib/constant_contact_client/models/p_contact_add_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_add_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_click_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_click_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_open_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_opens_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_sms_opt_in_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_sms_opt_in_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_update_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/p_contact_update_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/page_metadata_dto.rb +274 -0
- data/lib/constant_contact_client/models/paged_email_campaign_response.rb +2 -2
- data/lib/constant_contact_client/models/paged_hashtag_groups_dto.rb +257 -0
- data/lib/constant_contact_client/models/paged_response_link_rel_dto.rb +223 -0
- data/lib/constant_contact_client/models/paged_response_links_dto.rb +215 -0
- data/lib/constant_contact_client/models/paginated_registrations.rb +255 -0
- data/lib/constant_contact_client/models/pagination_dto_event_listing_dto.rb +256 -0
- data/lib/constant_contact_client/models/pagination_links.rb +2 -2
- data/lib/constant_contact_client/models/pagination_links_next.rb +2 -2
- data/lib/constant_contact_client/models/paging_links.rb +2 -2
- data/lib/constant_contact_client/models/partner_account.rb +2 -2
- data/lib/constant_contact_client/models/partner_account_links.rb +2 -2
- data/lib/constant_contact_client/models/partner_account_operations_request.rb +2 -2
- data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_headers_inner.rb +2 -2
- data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_path_parameters_inner.rb +2 -2
- data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_query_parameters_inner.rb +2 -2
- data/lib/constant_contact_client/models/partner_account_site_owner_list_inner.rb +2 -2
- data/lib/constant_contact_client/models/partner_unsubscribe_response.rb +216 -0
- data/lib/constant_contact_client/models/partners_link.rb +2 -2
- data/lib/constant_contact_client/models/patch_email_campaign_name_request.rb +2 -2
- data/lib/constant_contact_client/models/path_param_object.rb +2 -2
- data/lib/constant_contact_client/models/payment_status_update_request_dto.rb +242 -0
- data/lib/constant_contact_client/models/percents_email.rb +2 -2
- data/lib/constant_contact_client/models/phone_number.rb +2 -2
- data/lib/constant_contact_client/models/phone_number_put.rb +2 -2
- data/lib/constant_contact_client/models/plan_info.rb +2 -2
- data/lib/constant_contact_client/models/plan_tiers_object.rb +2 -2
- data/lib/constant_contact_client/models/plan_tiers_object_current_tiers_inner.rb +2 -2
- data/lib/constant_contact_client/models/post_create_dto.rb +262 -0
- data/lib/constant_contact_client/models/post_custom_field_delete201_response.rb +2 -2
- data/lib/constant_contact_client/models/post_custom_field_delete_request.rb +2 -2
- data/lib/constant_contact_client/models/post_dto.rb +272 -0
- data/lib/constant_contact_client/models/post_tag_request.rb +2 -2
- data/lib/constant_contact_client/models/profile_dto.rb +348 -0
- data/lib/constant_contact_client/models/profile_post_dto.rb +269 -0
- data/lib/constant_contact_client/models/profile_post_profile_dto.rb +323 -0
- data/lib/constant_contact_client/models/promo_code_dto.rb +408 -0
- data/lib/constant_contact_client/models/promo_code_dto1.rb +408 -0
- data/lib/constant_contact_client/models/provision.rb +2 -2
- data/lib/constant_contact_client/models/provision_response.rb +2 -2
- data/lib/constant_contact_client/models/put_tag_request.rb +2 -2
- data/lib/constant_contact_client/models/query_param_object.rb +2 -2
- data/lib/constant_contact_client/models/registrant_information_lite_dto.rb +345 -0
- data/lib/constant_contact_client/models/registration_status_update_request_dto.rb +242 -0
- data/lib/constant_contact_client/models/registration_status_update_response_dto.rb +218 -0
- data/lib/constant_contact_client/models/registration_ticket_dto.rb +266 -0
- data/lib/constant_contact_client/models/registrations_links.rb +232 -0
- data/lib/constant_contact_client/models/reporting_links.rb +2 -9
- data/lib/constant_contact_client/models/reporting_next.rb +2 -9
- data/lib/constant_contact_client/models/reportingsms_links.rb +214 -0
- data/lib/constant_contact_client/models/reportingsms_next.rb +222 -0
- data/lib/constant_contact_client/models/resend_to_non_openers_input.rb +2 -2
- data/lib/constant_contact_client/models/resend_to_non_openers_object.rb +2 -2
- data/lib/constant_contact_client/models/resubscribe_contact_request.rb +224 -0
- data/lib/constant_contact_client/models/schedule_email_campaign_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/segment_data.rb +2 -2
- data/lib/constant_contact_client/models/segment_detail.rb +2 -2
- data/lib/constant_contact_client/models/segment_master.rb +2 -2
- data/lib/constant_contact_client/models/segment_name.rb +2 -2
- data/lib/constant_contact_client/models/segments_dto.rb +2 -2
- data/lib/constant_contact_client/models/segments_links.rb +221 -0
- data/lib/constant_contact_client/models/sends_tracking_activities_page.rb +2 -2
- data/lib/constant_contact_client/models/sends_tracking_activity.rb +2 -2
- data/lib/constant_contact_client/models/simple_field_dto.rb +278 -0
- data/lib/constant_contact_client/models/sms_campaign_summaries_page.rb +235 -0
- data/lib/constant_contact_client/models/sms_channel_consent_details.rb +3 -2
- data/lib/constant_contact_client/models/sso_user.rb +3 -3
- data/lib/constant_contact_client/models/stats_email.rb +2 -2
- data/lib/constant_contact_client/models/stats_email_activity.rb +2 -2
- data/lib/constant_contact_client/models/stats_error.rb +2 -2
- data/lib/constant_contact_client/models/status_display_label_dto.rb +226 -0
- data/lib/constant_contact_client/models/status_display_label_dto1.rb +226 -0
- data/lib/constant_contact_client/models/street_address.rb +2 -2
- data/lib/constant_contact_client/models/street_address_put.rb +2 -2
- data/lib/constant_contact_client/models/tag.rb +2 -2
- data/lib/constant_contact_client/models/tag_add_remove_contacts.rb +2 -2
- data/lib/constant_contact_client/models/tag_id_list500_limit.rb +2 -2
- data/lib/constant_contact_client/models/tag_post.rb +2 -2
- data/lib/constant_contact_client/models/tag_put.rb +2 -2
- data/lib/constant_contact_client/models/tags.rb +2 -2
- data/lib/constant_contact_client/models/tags_activity_links.rb +2 -2
- data/lib/constant_contact_client/models/tags_links.rb +2 -2
- data/lib/constant_contact_client/models/tags_paging_links.rb +2 -2
- data/lib/constant_contact_client/models/test_send_email_campaign_activity_request.rb +2 -2
- data/lib/constant_contact_client/models/ticket_summary_dto.rb +279 -0
- data/lib/constant_contact_client/models/ticket_summary_dto1.rb +279 -0
- data/lib/constant_contact_client/models/tier_object.rb +2 -2
- data/lib/constant_contact_client/models/track_dto.rb +377 -0
- data/lib/constant_contact_client/models/track_dto1.rb +377 -0
- data/lib/constant_contact_client/models/tracking_activity_sms_channel_dto.rb +2 -2
- data/lib/constant_contact_client/models/unique_email_counts.rb +2 -58
- data/lib/constant_contact_client/models/unique_sms_counts.rb +283 -0
- data/lib/constant_contact_client/models/update_account_request.rb +2 -2
- data/lib/constant_contact_client/models/update_contact_request.rb +15 -6
- data/lib/constant_contact_client/models/update_contact_request_email_address.rb +2 -2
- data/lib/constant_contact_client/models/update_contact_request_phone_numbers_inner.rb +2 -2
- data/lib/constant_contact_client/models/update_contact_request_sms_channel.rb +241 -0
- data/lib/constant_contact_client/models/update_contact_request_sms_channel_sms_channel_consents_inner.rb +249 -0
- data/lib/constant_contact_client/models/update_contact_request_street_addresses_inner.rb +2 -2
- data/lib/constant_contact_client/models/update_custom_field_request.rb +32 -25
- data/lib/constant_contact_client/models/update_custom_field_request_choices_inner.rb +255 -0
- data/lib/constant_contact_client/models/update_list200_response.rb +2 -2
- data/lib/constant_contact_client/models/update_list_request.rb +2 -2
- data/lib/constant_contact_client/models/update_registration_payment_status_using_put_request.rb +242 -0
- data/lib/constant_contact_client/models/update_registration_status_using_put207_response.rb +218 -0
- data/lib/constant_contact_client/models/update_registration_status_using_put_request.rb +242 -0
- data/lib/constant_contact_client/models/update_segment_name_request.rb +2 -2
- data/lib/constant_contact_client/models/webhooks_subscription_body.rb +2 -2
- data/lib/constant_contact_client/models/webhooks_subscription_collection_inner.rb +2 -2
- data/lib/constant_contact_client/models/webhooks_subscription_put_resp.rb +2 -2
- data/lib/constant_contact_client/models/webhooks_subscription_response.rb +2 -2
- data/lib/constant_contact_client/models/webhooks_test_send.rb +2 -2
- data/lib/constant_contact_client/version.rb +3 -3
- data/lib/constant_contact_client.rb +149 -4
- data/spec/spec_helper.rb +2 -2
- metadata +157 -9
data/docs/EventsApi.md
ADDED
|
@@ -0,0 +1,881 @@
|
|
|
1
|
+
# ConstantContactClient::EventsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.cc.email/v3*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**check_in_tickets**](EventsApi.md#check_in_tickets) | **POST** /events/{event_id}/check_in/tickets | Check in event tickets. |
|
|
8
|
+
| [**copy_event**](EventsApi.md#copy_event) | **POST** /events/{event_id}/copy | POST (copy) an existing event. |
|
|
9
|
+
| [**create_event**](EventsApi.md#create_event) | **POST** /events/default | POST (create) a new event. |
|
|
10
|
+
| [**find_events**](EventsApi.md#find_events) | **GET** /events | GET a collection of events. |
|
|
11
|
+
| [**find_registrations_using_get**](EventsApi.md#find_registrations_using_get) | **GET** /events/{event_id}/tracks/{track_id}/registrations | Get a list of registrations for an event. |
|
|
12
|
+
| [**get_event2**](EventsApi.md#get_event2) | **GET** /events/{event_id} | GET details for a single event. |
|
|
13
|
+
| [**get_registration_info**](EventsApi.md#get_registration_info) | **GET** /events/{event_id}/tracks/{track_id}/registrations/{registration_id} | Get registration details for an event. |
|
|
14
|
+
| [**undo_check_in_tickets**](EventsApi.md#undo_check_in_tickets) | **POST** /events/{event_id}/undo_check_in/tickets | Undo event ticket check-in. |
|
|
15
|
+
| [**update_event**](EventsApi.md#update_event) | **PATCH** /events/{event_id} | PATCH (update) an event. |
|
|
16
|
+
| [**update_registration_payment_status_using_put**](EventsApi.md#update_registration_payment_status_using_put) | **PUT** /events/{event_id}/tracks/{track_id}/registrations/payment_status | Update payment status for event registrations. |
|
|
17
|
+
| [**update_registration_status_using_put**](EventsApi.md#update_registration_status_using_put) | **PUT** /events/{event_id}/tracks/{track_id}/registrations | Update status for event registrations. |
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## check_in_tickets
|
|
21
|
+
|
|
22
|
+
> check_in_tickets(event_id, check_in_tickets_request)
|
|
23
|
+
|
|
24
|
+
Check in event tickets.
|
|
25
|
+
|
|
26
|
+
Use this endpoint to mark one or more tickets as checked in. The event must be in `ACTIVE` or `COMPLETE` status. Tickets with `CANCELLED` status cannot be checked in (returns HTTP 400).
|
|
27
|
+
|
|
28
|
+
### Examples
|
|
29
|
+
|
|
30
|
+
```ruby
|
|
31
|
+
require 'time'
|
|
32
|
+
require 'constant_contact_client'
|
|
33
|
+
# setup authorization
|
|
34
|
+
ConstantContactClient.configure do |config|
|
|
35
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
36
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
37
|
+
|
|
38
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
39
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
43
|
+
event_id = '07216444-4e3b-41ea-a3b8-5a418fce41f4' # String | The ID that uniquely identifies the event.
|
|
44
|
+
check_in_tickets_request = ConstantContactClient::CheckInTicketsRequest.new({order_ticket_keys: ["a1b2c3", "d4e5f6"]}) # CheckInTicketsRequest | Set of order ticket keys to mark as checked in.
|
|
45
|
+
|
|
46
|
+
begin
|
|
47
|
+
# Check in event tickets.
|
|
48
|
+
api_instance.check_in_tickets(event_id, check_in_tickets_request)
|
|
49
|
+
rescue ConstantContactClient::ApiError => e
|
|
50
|
+
puts "Error when calling EventsApi->check_in_tickets: #{e}"
|
|
51
|
+
end
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### Using the check_in_tickets_with_http_info variant
|
|
55
|
+
|
|
56
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
57
|
+
|
|
58
|
+
> <Array(nil, Integer, Hash)> check_in_tickets_with_http_info(event_id, check_in_tickets_request)
|
|
59
|
+
|
|
60
|
+
```ruby
|
|
61
|
+
begin
|
|
62
|
+
# Check in event tickets.
|
|
63
|
+
data, status_code, headers = api_instance.check_in_tickets_with_http_info(event_id, check_in_tickets_request)
|
|
64
|
+
p status_code # => 2xx
|
|
65
|
+
p headers # => { ... }
|
|
66
|
+
p data # => nil
|
|
67
|
+
rescue ConstantContactClient::ApiError => e
|
|
68
|
+
puts "Error when calling EventsApi->check_in_tickets_with_http_info: #{e}"
|
|
69
|
+
end
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Parameters
|
|
73
|
+
|
|
74
|
+
| Name | Type | Description | Notes |
|
|
75
|
+
| ---- | ---- | ----------- | ----- |
|
|
76
|
+
| **event_id** | **String** | The ID that uniquely identifies the event. | |
|
|
77
|
+
| **check_in_tickets_request** | [**CheckInTicketsRequest**](CheckInTicketsRequest.md) | Set of order ticket keys to mark as checked in. | |
|
|
78
|
+
|
|
79
|
+
### Return type
|
|
80
|
+
|
|
81
|
+
nil (empty response body)
|
|
82
|
+
|
|
83
|
+
### Authorization
|
|
84
|
+
|
|
85
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
86
|
+
|
|
87
|
+
### HTTP request headers
|
|
88
|
+
|
|
89
|
+
- **Content-Type**: application/json
|
|
90
|
+
- **Accept**: Not defined
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## copy_event
|
|
94
|
+
|
|
95
|
+
> <CreateEvent201Response> copy_event(event_id, copy_event_request)
|
|
96
|
+
|
|
97
|
+
POST (copy) an existing event.
|
|
98
|
+
|
|
99
|
+
Creates a deep copy of an existing event with all its settings, registration forms, and landing pages. The copied event is created in DRAFT status. Events in DRAFT, ACTIVE, COMPLETE, or CANCELED status can be copied. DELETED events cannot be copied.
|
|
100
|
+
|
|
101
|
+
### Examples
|
|
102
|
+
|
|
103
|
+
```ruby
|
|
104
|
+
require 'time'
|
|
105
|
+
require 'constant_contact_client'
|
|
106
|
+
# setup authorization
|
|
107
|
+
ConstantContactClient.configure do |config|
|
|
108
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
109
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
110
|
+
|
|
111
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
112
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
116
|
+
event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID of the event to copy.
|
|
117
|
+
copy_event_request = ConstantContactClient::CopyEventRequest.new({target_event_name: 'My Copied Event'}) # CopyEventRequest | A JSON request body containing the copy options.
|
|
118
|
+
|
|
119
|
+
begin
|
|
120
|
+
# POST (copy) an existing event.
|
|
121
|
+
result = api_instance.copy_event(event_id, copy_event_request)
|
|
122
|
+
p result
|
|
123
|
+
rescue ConstantContactClient::ApiError => e
|
|
124
|
+
puts "Error when calling EventsApi->copy_event: #{e}"
|
|
125
|
+
end
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
#### Using the copy_event_with_http_info variant
|
|
129
|
+
|
|
130
|
+
This returns an Array which contains the response data, status code and headers.
|
|
131
|
+
|
|
132
|
+
> <Array(<CreateEvent201Response>, Integer, Hash)> copy_event_with_http_info(event_id, copy_event_request)
|
|
133
|
+
|
|
134
|
+
```ruby
|
|
135
|
+
begin
|
|
136
|
+
# POST (copy) an existing event.
|
|
137
|
+
data, status_code, headers = api_instance.copy_event_with_http_info(event_id, copy_event_request)
|
|
138
|
+
p status_code # => 2xx
|
|
139
|
+
p headers # => { ... }
|
|
140
|
+
p data # => <CreateEvent201Response>
|
|
141
|
+
rescue ConstantContactClient::ApiError => e
|
|
142
|
+
puts "Error when calling EventsApi->copy_event_with_http_info: #{e}"
|
|
143
|
+
end
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Parameters
|
|
147
|
+
|
|
148
|
+
| Name | Type | Description | Notes |
|
|
149
|
+
| ---- | ---- | ----------- | ----- |
|
|
150
|
+
| **event_id** | **String** | The ID of the event to copy. | |
|
|
151
|
+
| **copy_event_request** | [**CopyEventRequest**](CopyEventRequest.md) | A JSON request body containing the copy options. | |
|
|
152
|
+
|
|
153
|
+
### Return type
|
|
154
|
+
|
|
155
|
+
[**CreateEvent201Response**](CreateEvent201Response.md)
|
|
156
|
+
|
|
157
|
+
### Authorization
|
|
158
|
+
|
|
159
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
160
|
+
|
|
161
|
+
### HTTP request headers
|
|
162
|
+
|
|
163
|
+
- **Content-Type**: application/json
|
|
164
|
+
- **Accept**: application/json
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## create_event
|
|
168
|
+
|
|
169
|
+
> <CreateEvent201Response> create_event(opts)
|
|
170
|
+
|
|
171
|
+
POST (create) a new event.
|
|
172
|
+
|
|
173
|
+
Creates a new event with default settings, registration form, and landing page. The event will be created in DRAFT status.
|
|
174
|
+
|
|
175
|
+
### Examples
|
|
176
|
+
|
|
177
|
+
```ruby
|
|
178
|
+
require 'time'
|
|
179
|
+
require 'constant_contact_client'
|
|
180
|
+
# setup authorization
|
|
181
|
+
ConstantContactClient.configure do |config|
|
|
182
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
183
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
184
|
+
|
|
185
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
186
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
190
|
+
opts = {
|
|
191
|
+
name: 'My Event', # String | Name for the new event. If not provided, a default name will be generated.
|
|
192
|
+
start_time: '2024-01-15T10:00:00Z', # String | Event start time in ISO 8601 format. If not provided, defaults to a future date.
|
|
193
|
+
end_time: '2024-01-15T18:00:00Z', # String | Event end time in ISO 8601 format. If not provided, defaults to one hour after start time.
|
|
194
|
+
placeholder_campaign_id: 'campaign-123' # String | Placeholder campaign ID for the event.
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
begin
|
|
198
|
+
# POST (create) a new event.
|
|
199
|
+
result = api_instance.create_event(opts)
|
|
200
|
+
p result
|
|
201
|
+
rescue ConstantContactClient::ApiError => e
|
|
202
|
+
puts "Error when calling EventsApi->create_event: #{e}"
|
|
203
|
+
end
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
#### Using the create_event_with_http_info variant
|
|
207
|
+
|
|
208
|
+
This returns an Array which contains the response data, status code and headers.
|
|
209
|
+
|
|
210
|
+
> <Array(<CreateEvent201Response>, Integer, Hash)> create_event_with_http_info(opts)
|
|
211
|
+
|
|
212
|
+
```ruby
|
|
213
|
+
begin
|
|
214
|
+
# POST (create) a new event.
|
|
215
|
+
data, status_code, headers = api_instance.create_event_with_http_info(opts)
|
|
216
|
+
p status_code # => 2xx
|
|
217
|
+
p headers # => { ... }
|
|
218
|
+
p data # => <CreateEvent201Response>
|
|
219
|
+
rescue ConstantContactClient::ApiError => e
|
|
220
|
+
puts "Error when calling EventsApi->create_event_with_http_info: #{e}"
|
|
221
|
+
end
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
### Parameters
|
|
225
|
+
|
|
226
|
+
| Name | Type | Description | Notes |
|
|
227
|
+
| ---- | ---- | ----------- | ----- |
|
|
228
|
+
| **name** | **String** | Name for the new event. If not provided, a default name will be generated. | [optional] |
|
|
229
|
+
| **start_time** | **String** | Event start time in ISO 8601 format. If not provided, defaults to a future date. | [optional] |
|
|
230
|
+
| **end_time** | **String** | Event end time in ISO 8601 format. If not provided, defaults to one hour after start time. | [optional] |
|
|
231
|
+
| **placeholder_campaign_id** | **String** | Placeholder campaign ID for the event. | [optional] |
|
|
232
|
+
|
|
233
|
+
### Return type
|
|
234
|
+
|
|
235
|
+
[**CreateEvent201Response**](CreateEvent201Response.md)
|
|
236
|
+
|
|
237
|
+
### Authorization
|
|
238
|
+
|
|
239
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
240
|
+
|
|
241
|
+
### HTTP request headers
|
|
242
|
+
|
|
243
|
+
- **Content-Type**: Not defined
|
|
244
|
+
- **Accept**: application/json
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
## find_events
|
|
248
|
+
|
|
249
|
+
> <FindEvents200Response> find_events(opts)
|
|
250
|
+
|
|
251
|
+
GET a collection of events.
|
|
252
|
+
|
|
253
|
+
Retrieve a collection of events with event details.
|
|
254
|
+
|
|
255
|
+
### Examples
|
|
256
|
+
|
|
257
|
+
```ruby
|
|
258
|
+
require 'time'
|
|
259
|
+
require 'constant_contact_client'
|
|
260
|
+
# setup authorization
|
|
261
|
+
ConstantContactClient.configure do |config|
|
|
262
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
263
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
264
|
+
|
|
265
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
266
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
270
|
+
opts = {
|
|
271
|
+
event_status: 'DRAFT', # String | Use to return only events that meet the specified status. Acceptable values include `ACTIVE`,`DRAFT`, `COMPLETE`, `DELETED`,`CANCELLED`, and `ERROR`.
|
|
272
|
+
search_text: 'reunion', # String | Use to return only events that include the specified text.
|
|
273
|
+
sort_by: 'created_time', # String | Use to sort resulting events by one of the following properties: `name`, `start_time`, `end_time`, `created_time`, or `updated_time`.
|
|
274
|
+
sort_order: 'DESC', # String | Sort order for the `sort_by parameter`. Accepted values include `ASC` (ascending) or `DESC` (descending). Defaults to `ASC` if `sort_by` is provided.
|
|
275
|
+
limit: '5', # String | Limit the number of results to return per page. Default and maximum is `100`.
|
|
276
|
+
prev: '7zDEe3DhD5gUiwRFsvWKKZlZO1j6-YihH2hyVWD8GaW7JnzXbHFP8Tou212KoU20mOjvM6pdWwycDWC3X-Hb_xY-RK1eBwYp_pc4X2CvLxo.', # String | Cursor for retrieving the previous page of results. This value is obtained from the `prev_cursor` field in a previous response.
|
|
277
|
+
_next: '7zDEe3DhD5gUiwRFsvWKKZlZO1j6-YihH2hyVWD8GaW7JnzXbHFP8Tou212KoU20mOjvM6pdWwycDWC3X-Hb_xY-RK1eBwYp_pc4X2CvLxo' # String | Cursor for retrieving the next page of results. This value is obtained from the `next_cursor` field in a previous response.
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
begin
|
|
281
|
+
# GET a collection of events.
|
|
282
|
+
result = api_instance.find_events(opts)
|
|
283
|
+
p result
|
|
284
|
+
rescue ConstantContactClient::ApiError => e
|
|
285
|
+
puts "Error when calling EventsApi->find_events: #{e}"
|
|
286
|
+
end
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
#### Using the find_events_with_http_info variant
|
|
290
|
+
|
|
291
|
+
This returns an Array which contains the response data, status code and headers.
|
|
292
|
+
|
|
293
|
+
> <Array(<FindEvents200Response>, Integer, Hash)> find_events_with_http_info(opts)
|
|
294
|
+
|
|
295
|
+
```ruby
|
|
296
|
+
begin
|
|
297
|
+
# GET a collection of events.
|
|
298
|
+
data, status_code, headers = api_instance.find_events_with_http_info(opts)
|
|
299
|
+
p status_code # => 2xx
|
|
300
|
+
p headers # => { ... }
|
|
301
|
+
p data # => <FindEvents200Response>
|
|
302
|
+
rescue ConstantContactClient::ApiError => e
|
|
303
|
+
puts "Error when calling EventsApi->find_events_with_http_info: #{e}"
|
|
304
|
+
end
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Parameters
|
|
308
|
+
|
|
309
|
+
| Name | Type | Description | Notes |
|
|
310
|
+
| ---- | ---- | ----------- | ----- |
|
|
311
|
+
| **event_status** | **String** | Use to return only events that meet the specified status. Acceptable values include `ACTIVE`,`DRAFT`, `COMPLETE`, `DELETED`,`CANCELLED`, and `ERROR`. | [optional] |
|
|
312
|
+
| **search_text** | **String** | Use to return only events that include the specified text. | [optional] |
|
|
313
|
+
| **sort_by** | **String** | Use to sort resulting events by one of the following properties: `name`, `start_time`, `end_time`, `created_time`, or `updated_time`. | [optional] |
|
|
314
|
+
| **sort_order** | **String** | Sort order for the `sort_by parameter`. Accepted values include `ASC` (ascending) or `DESC` (descending). Defaults to `ASC` if `sort_by` is provided. | [optional] |
|
|
315
|
+
| **limit** | **String** | Limit the number of results to return per page. Default and maximum is `100`. | [optional] |
|
|
316
|
+
| **prev** | **String** | Cursor for retrieving the previous page of results. This value is obtained from the `prev_cursor` field in a previous response. | [optional] |
|
|
317
|
+
| **_next** | **String** | Cursor for retrieving the next page of results. This value is obtained from the `next_cursor` field in a previous response. | [optional] |
|
|
318
|
+
|
|
319
|
+
### Return type
|
|
320
|
+
|
|
321
|
+
[**FindEvents200Response**](FindEvents200Response.md)
|
|
322
|
+
|
|
323
|
+
### Authorization
|
|
324
|
+
|
|
325
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
326
|
+
|
|
327
|
+
### HTTP request headers
|
|
328
|
+
|
|
329
|
+
- **Content-Type**: Not defined
|
|
330
|
+
- **Accept**: application/json
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
## find_registrations_using_get
|
|
334
|
+
|
|
335
|
+
> <FindRegistrationsUsingGET200Response> find_registrations_using_get(event_id, track_id, opts)
|
|
336
|
+
|
|
337
|
+
Get a list of registrations for an event.
|
|
338
|
+
|
|
339
|
+
Use the `event_id` and `track_id` path parameters to get a list of registrations for an event. Use optional query parameters to limit the number of results returned per page, the sort order, or to filter results by specific criteria; such as registration `status`.
|
|
340
|
+
|
|
341
|
+
### Examples
|
|
342
|
+
|
|
343
|
+
```ruby
|
|
344
|
+
require 'time'
|
|
345
|
+
require 'constant_contact_client'
|
|
346
|
+
# setup authorization
|
|
347
|
+
ConstantContactClient.configure do |config|
|
|
348
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
349
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
350
|
+
|
|
351
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
352
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
356
|
+
event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event.
|
|
357
|
+
track_id = 's8zabc' # String | The track ID that uniquely identifies the event track.
|
|
358
|
+
opts = {
|
|
359
|
+
registration_status: 'PENDING', # String | Filter registration results by status.
|
|
360
|
+
payment_status: 'PENDING', # String | Filter registration results by payment status.
|
|
361
|
+
search_text: 'john.doe@example.com', # String | Filter registration results by first name, last name, or email address.
|
|
362
|
+
sort_by: 'first_name', # String | Specify the field to use to sort the results.
|
|
363
|
+
sort_order: 'ASC', # String | Use to specify how you want the results sorted.
|
|
364
|
+
page_size: '50', # String | Alternative to the <code>limit</code> parameter to limit the number of results returned per page. If specifying both the <code>limit</code> and <code>page_size</code> query parameters, they must be the same value.
|
|
365
|
+
limit: '50', # String | Limit the number of results returned per page. If specifying both the <code>limit</code> and <code>page_size</code> query parameters, they must be the same value.
|
|
366
|
+
prev: 'bSzsyWkkq95R44vIFEpY62gr8_xSeRXsEQkhnhltPgiT', # String | Cursor for pagination used to get the previous page of results (mutually exclusive with <code>next</code>).
|
|
367
|
+
_next: 'cTk9xLmmr06S55wJGfQ73hs9_yTfSYtFRlimimQhjUj' # String | Cursor for pagination used to get the next page of results (mutually exclusive with <code>prev</code>).
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
begin
|
|
371
|
+
# Get a list of registrations for an event.
|
|
372
|
+
result = api_instance.find_registrations_using_get(event_id, track_id, opts)
|
|
373
|
+
p result
|
|
374
|
+
rescue ConstantContactClient::ApiError => e
|
|
375
|
+
puts "Error when calling EventsApi->find_registrations_using_get: #{e}"
|
|
376
|
+
end
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
#### Using the find_registrations_using_get_with_http_info variant
|
|
380
|
+
|
|
381
|
+
This returns an Array which contains the response data, status code and headers.
|
|
382
|
+
|
|
383
|
+
> <Array(<FindRegistrationsUsingGET200Response>, Integer, Hash)> find_registrations_using_get_with_http_info(event_id, track_id, opts)
|
|
384
|
+
|
|
385
|
+
```ruby
|
|
386
|
+
begin
|
|
387
|
+
# Get a list of registrations for an event.
|
|
388
|
+
data, status_code, headers = api_instance.find_registrations_using_get_with_http_info(event_id, track_id, opts)
|
|
389
|
+
p status_code # => 2xx
|
|
390
|
+
p headers # => { ... }
|
|
391
|
+
p data # => <FindRegistrationsUsingGET200Response>
|
|
392
|
+
rescue ConstantContactClient::ApiError => e
|
|
393
|
+
puts "Error when calling EventsApi->find_registrations_using_get_with_http_info: #{e}"
|
|
394
|
+
end
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
### Parameters
|
|
398
|
+
|
|
399
|
+
| Name | Type | Description | Notes |
|
|
400
|
+
| ---- | ---- | ----------- | ----- |
|
|
401
|
+
| **event_id** | **String** | The ID that uniquely identifies the event. | |
|
|
402
|
+
| **track_id** | **String** | The track ID that uniquely identifies the event track. | |
|
|
403
|
+
| **registration_status** | **String** | Filter registration results by status. | [optional] |
|
|
404
|
+
| **payment_status** | **String** | Filter registration results by payment status. | [optional] |
|
|
405
|
+
| **search_text** | **String** | Filter registration results by first name, last name, or email address. | [optional] |
|
|
406
|
+
| **sort_by** | **String** | Specify the field to use to sort the results. | [optional] |
|
|
407
|
+
| **sort_order** | **String** | Use to specify how you want the results sorted. | [optional] |
|
|
408
|
+
| **page_size** | **String** | Alternative to the <code>limit</code> parameter to limit the number of results returned per page. If specifying both the <code>limit</code> and <code>page_size</code> query parameters, they must be the same value. | [optional] |
|
|
409
|
+
| **limit** | **String** | Limit the number of results returned per page. If specifying both the <code>limit</code> and <code>page_size</code> query parameters, they must be the same value. | [optional] |
|
|
410
|
+
| **prev** | **String** | Cursor for pagination used to get the previous page of results (mutually exclusive with <code>next</code>). | [optional] |
|
|
411
|
+
| **_next** | **String** | Cursor for pagination used to get the next page of results (mutually exclusive with <code>prev</code>). | [optional] |
|
|
412
|
+
|
|
413
|
+
### Return type
|
|
414
|
+
|
|
415
|
+
[**FindRegistrationsUsingGET200Response**](FindRegistrationsUsingGET200Response.md)
|
|
416
|
+
|
|
417
|
+
### Authorization
|
|
418
|
+
|
|
419
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
420
|
+
|
|
421
|
+
### HTTP request headers
|
|
422
|
+
|
|
423
|
+
- **Content-Type**: Not defined
|
|
424
|
+
- **Accept**: application/json
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
## get_event2
|
|
428
|
+
|
|
429
|
+
> <CreateEvent201Response> get_event2(event_id, opts)
|
|
430
|
+
|
|
431
|
+
GET details for a single event.
|
|
432
|
+
|
|
433
|
+
Specify the `event_id` path parameter to retrieve the event's details.
|
|
434
|
+
|
|
435
|
+
### Examples
|
|
436
|
+
|
|
437
|
+
```ruby
|
|
438
|
+
require 'time'
|
|
439
|
+
require 'constant_contact_client'
|
|
440
|
+
# setup authorization
|
|
441
|
+
ConstantContactClient.configure do |config|
|
|
442
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
443
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
444
|
+
|
|
445
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
446
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
450
|
+
event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event.
|
|
451
|
+
opts = {
|
|
452
|
+
include: true # Boolean | Use to include (`true`) or exclude (`false`) event setting properties in the results.
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
begin
|
|
456
|
+
# GET details for a single event.
|
|
457
|
+
result = api_instance.get_event2(event_id, opts)
|
|
458
|
+
p result
|
|
459
|
+
rescue ConstantContactClient::ApiError => e
|
|
460
|
+
puts "Error when calling EventsApi->get_event2: #{e}"
|
|
461
|
+
end
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
#### Using the get_event2_with_http_info variant
|
|
465
|
+
|
|
466
|
+
This returns an Array which contains the response data, status code and headers.
|
|
467
|
+
|
|
468
|
+
> <Array(<CreateEvent201Response>, Integer, Hash)> get_event2_with_http_info(event_id, opts)
|
|
469
|
+
|
|
470
|
+
```ruby
|
|
471
|
+
begin
|
|
472
|
+
# GET details for a single event.
|
|
473
|
+
data, status_code, headers = api_instance.get_event2_with_http_info(event_id, opts)
|
|
474
|
+
p status_code # => 2xx
|
|
475
|
+
p headers # => { ... }
|
|
476
|
+
p data # => <CreateEvent201Response>
|
|
477
|
+
rescue ConstantContactClient::ApiError => e
|
|
478
|
+
puts "Error when calling EventsApi->get_event2_with_http_info: #{e}"
|
|
479
|
+
end
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
### Parameters
|
|
483
|
+
|
|
484
|
+
| Name | Type | Description | Notes |
|
|
485
|
+
| ---- | ---- | ----------- | ----- |
|
|
486
|
+
| **event_id** | **String** | The ID that uniquely identifies the event. | |
|
|
487
|
+
| **include** | **Boolean** | Use to include (`true`) or exclude (`false`) event setting properties in the results. | [optional] |
|
|
488
|
+
|
|
489
|
+
### Return type
|
|
490
|
+
|
|
491
|
+
[**CreateEvent201Response**](CreateEvent201Response.md)
|
|
492
|
+
|
|
493
|
+
### Authorization
|
|
494
|
+
|
|
495
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
496
|
+
|
|
497
|
+
### HTTP request headers
|
|
498
|
+
|
|
499
|
+
- **Content-Type**: Not defined
|
|
500
|
+
- **Accept**: application/json
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
## get_registration_info
|
|
504
|
+
|
|
505
|
+
> <GetRegistrationInfo200Response> get_registration_info(event_id, track_id, registration_id)
|
|
506
|
+
|
|
507
|
+
Get registration details for an event.
|
|
508
|
+
|
|
509
|
+
Use the `event_id`, `registration_id`, and `track_id` path parameters to get registration details.
|
|
510
|
+
|
|
511
|
+
### Examples
|
|
512
|
+
|
|
513
|
+
```ruby
|
|
514
|
+
require 'time'
|
|
515
|
+
require 'constant_contact_client'
|
|
516
|
+
# setup authorization
|
|
517
|
+
ConstantContactClient.configure do |config|
|
|
518
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
519
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
520
|
+
|
|
521
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
522
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
526
|
+
event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event.
|
|
527
|
+
track_id = 's8zabc' # String | The track key that uniquely identifies the event track.
|
|
528
|
+
registration_id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' # String | The ID that uniquely identifies the registration.
|
|
529
|
+
|
|
530
|
+
begin
|
|
531
|
+
# Get registration details for an event.
|
|
532
|
+
result = api_instance.get_registration_info(event_id, track_id, registration_id)
|
|
533
|
+
p result
|
|
534
|
+
rescue ConstantContactClient::ApiError => e
|
|
535
|
+
puts "Error when calling EventsApi->get_registration_info: #{e}"
|
|
536
|
+
end
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
#### Using the get_registration_info_with_http_info variant
|
|
540
|
+
|
|
541
|
+
This returns an Array which contains the response data, status code and headers.
|
|
542
|
+
|
|
543
|
+
> <Array(<GetRegistrationInfo200Response>, Integer, Hash)> get_registration_info_with_http_info(event_id, track_id, registration_id)
|
|
544
|
+
|
|
545
|
+
```ruby
|
|
546
|
+
begin
|
|
547
|
+
# Get registration details for an event.
|
|
548
|
+
data, status_code, headers = api_instance.get_registration_info_with_http_info(event_id, track_id, registration_id)
|
|
549
|
+
p status_code # => 2xx
|
|
550
|
+
p headers # => { ... }
|
|
551
|
+
p data # => <GetRegistrationInfo200Response>
|
|
552
|
+
rescue ConstantContactClient::ApiError => e
|
|
553
|
+
puts "Error when calling EventsApi->get_registration_info_with_http_info: #{e}"
|
|
554
|
+
end
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
### Parameters
|
|
558
|
+
|
|
559
|
+
| Name | Type | Description | Notes |
|
|
560
|
+
| ---- | ---- | ----------- | ----- |
|
|
561
|
+
| **event_id** | **String** | The ID that uniquely identifies the event. | |
|
|
562
|
+
| **track_id** | **String** | The track key that uniquely identifies the event track. | |
|
|
563
|
+
| **registration_id** | **String** | The ID that uniquely identifies the registration. | |
|
|
564
|
+
|
|
565
|
+
### Return type
|
|
566
|
+
|
|
567
|
+
[**GetRegistrationInfo200Response**](GetRegistrationInfo200Response.md)
|
|
568
|
+
|
|
569
|
+
### Authorization
|
|
570
|
+
|
|
571
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
572
|
+
|
|
573
|
+
### HTTP request headers
|
|
574
|
+
|
|
575
|
+
- **Content-Type**: Not defined
|
|
576
|
+
- **Accept**: application/json
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
## undo_check_in_tickets
|
|
580
|
+
|
|
581
|
+
> undo_check_in_tickets(event_id, check_in_tickets_request)
|
|
582
|
+
|
|
583
|
+
Undo event ticket check-in.
|
|
584
|
+
|
|
585
|
+
Use this endpoint to undo check-in for one or more tickets, marking them as not checked in. The event must be in `ACTIVE` or `COMPLETE` status.
|
|
586
|
+
|
|
587
|
+
### Examples
|
|
588
|
+
|
|
589
|
+
```ruby
|
|
590
|
+
require 'time'
|
|
591
|
+
require 'constant_contact_client'
|
|
592
|
+
# setup authorization
|
|
593
|
+
ConstantContactClient.configure do |config|
|
|
594
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
595
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
596
|
+
|
|
597
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
598
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
602
|
+
event_id = '07216444-4e3b-41ea-a3b8-5a418fce41f4' # String | The ID that uniquely identifies the event.
|
|
603
|
+
check_in_tickets_request = ConstantContactClient::CheckInTicketsRequest.new({order_ticket_keys: ["a1b2c3", "d4e5f6"]}) # CheckInTicketsRequest | Set of order ticket keys to mark as not checked in.
|
|
604
|
+
|
|
605
|
+
begin
|
|
606
|
+
# Undo event ticket check-in.
|
|
607
|
+
api_instance.undo_check_in_tickets(event_id, check_in_tickets_request)
|
|
608
|
+
rescue ConstantContactClient::ApiError => e
|
|
609
|
+
puts "Error when calling EventsApi->undo_check_in_tickets: #{e}"
|
|
610
|
+
end
|
|
611
|
+
```
|
|
612
|
+
|
|
613
|
+
#### Using the undo_check_in_tickets_with_http_info variant
|
|
614
|
+
|
|
615
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
616
|
+
|
|
617
|
+
> <Array(nil, Integer, Hash)> undo_check_in_tickets_with_http_info(event_id, check_in_tickets_request)
|
|
618
|
+
|
|
619
|
+
```ruby
|
|
620
|
+
begin
|
|
621
|
+
# Undo event ticket check-in.
|
|
622
|
+
data, status_code, headers = api_instance.undo_check_in_tickets_with_http_info(event_id, check_in_tickets_request)
|
|
623
|
+
p status_code # => 2xx
|
|
624
|
+
p headers # => { ... }
|
|
625
|
+
p data # => nil
|
|
626
|
+
rescue ConstantContactClient::ApiError => e
|
|
627
|
+
puts "Error when calling EventsApi->undo_check_in_tickets_with_http_info: #{e}"
|
|
628
|
+
end
|
|
629
|
+
```
|
|
630
|
+
|
|
631
|
+
### Parameters
|
|
632
|
+
|
|
633
|
+
| Name | Type | Description | Notes |
|
|
634
|
+
| ---- | ---- | ----------- | ----- |
|
|
635
|
+
| **event_id** | **String** | The ID that uniquely identifies the event. | |
|
|
636
|
+
| **check_in_tickets_request** | [**CheckInTicketsRequest**](CheckInTicketsRequest.md) | Set of order ticket keys to mark as not checked in. | |
|
|
637
|
+
|
|
638
|
+
### Return type
|
|
639
|
+
|
|
640
|
+
nil (empty response body)
|
|
641
|
+
|
|
642
|
+
### Authorization
|
|
643
|
+
|
|
644
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
645
|
+
|
|
646
|
+
### HTTP request headers
|
|
647
|
+
|
|
648
|
+
- **Content-Type**: application/json
|
|
649
|
+
- **Accept**: Not defined
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
## update_event
|
|
653
|
+
|
|
654
|
+
> update_event(event_id, create_event201_response)
|
|
655
|
+
|
|
656
|
+
PATCH (update) an event.
|
|
657
|
+
|
|
658
|
+
Partially updates an event with the provided fields. Only the specified fields will be updated. This endpoint only works for events in DRAFT or ACTIVE status. Events in COMPLETE, CANCELED, or DELETED status cannot be updated.
|
|
659
|
+
|
|
660
|
+
### Examples
|
|
661
|
+
|
|
662
|
+
```ruby
|
|
663
|
+
require 'time'
|
|
664
|
+
require 'constant_contact_client'
|
|
665
|
+
# setup authorization
|
|
666
|
+
ConstantContactClient.configure do |config|
|
|
667
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
668
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
669
|
+
|
|
670
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
671
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
675
|
+
event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event to update.
|
|
676
|
+
create_event201_response = ConstantContactClient::CreateEvent201Response.new({description: 'It's time for the High-Class Reunion. A night of reminiscing, networking, and celebrating shared success amongst old friends.', title: 'Riverdale High - Class of 2015 Reunion', name: 'Class of 2015 Reunion', campaign_id: '05cf4d60-56ea-4023-bf49-b35e56a9c7b5', event_start: '2023-12-01T20:30:00Z', event_end: '2023-12-01T21:30:00Z', event_type: 'PERFORMING_ARTS', default_track: ConstantContactClient::TrackDto1.new({campaign_activity_id: '31bb0c22-1c72-4841-9d2c-8bd41ed526bc'}), location_type: 'PHYSICAL', time_zone: 'US/Eastern'}) # CreateEvent201Response | A JSON request body containing the event fields to update.
|
|
677
|
+
|
|
678
|
+
begin
|
|
679
|
+
# PATCH (update) an event.
|
|
680
|
+
api_instance.update_event(event_id, create_event201_response)
|
|
681
|
+
rescue ConstantContactClient::ApiError => e
|
|
682
|
+
puts "Error when calling EventsApi->update_event: #{e}"
|
|
683
|
+
end
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
#### Using the update_event_with_http_info variant
|
|
687
|
+
|
|
688
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
689
|
+
|
|
690
|
+
> <Array(nil, Integer, Hash)> update_event_with_http_info(event_id, create_event201_response)
|
|
691
|
+
|
|
692
|
+
```ruby
|
|
693
|
+
begin
|
|
694
|
+
# PATCH (update) an event.
|
|
695
|
+
data, status_code, headers = api_instance.update_event_with_http_info(event_id, create_event201_response)
|
|
696
|
+
p status_code # => 2xx
|
|
697
|
+
p headers # => { ... }
|
|
698
|
+
p data # => nil
|
|
699
|
+
rescue ConstantContactClient::ApiError => e
|
|
700
|
+
puts "Error when calling EventsApi->update_event_with_http_info: #{e}"
|
|
701
|
+
end
|
|
702
|
+
```
|
|
703
|
+
|
|
704
|
+
### Parameters
|
|
705
|
+
|
|
706
|
+
| Name | Type | Description | Notes |
|
|
707
|
+
| ---- | ---- | ----------- | ----- |
|
|
708
|
+
| **event_id** | **String** | The ID that uniquely identifies the event to update. | |
|
|
709
|
+
| **create_event201_response** | [**CreateEvent201Response**](CreateEvent201Response.md) | A JSON request body containing the event fields to update. | |
|
|
710
|
+
|
|
711
|
+
### Return type
|
|
712
|
+
|
|
713
|
+
nil (empty response body)
|
|
714
|
+
|
|
715
|
+
### Authorization
|
|
716
|
+
|
|
717
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
718
|
+
|
|
719
|
+
### HTTP request headers
|
|
720
|
+
|
|
721
|
+
- **Content-Type**: application/json
|
|
722
|
+
- **Accept**: Not defined
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
## update_registration_payment_status_using_put
|
|
726
|
+
|
|
727
|
+
> update_registration_payment_status_using_put(event_id, track_id, update_registration_payment_status_using_put_request)
|
|
728
|
+
|
|
729
|
+
Update payment status for event registrations.
|
|
730
|
+
|
|
731
|
+
Use this endpoint to update the payment status for one or more registrations. This endpoint only processes registrations with a payment method (PAYPAL, WEPAY, STRIPE, DOOR, or CHECK). Free registrations without a payment method are silently excluded.
|
|
732
|
+
|
|
733
|
+
### Examples
|
|
734
|
+
|
|
735
|
+
```ruby
|
|
736
|
+
require 'time'
|
|
737
|
+
require 'constant_contact_client'
|
|
738
|
+
# setup authorization
|
|
739
|
+
ConstantContactClient.configure do |config|
|
|
740
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
741
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
742
|
+
|
|
743
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
744
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
748
|
+
event_id = 'c5da3665-88f9-4b15-82bc-cd6593c32537' # String | The ID that uniquely identifies the event.
|
|
749
|
+
track_id = '2unzqq' # String | The track key that uniquely identifies the event track.
|
|
750
|
+
update_registration_payment_status_using_put_request = ConstantContactClient::UpdateRegistrationPaymentStatusUsingPUTRequest.new({registration_ids: ["4460bdcd-1a8a-434a-a7bf-c72a500743b2", "2ed7e310-ab71-4e8f-8863-8784e7ee4183"], payment_status: 'Paid'}) # UpdateRegistrationPaymentStatusUsingPUTRequest | Payment status update request data.
|
|
751
|
+
|
|
752
|
+
begin
|
|
753
|
+
# Update payment status for event registrations.
|
|
754
|
+
api_instance.update_registration_payment_status_using_put(event_id, track_id, update_registration_payment_status_using_put_request)
|
|
755
|
+
rescue ConstantContactClient::ApiError => e
|
|
756
|
+
puts "Error when calling EventsApi->update_registration_payment_status_using_put: #{e}"
|
|
757
|
+
end
|
|
758
|
+
```
|
|
759
|
+
|
|
760
|
+
#### Using the update_registration_payment_status_using_put_with_http_info variant
|
|
761
|
+
|
|
762
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
763
|
+
|
|
764
|
+
> <Array(nil, Integer, Hash)> update_registration_payment_status_using_put_with_http_info(event_id, track_id, update_registration_payment_status_using_put_request)
|
|
765
|
+
|
|
766
|
+
```ruby
|
|
767
|
+
begin
|
|
768
|
+
# Update payment status for event registrations.
|
|
769
|
+
data, status_code, headers = api_instance.update_registration_payment_status_using_put_with_http_info(event_id, track_id, update_registration_payment_status_using_put_request)
|
|
770
|
+
p status_code # => 2xx
|
|
771
|
+
p headers # => { ... }
|
|
772
|
+
p data # => nil
|
|
773
|
+
rescue ConstantContactClient::ApiError => e
|
|
774
|
+
puts "Error when calling EventsApi->update_registration_payment_status_using_put_with_http_info: #{e}"
|
|
775
|
+
end
|
|
776
|
+
```
|
|
777
|
+
|
|
778
|
+
### Parameters
|
|
779
|
+
|
|
780
|
+
| Name | Type | Description | Notes |
|
|
781
|
+
| ---- | ---- | ----------- | ----- |
|
|
782
|
+
| **event_id** | **String** | The ID that uniquely identifies the event. | |
|
|
783
|
+
| **track_id** | **String** | The track key that uniquely identifies the event track. | |
|
|
784
|
+
| **update_registration_payment_status_using_put_request** | [**UpdateRegistrationPaymentStatusUsingPUTRequest**](UpdateRegistrationPaymentStatusUsingPUTRequest.md) | Payment status update request data. | |
|
|
785
|
+
|
|
786
|
+
### Return type
|
|
787
|
+
|
|
788
|
+
nil (empty response body)
|
|
789
|
+
|
|
790
|
+
### Authorization
|
|
791
|
+
|
|
792
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
793
|
+
|
|
794
|
+
### HTTP request headers
|
|
795
|
+
|
|
796
|
+
- **Content-Type**: application/json
|
|
797
|
+
- **Accept**: application/json
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
## update_registration_status_using_put
|
|
801
|
+
|
|
802
|
+
> update_registration_status_using_put(event_id, track_id, update_registration_status_using_put_request, opts)
|
|
803
|
+
|
|
804
|
+
Update status for event registrations.
|
|
805
|
+
|
|
806
|
+
Use this endpoint to update the registration status for one or more registrations within an event track.
|
|
807
|
+
|
|
808
|
+
### Examples
|
|
809
|
+
|
|
810
|
+
```ruby
|
|
811
|
+
require 'time'
|
|
812
|
+
require 'constant_contact_client'
|
|
813
|
+
# setup authorization
|
|
814
|
+
ConstantContactClient.configure do |config|
|
|
815
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
|
816
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
817
|
+
|
|
818
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
|
819
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
820
|
+
end
|
|
821
|
+
|
|
822
|
+
api_instance = ConstantContactClient::EventsApi.new
|
|
823
|
+
event_id = '07216444-4e3b-41ea-a3b8-5a418fce41f4' # String | The ID that uniquely identifies the event.
|
|
824
|
+
track_id = 'gqz1gb' # String | The track key that uniquely identifies the event track.
|
|
825
|
+
update_registration_status_using_put_request = ConstantContactClient::UpdateRegistrationStatusUsingPUTRequest.new({registration_ids: ["0c6a6ce8-e620-4ffc-92e6-6ffb689eb9d2", "15cdb4d3-86b9-4b9d-9431-4a5a0de53c4f"], registration_status: 'CANCELED'}) # UpdateRegistrationStatusUsingPUTRequest | Registration status update request data.
|
|
826
|
+
opts = {
|
|
827
|
+
increase_count: true, # Boolean | Override count flag.
|
|
828
|
+
increase_item_count: true, # Boolean | Override item count flag.
|
|
829
|
+
return_items_to_inventory: true # Boolean | Return items to inventory flag. Defaults to `true`.
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
begin
|
|
833
|
+
# Update status for event registrations.
|
|
834
|
+
api_instance.update_registration_status_using_put(event_id, track_id, update_registration_status_using_put_request, opts)
|
|
835
|
+
rescue ConstantContactClient::ApiError => e
|
|
836
|
+
puts "Error when calling EventsApi->update_registration_status_using_put: #{e}"
|
|
837
|
+
end
|
|
838
|
+
```
|
|
839
|
+
|
|
840
|
+
#### Using the update_registration_status_using_put_with_http_info variant
|
|
841
|
+
|
|
842
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
843
|
+
|
|
844
|
+
> <Array(nil, Integer, Hash)> update_registration_status_using_put_with_http_info(event_id, track_id, update_registration_status_using_put_request, opts)
|
|
845
|
+
|
|
846
|
+
```ruby
|
|
847
|
+
begin
|
|
848
|
+
# Update status for event registrations.
|
|
849
|
+
data, status_code, headers = api_instance.update_registration_status_using_put_with_http_info(event_id, track_id, update_registration_status_using_put_request, opts)
|
|
850
|
+
p status_code # => 2xx
|
|
851
|
+
p headers # => { ... }
|
|
852
|
+
p data # => nil
|
|
853
|
+
rescue ConstantContactClient::ApiError => e
|
|
854
|
+
puts "Error when calling EventsApi->update_registration_status_using_put_with_http_info: #{e}"
|
|
855
|
+
end
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
### Parameters
|
|
859
|
+
|
|
860
|
+
| Name | Type | Description | Notes |
|
|
861
|
+
| ---- | ---- | ----------- | ----- |
|
|
862
|
+
| **event_id** | **String** | The ID that uniquely identifies the event. | |
|
|
863
|
+
| **track_id** | **String** | The track key that uniquely identifies the event track. | |
|
|
864
|
+
| **update_registration_status_using_put_request** | [**UpdateRegistrationStatusUsingPUTRequest**](UpdateRegistrationStatusUsingPUTRequest.md) | Registration status update request data. | |
|
|
865
|
+
| **increase_count** | **Boolean** | Override count flag. | [optional] |
|
|
866
|
+
| **increase_item_count** | **Boolean** | Override item count flag. | [optional] |
|
|
867
|
+
| **return_items_to_inventory** | **Boolean** | Return items to inventory flag. Defaults to `true`. | [optional] |
|
|
868
|
+
|
|
869
|
+
### Return type
|
|
870
|
+
|
|
871
|
+
nil (empty response body)
|
|
872
|
+
|
|
873
|
+
### Authorization
|
|
874
|
+
|
|
875
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
|
876
|
+
|
|
877
|
+
### HTTP request headers
|
|
878
|
+
|
|
879
|
+
- **Content-Type**: application/json
|
|
880
|
+
- **Accept**: application/json
|
|
881
|
+
|