constant_contact_client 1.0.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 +7 -0
- data/CHANGELOG.md +56 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +72 -0
- data/LICENSE +29 -0
- data/README.md +201 -0
- data/Rakefile +10 -0
- data/constant_contact_client.gemspec +39 -0
- data/docs/AccountServicesApi.md +593 -0
- data/docs/BulkActivitiesApi.md +1035 -0
- data/docs/ContactListsApi.md +461 -0
- data/docs/ContactTagsApi.md +382 -0
- data/docs/ContactsApi.md +701 -0
- data/docs/ContactsCustomFieldsApi.md +375 -0
- data/docs/ContactsReportingApi.md +244 -0
- data/docs/EmailCampaignsABTestsApi.md +227 -0
- data/docs/EmailCampaignsApi.md +826 -0
- data/docs/EmailReportingApi.md +925 -0
- data/docs/EmailSchedulingApi.md +447 -0
- data/docs/LandingPagesReportingApi.md +481 -0
- data/docs/SegmentsApi.md +452 -0
- data/lib/constant_contact_client/api/account_services_api.rb +546 -0
- data/lib/constant_contact_client/api/bulk_activities_api.rb +983 -0
- data/lib/constant_contact_client/api/contact_lists_api.rb +449 -0
- data/lib/constant_contact_client/api/contact_tags_api.rb +356 -0
- data/lib/constant_contact_client/api/contacts_api.rb +676 -0
- data/lib/constant_contact_client/api/contacts_custom_fields_api.rb +356 -0
- data/lib/constant_contact_client/api/contacts_reporting_api.rb +255 -0
- data/lib/constant_contact_client/api/email_campaigns_ab_tests_api.rb +220 -0
- data/lib/constant_contact_client/api/email_campaigns_api.rb +766 -0
- data/lib/constant_contact_client/api/email_reporting_api.rb +812 -0
- data/lib/constant_contact_client/api/email_scheduling_api.rb +418 -0
- data/lib/constant_contact_client/api/landing_pages_reporting_api.rb +436 -0
- data/lib/constant_contact_client/api/segments_api.rb +425 -0
- data/lib/constant_contact_client/api_client.rb +394 -0
- data/lib/constant_contact_client/api_error.rb +58 -0
- data/lib/constant_contact_client/configuration.rb +305 -0
- data/lib/constant_contact_client/models/ab_test_data.rb +256 -0
- data/lib/constant_contact_client/models/access_token_response.rb +265 -0
- data/lib/constant_contact_client/models/account_cancellation.rb +226 -0
- data/lib/constant_contact_client/models/account_email_create_response.rb +273 -0
- data/lib/constant_contact_client/models/account_email_input.rb +234 -0
- data/lib/constant_contact_client/models/account_physical_address.rb +409 -0
- data/lib/constant_contact_client/models/account_suspension.rb +289 -0
- data/lib/constant_contact_client/models/activities.rb +226 -0
- data/lib/constant_contact_client/models/activity.rb +316 -0
- data/lib/constant_contact_client/models/activity_delete_custom_fields.rb +297 -0
- data/lib/constant_contact_client/models/activity_delete_list_response.rb +276 -0
- data/lib/constant_contact_client/models/activity_delete_lists_response.rb +305 -0
- data/lib/constant_contact_client/models/activity_delete_status.rb +306 -0
- data/lib/constant_contact_client/models/activity_errors.rb +215 -0
- data/lib/constant_contact_client/models/activity_export_status.rb +306 -0
- data/lib/constant_contact_client/models/activity_generic.rb +299 -0
- data/lib/constant_contact_client/models/activity_generic_status.rb +225 -0
- data/lib/constant_contact_client/models/activity_import.rb +316 -0
- data/lib/constant_contact_client/models/activity_links.rb +223 -0
- data/lib/constant_contact_client/models/activity_lists_membership.rb +305 -0
- data/lib/constant_contact_client/models/activity_reference.rb +225 -0
- data/lib/constant_contact_client/models/activity_status.rb +275 -0
- data/lib/constant_contact_client/models/activity_status_export_link.rb +223 -0
- data/lib/constant_contact_client/models/activity_status_link.rb +214 -0
- data/lib/constant_contact_client/models/activity_tagging.rb +319 -0
- data/lib/constant_contact_client/models/activity_tagging_status.rb +226 -0
- data/lib/constant_contact_client/models/add_account_email_address201_response.rb +273 -0
- data/lib/constant_contact_client/models/add_account_email_address_request.rb +234 -0
- data/lib/constant_contact_client/models/api_error_schema_inner.rb +225 -0
- data/lib/constant_contact_client/models/authorization_error_schema.rb +225 -0
- data/lib/constant_contact_client/models/bounces_tracking_activities_page.rb +240 -0
- data/lib/constant_contact_client/models/bounces_tracking_activity.rb +347 -0
- data/lib/constant_contact_client/models/bulk_email_campaign_summaries_page.rb +249 -0
- data/lib/constant_contact_client/models/bulk_email_campaign_summaries_percents.rb +255 -0
- data/lib/constant_contact_client/models/bulk_email_campaign_summary.rb +272 -0
- data/lib/constant_contact_client/models/campaign_activity_stats_query_result_email.rb +229 -0
- data/lib/constant_contact_client/models/campaign_activity_stats_result_generic_stats_email_activity.rb +244 -0
- data/lib/constant_contact_client/models/campaign_activity_summary.rb +341 -0
- data/lib/constant_contact_client/models/campaign_stats_query_result_email.rb +229 -0
- data/lib/constant_contact_client/models/campaign_stats_result_generic_stats_email_percents_email.rb +243 -0
- data/lib/constant_contact_client/models/clicks_tracking_activities_page.rb +233 -0
- data/lib/constant_contact_client/models/clicks_tracking_activity.rb +364 -0
- data/lib/constant_contact_client/models/company_logo.rb +235 -0
- data/lib/constant_contact_client/models/contact_campaign_activities_summary.rb +250 -0
- data/lib/constant_contact_client/models/contact_create_or_update_input.rb +503 -0
- data/lib/constant_contact_client/models/contact_create_or_update_response.rb +225 -0
- data/lib/constant_contact_client/models/contact_custom_field.rb +259 -0
- data/lib/constant_contact_client/models/contact_delete.rb +267 -0
- data/lib/constant_contact_client/models/contact_list.rb +301 -0
- data/lib/constant_contact_client/models/contact_list_array.rb +235 -0
- data/lib/constant_contact_client/models/contact_list_put_post.rb +291 -0
- data/lib/constant_contact_client/models/contact_open_and_click_rates.rb +274 -0
- data/lib/constant_contact_client/models/contact_post_request.rb +575 -0
- data/lib/constant_contact_client/models/contact_put_request.rb +582 -0
- data/lib/constant_contact_client/models/contact_resource.rb +635 -0
- data/lib/constant_contact_client/models/contact_tracking_activities_page.rb +227 -0
- data/lib/constant_contact_client/models/contact_tracking_activity.rb +270 -0
- data/lib/constant_contact_client/models/contact_xref.rb +226 -0
- data/lib/constant_contact_client/models/contact_xrefs.rb +236 -0
- data/lib/constant_contact_client/models/contacts.rb +246 -0
- data/lib/constant_contact_client/models/contacts_counts.rb +265 -0
- data/lib/constant_contact_client/models/contacts_export.rb +300 -0
- data/lib/constant_contact_client/models/contacts_json_import.rb +281 -0
- data/lib/constant_contact_client/models/create_contact_request.rb +575 -0
- data/lib/constant_contact_client/models/create_contact_request_email_address.rb +252 -0
- data/lib/constant_contact_client/models/create_csv_import_activity201_response.rb +316 -0
- data/lib/constant_contact_client/models/create_csv_import_activity201_response_links.rb +214 -0
- data/lib/constant_contact_client/models/create_csv_import_activity201_response_status.rb +255 -0
- data/lib/constant_contact_client/models/create_delete_activity201_response.rb +306 -0
- data/lib/constant_contact_client/models/create_delete_activity201_response_links.rb +214 -0
- data/lib/constant_contact_client/models/create_delete_activity201_response_links_self.rb +215 -0
- data/lib/constant_contact_client/models/create_delete_activity201_response_status.rb +235 -0
- data/lib/constant_contact_client/models/create_delete_activity_request.rb +267 -0
- data/lib/constant_contact_client/models/create_email_campaign200_response.rb +306 -0
- data/lib/constant_contact_client/models/create_email_campaign200_response_campaign_activities_inner.rb +225 -0
- data/lib/constant_contact_client/models/create_email_campaign_request.rb +260 -0
- data/lib/constant_contact_client/models/create_email_campaign_request_email_campaign_activities_inner.rb +402 -0
- data/lib/constant_contact_client/models/create_email_campaign_request_email_campaign_activities_inner_physical_address_in_footer.rb +347 -0
- data/lib/constant_contact_client/models/create_export_activity201_response.rb +306 -0
- data/lib/constant_contact_client/models/create_export_activity201_response_status.rb +225 -0
- data/lib/constant_contact_client/models/create_export_activity_request.rb +300 -0
- data/lib/constant_contact_client/models/create_import_json_activity_request.rb +281 -0
- data/lib/constant_contact_client/models/create_import_json_activity_request_import_data_inner.rb +1315 -0
- data/lib/constant_contact_client/models/create_list_add_activity_request.rb +268 -0
- data/lib/constant_contact_client/models/create_list_add_activity_request_exclude.rb +217 -0
- data/lib/constant_contact_client/models/create_list_add_activity_request_source.rb +331 -0
- data/lib/constant_contact_client/models/create_list_delete_activity201_response.rb +305 -0
- data/lib/constant_contact_client/models/create_list_delete_activity201_response_links.rb +214 -0
- data/lib/constant_contact_client/models/create_list_delete_activity201_response_links_self.rb +215 -0
- data/lib/constant_contact_client/models/create_list_delete_activity201_response_status.rb +215 -0
- data/lib/constant_contact_client/models/create_list_delete_activity_request.rb +243 -0
- data/lib/constant_contact_client/models/create_list_remove_activity201_response.rb +305 -0
- data/lib/constant_contact_client/models/create_list_remove_activity201_response_status.rb +235 -0
- data/lib/constant_contact_client/models/create_list_remove_activity_request.rb +268 -0
- data/lib/constant_contact_client/models/create_list_remove_activity_request_exclude.rb +217 -0
- data/lib/constant_contact_client/models/create_list_remove_activity_request_source.rb +321 -0
- data/lib/constant_contact_client/models/create_or_update_contact200_response.rb +225 -0
- data/lib/constant_contact_client/models/create_or_update_contact_custom_field.rb +244 -0
- data/lib/constant_contact_client/models/create_or_update_contact_request.rb +503 -0
- data/lib/constant_contact_client/models/create_or_update_contact_request_custom_fields_inner.rb +244 -0
- data/lib/constant_contact_client/models/create_or_update_contact_request_street_address.rb +367 -0
- data/lib/constant_contact_client/models/create_resend_email_campaign201_response.rb +255 -0
- data/lib/constant_contact_client/models/create_resend_email_campaign_request.rb +242 -0
- data/lib/constant_contact_client/models/create_segment201_response.rb +274 -0
- data/lib/constant_contact_client/models/create_segment_request.rb +258 -0
- data/lib/constant_contact_client/models/create_tag_delete_activity_request.rb +243 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response.rb +319 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links.rb +223 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links_results.rb +215 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links_self.rb +214 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity201_response_status.rb +226 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity_request.rb +268 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity_request_exclude.rb +218 -0
- data/lib/constant_contact_client/models/create_tag_remove_activity_request_source.rb +319 -0
- data/lib/constant_contact_client/models/cross_reference.rb +235 -0
- data/lib/constant_contact_client/models/cross_reference_response.rb +217 -0
- data/lib/constant_contact_client/models/custom_field_id100.rb +243 -0
- data/lib/constant_contact_client/models/custom_field_input.rb +258 -0
- data/lib/constant_contact_client/models/custom_field_resource.rb +318 -0
- data/lib/constant_contact_client/models/custom_fields.rb +245 -0
- data/lib/constant_contact_client/models/customer.rb +352 -0
- data/lib/constant_contact_client/models/customer_put.rb +334 -0
- data/lib/constant_contact_client/models/delete_list202_response.rb +276 -0
- data/lib/constant_contact_client/models/delete_tag202_response.rb +299 -0
- data/lib/constant_contact_client/models/delete_tag202_response_activity_errors_inner.rb +215 -0
- data/lib/constant_contact_client/models/delete_tag202_response_links.rb +214 -0
- data/lib/constant_contact_client/models/delete_tag202_response_links_self.rb +215 -0
- data/lib/constant_contact_client/models/delete_tag202_response_status.rb +225 -0
- data/lib/constant_contact_client/models/device_flow_response.rb +265 -0
- data/lib/constant_contact_client/models/did_not_opens_tracking_activities_page.rb +233 -0
- data/lib/constant_contact_client/models/did_not_opens_tracking_activity.rb +320 -0
- data/lib/constant_contact_client/models/email_address.rb +351 -0
- data/lib/constant_contact_client/models/email_address_post.rb +252 -0
- data/lib/constant_contact_client/models/email_address_put.rb +341 -0
- data/lib/constant_contact_client/models/email_campaign.rb +306 -0
- data/lib/constant_contact_client/models/email_campaign_activity.rb +405 -0
- data/lib/constant_contact_client/models/email_campaign_activity_input.rb +402 -0
- data/lib/constant_contact_client/models/email_campaign_activity_preview.rb +285 -0
- data/lib/constant_contact_client/models/email_campaign_complete.rb +260 -0
- data/lib/constant_contact_client/models/email_campaign_name.rb +241 -0
- data/lib/constant_contact_client/models/email_campaigns.rb +294 -0
- data/lib/constant_contact_client/models/email_link_click_count.rb +265 -0
- data/lib/constant_contact_client/models/email_links.rb +227 -0
- data/lib/constant_contact_client/models/email_physical_address.rb +346 -0
- data/lib/constant_contact_client/models/email_schedule_input.rb +222 -0
- data/lib/constant_contact_client/models/email_test_send_input.rb +253 -0
- data/lib/constant_contact_client/models/emails_link.rb +214 -0
- data/lib/constant_contact_client/models/emails_paging_links.rb +214 -0
- data/lib/constant_contact_client/models/file_object.rb +384 -0
- data/lib/constant_contact_client/models/file_status_array_inner.rb +235 -0
- data/lib/constant_contact_client/models/forwards_tracking_activities_page.rb +233 -0
- data/lib/constant_contact_client/models/forwards_tracking_activity.rb +320 -0
- data/lib/constant_contact_client/models/get_ab_test_email_campaign200_response.rb +256 -0
- data/lib/constant_contact_client/models/get_account_details200_response.rb +352 -0
- data/lib/constant_contact_client/models/get_account_details200_response_company_logo.rb +236 -0
- data/lib/constant_contact_client/models/get_account_details200_response_physical_address.rb +409 -0
- data/lib/constant_contact_client/models/get_activity_by_id200_response.rb +316 -0
- data/lib/constant_contact_client/models/get_all_account_email_addresses200_response_inner.rb +317 -0
- data/lib/constant_contact_client/models/get_all_activities200_response.rb +226 -0
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner.rb +316 -0
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links.rb +223 -0
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links_results.rb +215 -0
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links_self.rb +215 -0
- data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_status.rb +275 -0
- data/lib/constant_contact_client/models/get_all_activities200_response_links.rb +214 -0
- data/lib/constant_contact_client/models/get_all_activities200_response_links_next.rb +214 -0
- data/lib/constant_contact_client/models/get_all_contacts200_response.rb +246 -0
- data/lib/constant_contact_client/models/get_all_custom_fields200_response.rb +245 -0
- data/lib/constant_contact_client/models/get_all_email_campaigns200_response.rb +225 -0
- data/lib/constant_contact_client/models/get_all_email_campaigns200_response_campaigns_inner.rb +294 -0
- data/lib/constant_contact_client/models/get_all_email_campaigns200_response_links.rb +214 -0
- data/lib/constant_contact_client/models/get_all_lists200_response.rb +235 -0
- data/lib/constant_contact_client/models/get_all_segments200_response.rb +233 -0
- data/lib/constant_contact_client/models/get_all_segments200_response_links.rb +222 -0
- data/lib/constant_contact_client/models/get_all_segments200_response_links_next.rb +223 -0
- data/lib/constant_contact_client/models/get_all_segments200_response_segments_inner.rb +245 -0
- data/lib/constant_contact_client/models/get_all_tags200_response.rb +226 -0
- data/lib/constant_contact_client/models/get_all_tags200_response_links.rb +215 -0
- data/lib/constant_contact_client/models/get_all_tags200_response_links_next.rb +224 -0
- data/lib/constant_contact_client/models/get_all_tags200_response_links_next_next.rb +223 -0
- data/lib/constant_contact_client/models/get_bounces_report200_response.rb +240 -0
- data/lib/constant_contact_client/models/get_bounces_report200_response_links.rb +222 -0
- data/lib/constant_contact_client/models/get_bounces_report200_response_tracking_activities_inner.rb +347 -0
- data/lib/constant_contact_client/models/get_campaign_activity_link_report200_response.rb +227 -0
- data/lib/constant_contact_client/models/get_campaign_activity_link_report200_response_link_click_counts_inner.rb +265 -0
- data/lib/constant_contact_client/models/get_clicks_report200_response.rb +233 -0
- data/lib/constant_contact_client/models/get_clicks_report200_response_links.rb +222 -0
- data/lib/constant_contact_client/models/get_clicks_report200_response_tracking_activities_inner.rb +364 -0
- data/lib/constant_contact_client/models/get_contact_adds200_response.rb +240 -0
- data/lib/constant_contact_client/models/get_contact_adds200_response_tracking_activities_inner.rb +329 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response.rb +635 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response_custom_fields_inner.rb +259 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response_email_address.rb +351 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response_notes_inner.rb +255 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response_phone_numbers_inner.rb +294 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response_sms_channel.rb +278 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response_sms_channel_sms_channel_consents_inner.rb +285 -0
- data/lib/constant_contact_client/models/get_contact_by_id200_response_street_addresses_inner.rb +397 -0
- data/lib/constant_contact_client/models/get_contact_counts200_response.rb +265 -0
- data/lib/constant_contact_client/models/get_contact_id_xrefs200_response.rb +236 -0
- data/lib/constant_contact_client/models/get_contact_id_xrefs200_response_xrefs_inner.rb +226 -0
- data/lib/constant_contact_client/models/get_contact_open_click_rate_report200_response.rb +274 -0
- data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response.rb +250 -0
- data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response_campaign_activities_inner.rb +341 -0
- data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response_links.rb +222 -0
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response.rb +227 -0
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response_links.rb +222 -0
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response_links_next.rb +223 -0
- data/lib/constant_contact_client/models/get_contact_tracking_report200_response_tracking_activities_inner.rb +270 -0
- data/lib/constant_contact_client/models/get_custom_field200_response.rb +318 -0
- data/lib/constant_contact_client/models/get_did_not_opens_report200_response.rb +233 -0
- data/lib/constant_contact_client/models/get_did_not_opens_report200_response_tracking_activities_inner.rb +320 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity200_response.rb +405 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity200_response_document_properties.rb +520 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity200_response_physical_address_in_footer.rb +347 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity_preview200_response.rb +285 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response.rb +229 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response_results_inner.rb +244 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response_results_inner_stats.rb +476 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity_schedule200_response_inner.rb +215 -0
- data/lib/constant_contact_client/models/get_email_campaign_activity_send_history200_response_inner.rb +298 -0
- data/lib/constant_contact_client/models/get_email_campaign_report200_response.rb +249 -0
- data/lib/constant_contact_client/models/get_email_campaign_report200_response_aggregate_percents.rb +256 -0
- data/lib/constant_contact_client/models/get_email_campaign_report200_response_bulk_email_campaign_summaries_inner.rb +272 -0
- data/lib/constant_contact_client/models/get_email_campaign_report200_response_bulk_email_campaign_summaries_inner_unique_counts.rb +342 -0
- data/lib/constant_contact_client/models/get_email_campaign_xrefs200_response.rb +217 -0
- data/lib/constant_contact_client/models/get_email_campaign_xrefs200_response_xrefs_inner.rb +235 -0
- data/lib/constant_contact_client/models/get_email_opens_report200_response.rb +233 -0
- data/lib/constant_contact_client/models/get_email_opens_report200_response_tracking_activities_inner.rb +330 -0
- data/lib/constant_contact_client/models/get_email_sends_report200_response.rb +233 -0
- data/lib/constant_contact_client/models/get_email_sends_report200_response_links.rb +222 -0
- data/lib/constant_contact_client/models/get_email_sends_report200_response_tracking_activities_inner.rb +320 -0
- data/lib/constant_contact_client/models/get_email_stats_report200_response.rb +229 -0
- data/lib/constant_contact_client/models/get_email_stats_report200_response_errors_inner.rb +225 -0
- data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner.rb +243 -0
- data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner_percents.rb +296 -0
- data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner_stats.rb +396 -0
- data/lib/constant_contact_client/models/get_forwards_report200_response.rb +233 -0
- data/lib/constant_contact_client/models/get_forwards_report200_response_tracking_activities_inner.rb +320 -0
- data/lib/constant_contact_client/models/get_list200_response.rb +301 -0
- data/lib/constant_contact_client/models/get_list_id_xrefs200_response.rb +236 -0
- data/lib/constant_contact_client/models/get_list_id_xrefs200_response_xrefs_inner.rb +226 -0
- data/lib/constant_contact_client/models/get_optouts_report200_response.rb +240 -0
- data/lib/constant_contact_client/models/get_optouts_report200_response_tracking_activities_inner.rb +330 -0
- data/lib/constant_contact_client/models/get_resend_email_campaign200_response_inner.rb +265 -0
- data/lib/constant_contact_client/models/get_sms_engagement_history200_response_inner.rb +255 -0
- data/lib/constant_contact_client/models/get_sms_engagement_history200_response_inner_history_details.rb +316 -0
- data/lib/constant_contact_client/models/get_tag200_response.rb +265 -0
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response.rb +240 -0
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_links.rb +222 -0
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_links_next.rb +223 -0
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_tracking_activities_inner.rb +366 -0
- data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_tracking_activities_inner_sms_channel.rb +246 -0
- data/lib/constant_contact_client/models/get_unique_contact_opens200_response.rb +240 -0
- data/lib/constant_contact_client/models/get_unique_contact_opens200_response_tracking_activities_inner.rb +339 -0
- data/lib/constant_contact_client/models/get_unique_contact_sms_opt_ins200_response.rb +240 -0
- data/lib/constant_contact_client/models/get_unique_contact_sms_opt_ins200_response_tracking_activities_inner.rb +329 -0
- data/lib/constant_contact_client/models/get_unique_contact_updates200_response.rb +240 -0
- data/lib/constant_contact_client/models/get_unique_contact_updates200_response_tracking_activities_inner.rb +329 -0
- data/lib/constant_contact_client/models/get_user_privileges200_response_inner.rb +225 -0
- data/lib/constant_contact_client/models/headers_object.rb +225 -0
- data/lib/constant_contact_client/models/history_details.rb +316 -0
- data/lib/constant_contact_client/models/json_import_contact.rb +1315 -0
- data/lib/constant_contact_client/models/link.rb +214 -0
- data/lib/constant_contact_client/models/links.rb +221 -0
- data/lib/constant_contact_client/models/list_activity_add_contacts.rb +268 -0
- data/lib/constant_contact_client/models/list_activity_remove_contacts.rb +268 -0
- data/lib/constant_contact_client/models/list_id_list100.rb +243 -0
- data/lib/constant_contact_client/models/list_input.rb +263 -0
- data/lib/constant_contact_client/models/list_xref.rb +226 -0
- data/lib/constant_contact_client/models/list_xrefs.rb +236 -0
- data/lib/constant_contact_client/models/lpreporting_links.rb +221 -0
- data/lib/constant_contact_client/models/lpreporting_next.rb +222 -0
- data/lib/constant_contact_client/models/model_next.rb +222 -0
- data/lib/constant_contact_client/models/my_library_file_collection_inner.rb +384 -0
- data/lib/constant_contact_client/models/my_library_file_collection_inner_thumbnail.rb +235 -0
- data/lib/constant_contact_client/models/note.rb +255 -0
- data/lib/constant_contact_client/models/o_auth_error.rb +223 -0
- data/lib/constant_contact_client/models/opens_tracking_activities_page.rb +233 -0
- data/lib/constant_contact_client/models/opens_tracking_activity.rb +330 -0
- data/lib/constant_contact_client/models/optouts_tracking_activities_page.rb +240 -0
- data/lib/constant_contact_client/models/optouts_tracking_activity.rb +330 -0
- data/lib/constant_contact_client/models/p_contact_add_tracking_activities_page.rb +240 -0
- data/lib/constant_contact_client/models/p_contact_add_tracking_activity.rb +329 -0
- data/lib/constant_contact_client/models/p_contact_click_tracking_activities_page.rb +240 -0
- data/lib/constant_contact_client/models/p_contact_click_tracking_activity.rb +366 -0
- data/lib/constant_contact_client/models/p_contact_open_tracking_activity.rb +339 -0
- data/lib/constant_contact_client/models/p_contact_opens_tracking_activities_page.rb +240 -0
- data/lib/constant_contact_client/models/p_contact_sms_opt_in_tracking_activities_page.rb +240 -0
- data/lib/constant_contact_client/models/p_contact_sms_opt_in_tracking_activity.rb +329 -0
- data/lib/constant_contact_client/models/p_contact_update_tracking_activities_page.rb +240 -0
- data/lib/constant_contact_client/models/p_contact_update_tracking_activity.rb +329 -0
- data/lib/constant_contact_client/models/paged_email_campaign_response.rb +225 -0
- data/lib/constant_contact_client/models/pagination_links.rb +214 -0
- data/lib/constant_contact_client/models/pagination_links_next.rb +215 -0
- data/lib/constant_contact_client/models/paging_links.rb +214 -0
- data/lib/constant_contact_client/models/partner_account.rb +233 -0
- data/lib/constant_contact_client/models/partner_account_links.rb +215 -0
- data/lib/constant_contact_client/models/partner_account_operations_request.rb +286 -0
- data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_headers_inner.rb +225 -0
- data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_path_parameters_inner.rb +225 -0
- data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_query_parameters_inner.rb +225 -0
- data/lib/constant_contact_client/models/partner_account_site_owner_list_inner.rb +265 -0
- data/lib/constant_contact_client/models/partners_link.rb +214 -0
- data/lib/constant_contact_client/models/patch_email_campaign_name_request.rb +241 -0
- data/lib/constant_contact_client/models/path_param_object.rb +225 -0
- data/lib/constant_contact_client/models/percents_email.rb +295 -0
- data/lib/constant_contact_client/models/phone_number.rb +294 -0
- data/lib/constant_contact_client/models/phone_number_put.rb +244 -0
- data/lib/constant_contact_client/models/plan_info.rb +236 -0
- data/lib/constant_contact_client/models/plan_tiers_object.rb +248 -0
- data/lib/constant_contact_client/models/plan_tiers_object_current_tiers_inner.rb +278 -0
- data/lib/constant_contact_client/models/post_custom_field_delete201_response.rb +297 -0
- data/lib/constant_contact_client/models/post_custom_field_delete_request.rb +243 -0
- data/lib/constant_contact_client/models/post_tag_request.rb +260 -0
- data/lib/constant_contact_client/models/provision.rb +723 -0
- data/lib/constant_contact_client/models/provision_response.rb +225 -0
- data/lib/constant_contact_client/models/put_tag_request.rb +250 -0
- data/lib/constant_contact_client/models/query_param_object.rb +225 -0
- data/lib/constant_contact_client/models/reporting_links.rb +221 -0
- data/lib/constant_contact_client/models/reporting_next.rb +222 -0
- data/lib/constant_contact_client/models/resend_to_non_openers_input.rb +242 -0
- data/lib/constant_contact_client/models/resend_to_non_openers_object.rb +255 -0
- data/lib/constant_contact_client/models/schedule_email_campaign_activity_request.rb +222 -0
- data/lib/constant_contact_client/models/segment_data.rb +258 -0
- data/lib/constant_contact_client/models/segment_detail.rb +274 -0
- data/lib/constant_contact_client/models/segment_master.rb +245 -0
- data/lib/constant_contact_client/models/segment_name.rb +222 -0
- data/lib/constant_contact_client/models/segments_dto.rb +233 -0
- data/lib/constant_contact_client/models/sends_tracking_activities_page.rb +233 -0
- data/lib/constant_contact_client/models/sends_tracking_activity.rb +320 -0
- data/lib/constant_contact_client/models/sms_channel_consent_details.rb +285 -0
- data/lib/constant_contact_client/models/sso_user.rb +439 -0
- data/lib/constant_contact_client/models/stats_email.rb +395 -0
- data/lib/constant_contact_client/models/stats_email_activity.rb +475 -0
- data/lib/constant_contact_client/models/stats_error.rb +225 -0
- data/lib/constant_contact_client/models/street_address.rb +397 -0
- data/lib/constant_contact_client/models/street_address_put.rb +367 -0
- data/lib/constant_contact_client/models/tag.rb +265 -0
- data/lib/constant_contact_client/models/tag_add_remove_contacts.rb +268 -0
- data/lib/constant_contact_client/models/tag_id_list500_limit.rb +243 -0
- data/lib/constant_contact_client/models/tag_post.rb +260 -0
- data/lib/constant_contact_client/models/tag_put.rb +250 -0
- data/lib/constant_contact_client/models/tags.rb +226 -0
- data/lib/constant_contact_client/models/tags_activity_links.rb +214 -0
- data/lib/constant_contact_client/models/tags_links.rb +223 -0
- data/lib/constant_contact_client/models/tags_paging_links.rb +214 -0
- data/lib/constant_contact_client/models/test_send_email_campaign_activity_request.rb +253 -0
- data/lib/constant_contact_client/models/tier_object.rb +278 -0
- data/lib/constant_contact_client/models/tracking_activity_sms_channel_dto.rb +245 -0
- data/lib/constant_contact_client/models/unique_email_counts.rb +341 -0
- data/lib/constant_contact_client/models/update_account_request.rb +334 -0
- data/lib/constant_contact_client/models/update_contact_request.rb +582 -0
- data/lib/constant_contact_client/models/update_contact_request_email_address.rb +341 -0
- data/lib/constant_contact_client/models/update_contact_request_phone_numbers_inner.rb +244 -0
- data/lib/constant_contact_client/models/update_contact_request_street_addresses_inner.rb +367 -0
- data/lib/constant_contact_client/models/update_custom_field_request.rb +258 -0
- data/lib/constant_contact_client/models/update_list200_response.rb +291 -0
- data/lib/constant_contact_client/models/update_list_request.rb +263 -0
- data/lib/constant_contact_client/models/update_segment_name_request.rb +222 -0
- data/lib/constant_contact_client/models/webhooks_subscription_body.rb +215 -0
- data/lib/constant_contact_client/models/webhooks_subscription_collection_inner.rb +245 -0
- data/lib/constant_contact_client/models/webhooks_subscription_put_resp.rb +225 -0
- data/lib/constant_contact_client/models/webhooks_subscription_response.rb +245 -0
- data/lib/constant_contact_client/models/webhooks_test_send.rb +245 -0
- data/lib/constant_contact_client/version.rb +15 -0
- data/lib/constant_contact_client.rb +417 -0
- data/spec/spec_helper.rb +111 -0
- metadata +488 -0
@@ -0,0 +1,925 @@
|
|
1
|
+
# ConstantContactClient::EmailReportingApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.cc.email/v3*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**get_bounces_report**](EmailReportingApi.md#get_bounces_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/bounces | GET an Email Bounces Report |
|
8
|
+
| [**get_campaign_activity_link_report**](EmailReportingApi.md#get_campaign_activity_link_report) | **GET** /reports/email_reports/{campaign_activity_id}/links | GET an Email Links Report |
|
9
|
+
| [**get_clicks_report**](EmailReportingApi.md#get_clicks_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/clicks | GET an Email Clicks Report |
|
10
|
+
| [**get_did_not_opens_report**](EmailReportingApi.md#get_did_not_opens_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/didnotopens | GET an Email Did Not Opens Report |
|
11
|
+
| [**get_email_campaign_activity_report**](EmailReportingApi.md#get_email_campaign_activity_report) | **GET** /reports/stats/email_campaign_activities/{campaign_activity_ids} | GET an Email Campaign Activity Stats Report |
|
12
|
+
| [**get_email_campaign_report**](EmailReportingApi.md#get_email_campaign_report) | **GET** /reports/summary_reports/email_campaign_summaries | GET an Email Campaigns Summary Report |
|
13
|
+
| [**get_email_opens_report**](EmailReportingApi.md#get_email_opens_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/opens | GET an Email Opens Report |
|
14
|
+
| [**get_email_sends_report**](EmailReportingApi.md#get_email_sends_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/sends | GET an Email Sends Report |
|
15
|
+
| [**get_email_stats_report**](EmailReportingApi.md#get_email_stats_report) | **GET** /reports/stats/email_campaigns/{campaign_ids} | GET an Email Campaign Stats Report |
|
16
|
+
| [**get_forwards_report**](EmailReportingApi.md#get_forwards_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/forwards | GET an Email Forwards Report |
|
17
|
+
| [**get_optouts_report**](EmailReportingApi.md#get_optouts_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/optouts | GET an Email Opt-outs Report |
|
18
|
+
| [**get_unique_opens_report**](EmailReportingApi.md#get_unique_opens_report) | **GET** /reports/email_reports/{campaign_activity_id}/tracking/unique_opens | GET an Email Unique Opens Report |
|
19
|
+
|
20
|
+
|
21
|
+
## get_bounces_report
|
22
|
+
|
23
|
+
> <GetBouncesReport200Response> get_bounces_report(campaign_activity_id, opts)
|
24
|
+
|
25
|
+
GET an Email Bounces Report
|
26
|
+
|
27
|
+
Use this method to get a report listing contact bounce data for the specified email campaign activity. This report lists the most recent bounce data first and includes contact information, such as the contact's email address, unique ID, and the email bounce date and time. Use the <code>bounce_code</code> query parameter to limit the type of bounce data to return. For more use case information, see [Get a Bounces Report for an Email Campaign Activity](/api_guide/email_summary_bounces_report.html) in the API guide.
|
28
|
+
|
29
|
+
### Examples
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
require 'time'
|
33
|
+
require 'constant_contact_client'
|
34
|
+
# setup authorization
|
35
|
+
ConstantContactClient.configure do |config|
|
36
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
37
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
38
|
+
|
39
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
40
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
41
|
+
end
|
42
|
+
|
43
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
44
|
+
campaign_activity_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The ID that uniquely identifies the email campaign activity to use for this report.
|
45
|
+
opts = {
|
46
|
+
bounce_code: ['B'], # Array<String> | To return results for a specific bounce code, select the `bounce_code` from the drop-down list. To return results for multiple codes, repeat the bounce code parameter for each. For example, to return results for bounce codes `B` and `D` use `bounce_code=B&bounce_code=D`.
|
47
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
48
|
+
}
|
49
|
+
|
50
|
+
begin
|
51
|
+
# GET an Email Bounces Report
|
52
|
+
result = api_instance.get_bounces_report(campaign_activity_id, opts)
|
53
|
+
p result
|
54
|
+
rescue ConstantContactClient::ApiError => e
|
55
|
+
puts "Error when calling EmailReportingApi->get_bounces_report: #{e}"
|
56
|
+
end
|
57
|
+
```
|
58
|
+
|
59
|
+
#### Using the get_bounces_report_with_http_info variant
|
60
|
+
|
61
|
+
This returns an Array which contains the response data, status code and headers.
|
62
|
+
|
63
|
+
> <Array(<GetBouncesReport200Response>, Integer, Hash)> get_bounces_report_with_http_info(campaign_activity_id, opts)
|
64
|
+
|
65
|
+
```ruby
|
66
|
+
begin
|
67
|
+
# GET an Email Bounces Report
|
68
|
+
data, status_code, headers = api_instance.get_bounces_report_with_http_info(campaign_activity_id, opts)
|
69
|
+
p status_code # => 2xx
|
70
|
+
p headers # => { ... }
|
71
|
+
p data # => <GetBouncesReport200Response>
|
72
|
+
rescue ConstantContactClient::ApiError => e
|
73
|
+
puts "Error when calling EmailReportingApi->get_bounces_report_with_http_info: #{e}"
|
74
|
+
end
|
75
|
+
```
|
76
|
+
|
77
|
+
### Parameters
|
78
|
+
|
79
|
+
| Name | Type | Description | Notes |
|
80
|
+
| ---- | ---- | ----------- | ----- |
|
81
|
+
| **campaign_activity_id** | **String** | The ID that uniquely identifies the email campaign activity to use for this report. | |
|
82
|
+
| **bounce_code** | [**Array<String>**](String.md) | To return results for a specific bounce code, select the `bounce_code` from the drop-down list. To return results for multiple codes, repeat the bounce code parameter for each. For example, to return results for bounce codes `B` and `D` use `bounce_code=B&bounce_code=D`. | [optional] |
|
83
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
84
|
+
|
85
|
+
### Return type
|
86
|
+
|
87
|
+
[**GetBouncesReport200Response**](GetBouncesReport200Response.md)
|
88
|
+
|
89
|
+
### Authorization
|
90
|
+
|
91
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
92
|
+
|
93
|
+
### HTTP request headers
|
94
|
+
|
95
|
+
- **Content-Type**: Not defined
|
96
|
+
- **Accept**: application/json
|
97
|
+
|
98
|
+
|
99
|
+
## get_campaign_activity_link_report
|
100
|
+
|
101
|
+
> <GetCampaignActivityLinkReport200Response> get_campaign_activity_link_report(campaign_activity_id, opts)
|
102
|
+
|
103
|
+
GET an Email Links Report
|
104
|
+
|
105
|
+
Use this method to return link details, including the number of unique contacts that clicked each link in an email campaign activity, and the type of action associated with clicking each link. To include link details for links that were not clicked, set the `no_clicks` query parameter to `true`. You can return reporting data for `primary_email` and `resend` role email campaign activities. For more use case information, see [Get an Email Links Report](/api_guide/email_links_report.html) in the API guide.
|
106
|
+
|
107
|
+
### Examples
|
108
|
+
|
109
|
+
```ruby
|
110
|
+
require 'time'
|
111
|
+
require 'constant_contact_client'
|
112
|
+
# setup authorization
|
113
|
+
ConstantContactClient.configure do |config|
|
114
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
115
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
116
|
+
|
117
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
118
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
119
|
+
end
|
120
|
+
|
121
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
122
|
+
campaign_activity_id = '8892baf9-970a-4de6-8400-fa4ec461987c' # String | The unique ID for an email campaign activity.
|
123
|
+
opts = {
|
124
|
+
no_clicks: true # Boolean | Set this query parameter to `true` to return details for links that were not clicked in the response results.
|
125
|
+
}
|
126
|
+
|
127
|
+
begin
|
128
|
+
# GET an Email Links Report
|
129
|
+
result = api_instance.get_campaign_activity_link_report(campaign_activity_id, opts)
|
130
|
+
p result
|
131
|
+
rescue ConstantContactClient::ApiError => e
|
132
|
+
puts "Error when calling EmailReportingApi->get_campaign_activity_link_report: #{e}"
|
133
|
+
end
|
134
|
+
```
|
135
|
+
|
136
|
+
#### Using the get_campaign_activity_link_report_with_http_info variant
|
137
|
+
|
138
|
+
This returns an Array which contains the response data, status code and headers.
|
139
|
+
|
140
|
+
> <Array(<GetCampaignActivityLinkReport200Response>, Integer, Hash)> get_campaign_activity_link_report_with_http_info(campaign_activity_id, opts)
|
141
|
+
|
142
|
+
```ruby
|
143
|
+
begin
|
144
|
+
# GET an Email Links Report
|
145
|
+
data, status_code, headers = api_instance.get_campaign_activity_link_report_with_http_info(campaign_activity_id, opts)
|
146
|
+
p status_code # => 2xx
|
147
|
+
p headers # => { ... }
|
148
|
+
p data # => <GetCampaignActivityLinkReport200Response>
|
149
|
+
rescue ConstantContactClient::ApiError => e
|
150
|
+
puts "Error when calling EmailReportingApi->get_campaign_activity_link_report_with_http_info: #{e}"
|
151
|
+
end
|
152
|
+
```
|
153
|
+
|
154
|
+
### Parameters
|
155
|
+
|
156
|
+
| Name | Type | Description | Notes |
|
157
|
+
| ---- | ---- | ----------- | ----- |
|
158
|
+
| **campaign_activity_id** | **String** | The unique ID for an email campaign activity. | |
|
159
|
+
| **no_clicks** | **Boolean** | Set this query parameter to `true` to return details for links that were not clicked in the response results. | [optional][default to false] |
|
160
|
+
|
161
|
+
### Return type
|
162
|
+
|
163
|
+
[**GetCampaignActivityLinkReport200Response**](GetCampaignActivityLinkReport200Response.md)
|
164
|
+
|
165
|
+
### Authorization
|
166
|
+
|
167
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
168
|
+
|
169
|
+
### HTTP request headers
|
170
|
+
|
171
|
+
- **Content-Type**: Not defined
|
172
|
+
- **Accept**: application/json
|
173
|
+
|
174
|
+
|
175
|
+
## get_clicks_report
|
176
|
+
|
177
|
+
> <GetClicksReport200Response> get_clicks_report(campaign_activity_id, opts)
|
178
|
+
|
179
|
+
GET an Email Clicks Report
|
180
|
+
|
181
|
+
Use this method to get each time a contact clicked a link, the click date and time, and the device type they used. Use the `url_id` query parameter to get a clicks report for a specific link URL. Clicks report data is sorted with most recent activity listed first.
|
182
|
+
|
183
|
+
### Examples
|
184
|
+
|
185
|
+
```ruby
|
186
|
+
require 'time'
|
187
|
+
require 'constant_contact_client'
|
188
|
+
# setup authorization
|
189
|
+
ConstantContactClient.configure do |config|
|
190
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
191
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
192
|
+
|
193
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
194
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
195
|
+
end
|
196
|
+
|
197
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
198
|
+
campaign_activity_id = 'c8cdf384-15ca-4dcc-9b6f-4c91121fdc23' # String | The ID that uniquely identifies the email campaign activity to use for this report.
|
199
|
+
opts = {
|
200
|
+
url_id: 49920742166, # Integer | The ID that uniquely identifies a single link URL for which you want to get a clicks report.
|
201
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
202
|
+
}
|
203
|
+
|
204
|
+
begin
|
205
|
+
# GET an Email Clicks Report
|
206
|
+
result = api_instance.get_clicks_report(campaign_activity_id, opts)
|
207
|
+
p result
|
208
|
+
rescue ConstantContactClient::ApiError => e
|
209
|
+
puts "Error when calling EmailReportingApi->get_clicks_report: #{e}"
|
210
|
+
end
|
211
|
+
```
|
212
|
+
|
213
|
+
#### Using the get_clicks_report_with_http_info variant
|
214
|
+
|
215
|
+
This returns an Array which contains the response data, status code and headers.
|
216
|
+
|
217
|
+
> <Array(<GetClicksReport200Response>, Integer, Hash)> get_clicks_report_with_http_info(campaign_activity_id, opts)
|
218
|
+
|
219
|
+
```ruby
|
220
|
+
begin
|
221
|
+
# GET an Email Clicks Report
|
222
|
+
data, status_code, headers = api_instance.get_clicks_report_with_http_info(campaign_activity_id, opts)
|
223
|
+
p status_code # => 2xx
|
224
|
+
p headers # => { ... }
|
225
|
+
p data # => <GetClicksReport200Response>
|
226
|
+
rescue ConstantContactClient::ApiError => e
|
227
|
+
puts "Error when calling EmailReportingApi->get_clicks_report_with_http_info: #{e}"
|
228
|
+
end
|
229
|
+
```
|
230
|
+
|
231
|
+
### Parameters
|
232
|
+
|
233
|
+
| Name | Type | Description | Notes |
|
234
|
+
| ---- | ---- | ----------- | ----- |
|
235
|
+
| **campaign_activity_id** | **String** | The ID that uniquely identifies the email campaign activity to use for this report. | |
|
236
|
+
| **url_id** | **Integer** | The ID that uniquely identifies a single link URL for which you want to get a clicks report. | [optional] |
|
237
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
238
|
+
|
239
|
+
### Return type
|
240
|
+
|
241
|
+
[**GetClicksReport200Response**](GetClicksReport200Response.md)
|
242
|
+
|
243
|
+
### Authorization
|
244
|
+
|
245
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
246
|
+
|
247
|
+
### HTTP request headers
|
248
|
+
|
249
|
+
- **Content-Type**: Not defined
|
250
|
+
- **Accept**: application/json
|
251
|
+
|
252
|
+
|
253
|
+
## get_did_not_opens_report
|
254
|
+
|
255
|
+
> <GetDidNotOpensReport200Response> get_did_not_opens_report(campaign_activity_id, opts)
|
256
|
+
|
257
|
+
GET an Email Did Not Opens Report
|
258
|
+
|
259
|
+
Use this method to get a report listing each contact that was sent, but did not open the specified email campaign activity. This report lists contact information such as the contact's email address and unique ID, and the date and time that the email campaign activity was sent. This report lists the most recent activity first. For more use case information, see [Get a Did Not Opens Report for an Email Campaign Activity](/api_guide/email_summary_non_opens_report.html) in the API guide.
|
260
|
+
|
261
|
+
### Examples
|
262
|
+
|
263
|
+
```ruby
|
264
|
+
require 'time'
|
265
|
+
require 'constant_contact_client'
|
266
|
+
# setup authorization
|
267
|
+
ConstantContactClient.configure do |config|
|
268
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
269
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
270
|
+
|
271
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
272
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
273
|
+
end
|
274
|
+
|
275
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
276
|
+
campaign_activity_id = '8892baf9-970a-4de6-8400-fa4ec461987c' # String | The ID that uniquely identifies the email campaign activity to use for this report.
|
277
|
+
opts = {
|
278
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
279
|
+
}
|
280
|
+
|
281
|
+
begin
|
282
|
+
# GET an Email Did Not Opens Report
|
283
|
+
result = api_instance.get_did_not_opens_report(campaign_activity_id, opts)
|
284
|
+
p result
|
285
|
+
rescue ConstantContactClient::ApiError => e
|
286
|
+
puts "Error when calling EmailReportingApi->get_did_not_opens_report: #{e}"
|
287
|
+
end
|
288
|
+
```
|
289
|
+
|
290
|
+
#### Using the get_did_not_opens_report_with_http_info variant
|
291
|
+
|
292
|
+
This returns an Array which contains the response data, status code and headers.
|
293
|
+
|
294
|
+
> <Array(<GetDidNotOpensReport200Response>, Integer, Hash)> get_did_not_opens_report_with_http_info(campaign_activity_id, opts)
|
295
|
+
|
296
|
+
```ruby
|
297
|
+
begin
|
298
|
+
# GET an Email Did Not Opens Report
|
299
|
+
data, status_code, headers = api_instance.get_did_not_opens_report_with_http_info(campaign_activity_id, opts)
|
300
|
+
p status_code # => 2xx
|
301
|
+
p headers # => { ... }
|
302
|
+
p data # => <GetDidNotOpensReport200Response>
|
303
|
+
rescue ConstantContactClient::ApiError => e
|
304
|
+
puts "Error when calling EmailReportingApi->get_did_not_opens_report_with_http_info: #{e}"
|
305
|
+
end
|
306
|
+
```
|
307
|
+
|
308
|
+
### Parameters
|
309
|
+
|
310
|
+
| Name | Type | Description | Notes |
|
311
|
+
| ---- | ---- | ----------- | ----- |
|
312
|
+
| **campaign_activity_id** | **String** | The ID that uniquely identifies the email campaign activity to use for this report. | |
|
313
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
314
|
+
|
315
|
+
### Return type
|
316
|
+
|
317
|
+
[**GetDidNotOpensReport200Response**](GetDidNotOpensReport200Response.md)
|
318
|
+
|
319
|
+
### Authorization
|
320
|
+
|
321
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
322
|
+
|
323
|
+
### HTTP request headers
|
324
|
+
|
325
|
+
- **Content-Type**: Not defined
|
326
|
+
- **Accept**: application/json
|
327
|
+
|
328
|
+
|
329
|
+
## get_email_campaign_activity_report
|
330
|
+
|
331
|
+
> <GetEmailCampaignActivityReport200Response> get_email_campaign_activity_report(campaign_activity_ids)
|
332
|
+
|
333
|
+
GET an Email Campaign Activity Stats Report
|
334
|
+
|
335
|
+
Use this method to get performance tracking statistics for up to ten email campaign activities. Statistics include the total number of times contacts interacted with your campaigns and how. For each `campaign_activity_id`, this method returns the `campaign_id`, the total counts (`stats`) for each type of tracked email activity, and the date and time that Constant Contact last refreshed (`last_refresh_time`) the `stats`. When requesting statistics for multiple email campaign activities, if one or more of the `campaign_activity_ids` do not exist, were deleted, or do not have any stats associated with it, the `campaign_activity_ids` and error details display under `errors`. If any single specified `campaign_activity_id` is invalid (malformed), a 404 error response is returned for all campaign activities.
|
336
|
+
|
337
|
+
### Examples
|
338
|
+
|
339
|
+
```ruby
|
340
|
+
require 'time'
|
341
|
+
require 'constant_contact_client'
|
342
|
+
# setup authorization
|
343
|
+
ConstantContactClient.configure do |config|
|
344
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
345
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
346
|
+
|
347
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
348
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
349
|
+
end
|
350
|
+
|
351
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
352
|
+
campaign_activity_ids = '82ee2c37-c8f8-4974-9560-ef93ad51d58z' # String | A comma-separated list of `campaign_activity_id`s (UUID's).
|
353
|
+
|
354
|
+
begin
|
355
|
+
# GET an Email Campaign Activity Stats Report
|
356
|
+
result = api_instance.get_email_campaign_activity_report(campaign_activity_ids)
|
357
|
+
p result
|
358
|
+
rescue ConstantContactClient::ApiError => e
|
359
|
+
puts "Error when calling EmailReportingApi->get_email_campaign_activity_report: #{e}"
|
360
|
+
end
|
361
|
+
```
|
362
|
+
|
363
|
+
#### Using the get_email_campaign_activity_report_with_http_info variant
|
364
|
+
|
365
|
+
This returns an Array which contains the response data, status code and headers.
|
366
|
+
|
367
|
+
> <Array(<GetEmailCampaignActivityReport200Response>, Integer, Hash)> get_email_campaign_activity_report_with_http_info(campaign_activity_ids)
|
368
|
+
|
369
|
+
```ruby
|
370
|
+
begin
|
371
|
+
# GET an Email Campaign Activity Stats Report
|
372
|
+
data, status_code, headers = api_instance.get_email_campaign_activity_report_with_http_info(campaign_activity_ids)
|
373
|
+
p status_code # => 2xx
|
374
|
+
p headers # => { ... }
|
375
|
+
p data # => <GetEmailCampaignActivityReport200Response>
|
376
|
+
rescue ConstantContactClient::ApiError => e
|
377
|
+
puts "Error when calling EmailReportingApi->get_email_campaign_activity_report_with_http_info: #{e}"
|
378
|
+
end
|
379
|
+
```
|
380
|
+
|
381
|
+
### Parameters
|
382
|
+
|
383
|
+
| Name | Type | Description | Notes |
|
384
|
+
| ---- | ---- | ----------- | ----- |
|
385
|
+
| **campaign_activity_ids** | **String** | A comma-separated list of `campaign_activity_id`s (UUID's). | |
|
386
|
+
|
387
|
+
### Return type
|
388
|
+
|
389
|
+
[**GetEmailCampaignActivityReport200Response**](GetEmailCampaignActivityReport200Response.md)
|
390
|
+
|
391
|
+
### Authorization
|
392
|
+
|
393
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
394
|
+
|
395
|
+
### HTTP request headers
|
396
|
+
|
397
|
+
- **Content-Type**: Not defined
|
398
|
+
- **Accept**: application/json
|
399
|
+
|
400
|
+
|
401
|
+
## get_email_campaign_report
|
402
|
+
|
403
|
+
> <GetEmailCampaignReport200Response> get_email_campaign_report(opts)
|
404
|
+
|
405
|
+
GET an Email Campaigns Summary Report
|
406
|
+
|
407
|
+
Use this method to get aggregate email campaign statistics for up to five hundred email campaigns. The response results include the total number of times that each contact uniquely interacted with each tracked campaign activity. Results are sorted in descending order by the date that the email was last sent (<code>last_sent_date</code>). Use the <code>limit</code> query parameter to limit the number of email campaign summary reports listed on each page. For more use case information, see \"[Get an Email Campaign Summary Report](/api_guide/email_bulk_campaign_summary_report.html)\"
|
408
|
+
|
409
|
+
### Examples
|
410
|
+
|
411
|
+
```ruby
|
412
|
+
require 'time'
|
413
|
+
require 'constant_contact_client'
|
414
|
+
# setup authorization
|
415
|
+
ConstantContactClient.configure do |config|
|
416
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
417
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
418
|
+
|
419
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
420
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
421
|
+
end
|
422
|
+
|
423
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
424
|
+
opts = {
|
425
|
+
limit: '100' # String | Use the `limit` query parameter to limit the number of email campaign summaries to return on a single page. The default is `50` and the maximum is `500` per page.
|
426
|
+
}
|
427
|
+
|
428
|
+
begin
|
429
|
+
# GET an Email Campaigns Summary Report
|
430
|
+
result = api_instance.get_email_campaign_report(opts)
|
431
|
+
p result
|
432
|
+
rescue ConstantContactClient::ApiError => e
|
433
|
+
puts "Error when calling EmailReportingApi->get_email_campaign_report: #{e}"
|
434
|
+
end
|
435
|
+
```
|
436
|
+
|
437
|
+
#### Using the get_email_campaign_report_with_http_info variant
|
438
|
+
|
439
|
+
This returns an Array which contains the response data, status code and headers.
|
440
|
+
|
441
|
+
> <Array(<GetEmailCampaignReport200Response>, Integer, Hash)> get_email_campaign_report_with_http_info(opts)
|
442
|
+
|
443
|
+
```ruby
|
444
|
+
begin
|
445
|
+
# GET an Email Campaigns Summary Report
|
446
|
+
data, status_code, headers = api_instance.get_email_campaign_report_with_http_info(opts)
|
447
|
+
p status_code # => 2xx
|
448
|
+
p headers # => { ... }
|
449
|
+
p data # => <GetEmailCampaignReport200Response>
|
450
|
+
rescue ConstantContactClient::ApiError => e
|
451
|
+
puts "Error when calling EmailReportingApi->get_email_campaign_report_with_http_info: #{e}"
|
452
|
+
end
|
453
|
+
```
|
454
|
+
|
455
|
+
### Parameters
|
456
|
+
|
457
|
+
| Name | Type | Description | Notes |
|
458
|
+
| ---- | ---- | ----------- | ----- |
|
459
|
+
| **limit** | **String** | Use the `limit` query parameter to limit the number of email campaign summaries to return on a single page. The default is `50` and the maximum is `500` per page. | [optional][default to '50'] |
|
460
|
+
|
461
|
+
### Return type
|
462
|
+
|
463
|
+
[**GetEmailCampaignReport200Response**](GetEmailCampaignReport200Response.md)
|
464
|
+
|
465
|
+
### Authorization
|
466
|
+
|
467
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
468
|
+
|
469
|
+
### HTTP request headers
|
470
|
+
|
471
|
+
- **Content-Type**: Not defined
|
472
|
+
- **Accept**: application/json
|
473
|
+
|
474
|
+
|
475
|
+
## get_email_opens_report
|
476
|
+
|
477
|
+
> <GetEmailOpensReport200Response> get_email_opens_report(campaign_activity_id, opts)
|
478
|
+
|
479
|
+
GET an Email Opens Report
|
480
|
+
|
481
|
+
Use this method to get each time a contact opened a specific email campaign activity. This report includes general contact information such as the contact's email address and unique ID, the date and time they opened the email campaign activity, and the type of device they used to open it. This report lists the most recent activity first. For more use case information, see [Get an Opens report for an Email Campaign Activity](/api_guide/email_summary_opens_report.html) in the API guide.
|
482
|
+
|
483
|
+
### Examples
|
484
|
+
|
485
|
+
```ruby
|
486
|
+
require 'time'
|
487
|
+
require 'constant_contact_client'
|
488
|
+
# setup authorization
|
489
|
+
ConstantContactClient.configure do |config|
|
490
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
491
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
492
|
+
|
493
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
494
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
495
|
+
end
|
496
|
+
|
497
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
498
|
+
campaign_activity_id = '8892baf9-970a-4de6-8400-fa4ec461987c' # String | The unique ID for an email campaign activity to use for this report.
|
499
|
+
opts = {
|
500
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
501
|
+
}
|
502
|
+
|
503
|
+
begin
|
504
|
+
# GET an Email Opens Report
|
505
|
+
result = api_instance.get_email_opens_report(campaign_activity_id, opts)
|
506
|
+
p result
|
507
|
+
rescue ConstantContactClient::ApiError => e
|
508
|
+
puts "Error when calling EmailReportingApi->get_email_opens_report: #{e}"
|
509
|
+
end
|
510
|
+
```
|
511
|
+
|
512
|
+
#### Using the get_email_opens_report_with_http_info variant
|
513
|
+
|
514
|
+
This returns an Array which contains the response data, status code and headers.
|
515
|
+
|
516
|
+
> <Array(<GetEmailOpensReport200Response>, Integer, Hash)> get_email_opens_report_with_http_info(campaign_activity_id, opts)
|
517
|
+
|
518
|
+
```ruby
|
519
|
+
begin
|
520
|
+
# GET an Email Opens Report
|
521
|
+
data, status_code, headers = api_instance.get_email_opens_report_with_http_info(campaign_activity_id, opts)
|
522
|
+
p status_code # => 2xx
|
523
|
+
p headers # => { ... }
|
524
|
+
p data # => <GetEmailOpensReport200Response>
|
525
|
+
rescue ConstantContactClient::ApiError => e
|
526
|
+
puts "Error when calling EmailReportingApi->get_email_opens_report_with_http_info: #{e}"
|
527
|
+
end
|
528
|
+
```
|
529
|
+
|
530
|
+
### Parameters
|
531
|
+
|
532
|
+
| Name | Type | Description | Notes |
|
533
|
+
| ---- | ---- | ----------- | ----- |
|
534
|
+
| **campaign_activity_id** | **String** | The unique ID for an email campaign activity to use for this report. | |
|
535
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
536
|
+
|
537
|
+
### Return type
|
538
|
+
|
539
|
+
[**GetEmailOpensReport200Response**](GetEmailOpensReport200Response.md)
|
540
|
+
|
541
|
+
### Authorization
|
542
|
+
|
543
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
544
|
+
|
545
|
+
### HTTP request headers
|
546
|
+
|
547
|
+
- **Content-Type**: Not defined
|
548
|
+
- **Accept**: application/json
|
549
|
+
|
550
|
+
|
551
|
+
## get_email_sends_report
|
552
|
+
|
553
|
+
> <GetEmailSendsReport200Response> get_email_sends_report(campaign_activity_id, opts)
|
554
|
+
|
555
|
+
GET an Email Sends Report
|
556
|
+
|
557
|
+
Use this method to get each contact that was sent a specific email campaign activity. This sends report includes general contact data such as the date and time that the email campaign activity was sent to a contact's email address, the contact's first and last name, and unique ID. This report lists the most recent activity first. For more use case information, see [Get an Sends report for an Email Campaign Activity](/api_guide/email_summary_sends_report.html) in the API guide.
|
558
|
+
|
559
|
+
### Examples
|
560
|
+
|
561
|
+
```ruby
|
562
|
+
require 'time'
|
563
|
+
require 'constant_contact_client'
|
564
|
+
# setup authorization
|
565
|
+
ConstantContactClient.configure do |config|
|
566
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
567
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
568
|
+
|
569
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
570
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
571
|
+
end
|
572
|
+
|
573
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
574
|
+
campaign_activity_id = '8892baf9-970a-4de6-8400-fa4ec461987c' # String | The unique ID for an email campaign activity to use for this report.
|
575
|
+
opts = {
|
576
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
577
|
+
}
|
578
|
+
|
579
|
+
begin
|
580
|
+
# GET an Email Sends Report
|
581
|
+
result = api_instance.get_email_sends_report(campaign_activity_id, opts)
|
582
|
+
p result
|
583
|
+
rescue ConstantContactClient::ApiError => e
|
584
|
+
puts "Error when calling EmailReportingApi->get_email_sends_report: #{e}"
|
585
|
+
end
|
586
|
+
```
|
587
|
+
|
588
|
+
#### Using the get_email_sends_report_with_http_info variant
|
589
|
+
|
590
|
+
This returns an Array which contains the response data, status code and headers.
|
591
|
+
|
592
|
+
> <Array(<GetEmailSendsReport200Response>, Integer, Hash)> get_email_sends_report_with_http_info(campaign_activity_id, opts)
|
593
|
+
|
594
|
+
```ruby
|
595
|
+
begin
|
596
|
+
# GET an Email Sends Report
|
597
|
+
data, status_code, headers = api_instance.get_email_sends_report_with_http_info(campaign_activity_id, opts)
|
598
|
+
p status_code # => 2xx
|
599
|
+
p headers # => { ... }
|
600
|
+
p data # => <GetEmailSendsReport200Response>
|
601
|
+
rescue ConstantContactClient::ApiError => e
|
602
|
+
puts "Error when calling EmailReportingApi->get_email_sends_report_with_http_info: #{e}"
|
603
|
+
end
|
604
|
+
```
|
605
|
+
|
606
|
+
### Parameters
|
607
|
+
|
608
|
+
| Name | Type | Description | Notes |
|
609
|
+
| ---- | ---- | ----------- | ----- |
|
610
|
+
| **campaign_activity_id** | **String** | The unique ID for an email campaign activity to use for this report. | |
|
611
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
612
|
+
|
613
|
+
### Return type
|
614
|
+
|
615
|
+
[**GetEmailSendsReport200Response**](GetEmailSendsReport200Response.md)
|
616
|
+
|
617
|
+
### Authorization
|
618
|
+
|
619
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
620
|
+
|
621
|
+
### HTTP request headers
|
622
|
+
|
623
|
+
- **Content-Type**: Not defined
|
624
|
+
- **Accept**: application/json
|
625
|
+
|
626
|
+
|
627
|
+
## get_email_stats_report
|
628
|
+
|
629
|
+
> <GetEmailStatsReport200Response> get_email_stats_report(campaign_ids)
|
630
|
+
|
631
|
+
GET an Email Campaign Stats Report
|
632
|
+
|
633
|
+
Use this method to get email campaign performance tracking statistics for one or more campaigns, including the total number of times contacts interacted with your campaigns and how. For each `campaign_id`, this method returns lists that include total counts (`stats`) for each type of tracked email and relevant campaign-related percentages (`percents`). It also returns the date and time at which the campaign stats were last refreshed. If any specified `campaign_id` is invalid, a 404 error response is returned for all campaigns.
|
634
|
+
|
635
|
+
### Examples
|
636
|
+
|
637
|
+
```ruby
|
638
|
+
require 'time'
|
639
|
+
require 'constant_contact_client'
|
640
|
+
# setup authorization
|
641
|
+
ConstantContactClient.configure do |config|
|
642
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
643
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
644
|
+
|
645
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
646
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
647
|
+
end
|
648
|
+
|
649
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
650
|
+
campaign_ids = '82ee2c37-c8f8-4974-9560-ef93ad51d58z' # String | A comma-separated list of `campaign_id`s (UUID's).
|
651
|
+
|
652
|
+
begin
|
653
|
+
# GET an Email Campaign Stats Report
|
654
|
+
result = api_instance.get_email_stats_report(campaign_ids)
|
655
|
+
p result
|
656
|
+
rescue ConstantContactClient::ApiError => e
|
657
|
+
puts "Error when calling EmailReportingApi->get_email_stats_report: #{e}"
|
658
|
+
end
|
659
|
+
```
|
660
|
+
|
661
|
+
#### Using the get_email_stats_report_with_http_info variant
|
662
|
+
|
663
|
+
This returns an Array which contains the response data, status code and headers.
|
664
|
+
|
665
|
+
> <Array(<GetEmailStatsReport200Response>, Integer, Hash)> get_email_stats_report_with_http_info(campaign_ids)
|
666
|
+
|
667
|
+
```ruby
|
668
|
+
begin
|
669
|
+
# GET an Email Campaign Stats Report
|
670
|
+
data, status_code, headers = api_instance.get_email_stats_report_with_http_info(campaign_ids)
|
671
|
+
p status_code # => 2xx
|
672
|
+
p headers # => { ... }
|
673
|
+
p data # => <GetEmailStatsReport200Response>
|
674
|
+
rescue ConstantContactClient::ApiError => e
|
675
|
+
puts "Error when calling EmailReportingApi->get_email_stats_report_with_http_info: #{e}"
|
676
|
+
end
|
677
|
+
```
|
678
|
+
|
679
|
+
### Parameters
|
680
|
+
|
681
|
+
| Name | Type | Description | Notes |
|
682
|
+
| ---- | ---- | ----------- | ----- |
|
683
|
+
| **campaign_ids** | **String** | A comma-separated list of `campaign_id`s (UUID's). | |
|
684
|
+
|
685
|
+
### Return type
|
686
|
+
|
687
|
+
[**GetEmailStatsReport200Response**](GetEmailStatsReport200Response.md)
|
688
|
+
|
689
|
+
### Authorization
|
690
|
+
|
691
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
692
|
+
|
693
|
+
### HTTP request headers
|
694
|
+
|
695
|
+
- **Content-Type**: Not defined
|
696
|
+
- **Accept**: application/json
|
697
|
+
|
698
|
+
|
699
|
+
## get_forwards_report
|
700
|
+
|
701
|
+
> <GetForwardsReport200Response> get_forwards_report(campaign_activity_id, opts)
|
702
|
+
|
703
|
+
GET an Email Forwards Report
|
704
|
+
|
705
|
+
Use this method to get a report listing each time a contact forwarded the email campaign activity using the forwarding link in the email footer. The report includes general contact information, such as the contact's email address and unique ID, and the date and time that the email campaign activity was forwarded. Forwards report data is sorted with the most recent activity listed first. For more use case information, see [Get an Email Forwards Report](/api_guide/email_summary_forwards_report.html) in the API guide.
|
706
|
+
|
707
|
+
### Examples
|
708
|
+
|
709
|
+
```ruby
|
710
|
+
require 'time'
|
711
|
+
require 'constant_contact_client'
|
712
|
+
# setup authorization
|
713
|
+
ConstantContactClient.configure do |config|
|
714
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
715
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
716
|
+
|
717
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
718
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
719
|
+
end
|
720
|
+
|
721
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
722
|
+
campaign_activity_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The ID that uniquely identifies the email campaign activity to use for this report.
|
723
|
+
opts = {
|
724
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
725
|
+
}
|
726
|
+
|
727
|
+
begin
|
728
|
+
# GET an Email Forwards Report
|
729
|
+
result = api_instance.get_forwards_report(campaign_activity_id, opts)
|
730
|
+
p result
|
731
|
+
rescue ConstantContactClient::ApiError => e
|
732
|
+
puts "Error when calling EmailReportingApi->get_forwards_report: #{e}"
|
733
|
+
end
|
734
|
+
```
|
735
|
+
|
736
|
+
#### Using the get_forwards_report_with_http_info variant
|
737
|
+
|
738
|
+
This returns an Array which contains the response data, status code and headers.
|
739
|
+
|
740
|
+
> <Array(<GetForwardsReport200Response>, Integer, Hash)> get_forwards_report_with_http_info(campaign_activity_id, opts)
|
741
|
+
|
742
|
+
```ruby
|
743
|
+
begin
|
744
|
+
# GET an Email Forwards Report
|
745
|
+
data, status_code, headers = api_instance.get_forwards_report_with_http_info(campaign_activity_id, opts)
|
746
|
+
p status_code # => 2xx
|
747
|
+
p headers # => { ... }
|
748
|
+
p data # => <GetForwardsReport200Response>
|
749
|
+
rescue ConstantContactClient::ApiError => e
|
750
|
+
puts "Error when calling EmailReportingApi->get_forwards_report_with_http_info: #{e}"
|
751
|
+
end
|
752
|
+
```
|
753
|
+
|
754
|
+
### Parameters
|
755
|
+
|
756
|
+
| Name | Type | Description | Notes |
|
757
|
+
| ---- | ---- | ----------- | ----- |
|
758
|
+
| **campaign_activity_id** | **String** | The ID that uniquely identifies the email campaign activity to use for this report. | |
|
759
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
760
|
+
|
761
|
+
### Return type
|
762
|
+
|
763
|
+
[**GetForwardsReport200Response**](GetForwardsReport200Response.md)
|
764
|
+
|
765
|
+
### Authorization
|
766
|
+
|
767
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
768
|
+
|
769
|
+
### HTTP request headers
|
770
|
+
|
771
|
+
- **Content-Type**: Not defined
|
772
|
+
- **Accept**: application/json
|
773
|
+
|
774
|
+
|
775
|
+
## get_optouts_report
|
776
|
+
|
777
|
+
> <GetOptoutsReport200Response> get_optouts_report(campaign_activity_id, opts)
|
778
|
+
|
779
|
+
GET an Email Opt-outs Report
|
780
|
+
|
781
|
+
Use this method to get a report listing each contact that clicked the unsubscribe link in the email campaign activity to opt-out from receiving emails sent from your Constant Contact account. This report includes contact information, such as the contact's email address, unique ID, and the opt-out date and time. Opt-out report data is sorted with the most recent activity listed first. For more use case information, see [Get an Email Opt-outs Report](/api_guide/email_summary_optouts_report.html) in the API guide.
|
782
|
+
|
783
|
+
### Examples
|
784
|
+
|
785
|
+
```ruby
|
786
|
+
require 'time'
|
787
|
+
require 'constant_contact_client'
|
788
|
+
# setup authorization
|
789
|
+
ConstantContactClient.configure do |config|
|
790
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
791
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
792
|
+
|
793
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
794
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
795
|
+
end
|
796
|
+
|
797
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
798
|
+
campaign_activity_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The ID that uniquely identifies the email campaign activity to use for this report.
|
799
|
+
opts = {
|
800
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
801
|
+
}
|
802
|
+
|
803
|
+
begin
|
804
|
+
# GET an Email Opt-outs Report
|
805
|
+
result = api_instance.get_optouts_report(campaign_activity_id, opts)
|
806
|
+
p result
|
807
|
+
rescue ConstantContactClient::ApiError => e
|
808
|
+
puts "Error when calling EmailReportingApi->get_optouts_report: #{e}"
|
809
|
+
end
|
810
|
+
```
|
811
|
+
|
812
|
+
#### Using the get_optouts_report_with_http_info variant
|
813
|
+
|
814
|
+
This returns an Array which contains the response data, status code and headers.
|
815
|
+
|
816
|
+
> <Array(<GetOptoutsReport200Response>, Integer, Hash)> get_optouts_report_with_http_info(campaign_activity_id, opts)
|
817
|
+
|
818
|
+
```ruby
|
819
|
+
begin
|
820
|
+
# GET an Email Opt-outs Report
|
821
|
+
data, status_code, headers = api_instance.get_optouts_report_with_http_info(campaign_activity_id, opts)
|
822
|
+
p status_code # => 2xx
|
823
|
+
p headers # => { ... }
|
824
|
+
p data # => <GetOptoutsReport200Response>
|
825
|
+
rescue ConstantContactClient::ApiError => e
|
826
|
+
puts "Error when calling EmailReportingApi->get_optouts_report_with_http_info: #{e}"
|
827
|
+
end
|
828
|
+
```
|
829
|
+
|
830
|
+
### Parameters
|
831
|
+
|
832
|
+
| Name | Type | Description | Notes |
|
833
|
+
| ---- | ---- | ----------- | ----- |
|
834
|
+
| **campaign_activity_id** | **String** | The ID that uniquely identifies the email campaign activity to use for this report. | |
|
835
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
836
|
+
|
837
|
+
### Return type
|
838
|
+
|
839
|
+
[**GetOptoutsReport200Response**](GetOptoutsReport200Response.md)
|
840
|
+
|
841
|
+
### Authorization
|
842
|
+
|
843
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
844
|
+
|
845
|
+
### HTTP request headers
|
846
|
+
|
847
|
+
- **Content-Type**: Not defined
|
848
|
+
- **Accept**: application/json
|
849
|
+
|
850
|
+
|
851
|
+
## get_unique_opens_report
|
852
|
+
|
853
|
+
> <GetEmailOpensReport200Response> get_unique_opens_report(campaign_activity_id, opts)
|
854
|
+
|
855
|
+
GET an Email Unique Opens Report
|
856
|
+
|
857
|
+
Use this method to get a unique opens report that provides details about the last time that each contact opened the specified email campaign activity. This report includes general contact information such as the contact's email address and unique ID, the date and time they opened the email campaign activity, and the type of device they used to open it. This report lists the most recent activity first. For more use case information, see [Get an Unique Opens Report for an Email Campaign Activity](/api_guide/email_summary_unique_opens_report.html) in the API guide.
|
858
|
+
|
859
|
+
### Examples
|
860
|
+
|
861
|
+
```ruby
|
862
|
+
require 'time'
|
863
|
+
require 'constant_contact_client'
|
864
|
+
# setup authorization
|
865
|
+
ConstantContactClient.configure do |config|
|
866
|
+
# Configure OAuth2 access token for authorization: oauth2_access_code
|
867
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
868
|
+
|
869
|
+
# Configure OAuth2 access token for authorization: oauth2_implicit
|
870
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
871
|
+
end
|
872
|
+
|
873
|
+
api_instance = ConstantContactClient::EmailReportingApi.new
|
874
|
+
campaign_activity_id = '8892baf9-970a-4de6-8400-fa4ec461987c' # String | The ID that uniquely identifies the email campaign activity to use for this report.
|
875
|
+
opts = {
|
876
|
+
limit: 'limit_example' # String | The number of tracking activities to return on a page.
|
877
|
+
}
|
878
|
+
|
879
|
+
begin
|
880
|
+
# GET an Email Unique Opens Report
|
881
|
+
result = api_instance.get_unique_opens_report(campaign_activity_id, opts)
|
882
|
+
p result
|
883
|
+
rescue ConstantContactClient::ApiError => e
|
884
|
+
puts "Error when calling EmailReportingApi->get_unique_opens_report: #{e}"
|
885
|
+
end
|
886
|
+
```
|
887
|
+
|
888
|
+
#### Using the get_unique_opens_report_with_http_info variant
|
889
|
+
|
890
|
+
This returns an Array which contains the response data, status code and headers.
|
891
|
+
|
892
|
+
> <Array(<GetEmailOpensReport200Response>, Integer, Hash)> get_unique_opens_report_with_http_info(campaign_activity_id, opts)
|
893
|
+
|
894
|
+
```ruby
|
895
|
+
begin
|
896
|
+
# GET an Email Unique Opens Report
|
897
|
+
data, status_code, headers = api_instance.get_unique_opens_report_with_http_info(campaign_activity_id, opts)
|
898
|
+
p status_code # => 2xx
|
899
|
+
p headers # => { ... }
|
900
|
+
p data # => <GetEmailOpensReport200Response>
|
901
|
+
rescue ConstantContactClient::ApiError => e
|
902
|
+
puts "Error when calling EmailReportingApi->get_unique_opens_report_with_http_info: #{e}"
|
903
|
+
end
|
904
|
+
```
|
905
|
+
|
906
|
+
### Parameters
|
907
|
+
|
908
|
+
| Name | Type | Description | Notes |
|
909
|
+
| ---- | ---- | ----------- | ----- |
|
910
|
+
| **campaign_activity_id** | **String** | The ID that uniquely identifies the email campaign activity to use for this report. | |
|
911
|
+
| **limit** | **String** | The number of tracking activities to return on a page. | [optional][default to '500'] |
|
912
|
+
|
913
|
+
### Return type
|
914
|
+
|
915
|
+
[**GetEmailOpensReport200Response**](GetEmailOpensReport200Response.md)
|
916
|
+
|
917
|
+
### Authorization
|
918
|
+
|
919
|
+
[oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
|
920
|
+
|
921
|
+
### HTTP request headers
|
922
|
+
|
923
|
+
- **Content-Type**: Not defined
|
924
|
+
- **Accept**: application/json
|
925
|
+
|