ElasticEmail 4.0.1
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/DIFF +0 -0
- data/ElasticEmail.gemspec +38 -0
- data/Gemfile +9 -0
- data/README.md +286 -0
- data/Rakefile +10 -0
- data/VERSION +1 -0
- data/docs/AccessLevel.md +15 -0
- data/docs/AccountStatusEnum.md +15 -0
- data/docs/ApiKey.md +28 -0
- data/docs/ApiKeyPayload.md +26 -0
- data/docs/BodyContentType.md +15 -0
- data/docs/BodyPart.md +22 -0
- data/docs/Campaign.md +26 -0
- data/docs/CampaignOptions.md +26 -0
- data/docs/CampaignRecipient.md +20 -0
- data/docs/CampaignStatus.md +15 -0
- data/docs/CampaignTemplate.md +30 -0
- data/docs/CampaignsApi.md +374 -0
- data/docs/ChannelLogStatusSummary.md +44 -0
- data/docs/CompressionFormat.md +15 -0
- data/docs/ConsentData.md +22 -0
- data/docs/ConsentTracking.md +15 -0
- data/docs/Contact.md +38 -0
- data/docs/ContactActivity.md +38 -0
- data/docs/ContactHistEventType.md +15 -0
- data/docs/ContactHistory.md +30 -0
- data/docs/ContactPayload.md +28 -0
- data/docs/ContactSource.md +15 -0
- data/docs/ContactStatus.md +15 -0
- data/docs/ContactUpdatePayload.md +22 -0
- data/docs/ContactsApi.md +756 -0
- data/docs/ContactsList.md +24 -0
- data/docs/DeliveryOptimizationType.md +15 -0
- data/docs/EmailContent.md +38 -0
- data/docs/EmailData.md +22 -0
- data/docs/EmailMessageData.md +22 -0
- data/docs/EmailRecipient.md +20 -0
- data/docs/EmailSend.md +20 -0
- data/docs/EmailStatus.md +40 -0
- data/docs/EmailTransactionalMessageData.md +22 -0
- data/docs/EmailValidationResult.md +34 -0
- data/docs/EmailValidationStatus.md +15 -0
- data/docs/EmailView.md +22 -0
- data/docs/EmailsApi.md +295 -0
- data/docs/EmailsPayload.md +20 -0
- data/docs/EncodingType.md +15 -0
- data/docs/EventType.md +15 -0
- data/docs/EventsApi.md +575 -0
- data/docs/EventsOrderBy.md +15 -0
- data/docs/ExportFileFormats.md +15 -0
- data/docs/ExportLink.md +20 -0
- data/docs/ExportStatus.md +15 -0
- data/docs/FileInfo.md +26 -0
- data/docs/FilePayload.md +22 -0
- data/docs/FileUploadResult.md +20 -0
- data/docs/FilesApi.md +374 -0
- data/docs/InboundPayload.md +28 -0
- data/docs/InboundRoute.md +30 -0
- data/docs/InboundRouteActionType.md +15 -0
- data/docs/InboundRouteApi.md +437 -0
- data/docs/InboundRouteFilterType.md +15 -0
- data/docs/ListPayload.md +22 -0
- data/docs/ListUpdatePayload.md +20 -0
- data/docs/ListsApi.md +519 -0
- data/docs/LogJobStatus.md +15 -0
- data/docs/LogStatusSummary.md +42 -0
- data/docs/MergeEmailPayload.md +22 -0
- data/docs/MessageAttachment.md +22 -0
- data/docs/MessageCategory.md +15 -0
- data/docs/NewApiKey.md +30 -0
- data/docs/NewSmtpCredentials.md +30 -0
- data/docs/Options.md +28 -0
- data/docs/RecipientEvent.md +42 -0
- data/docs/SecurityApi.md +749 -0
- data/docs/Segment.md +20 -0
- data/docs/SegmentPayload.md +20 -0
- data/docs/SegmentsApi.md +372 -0
- data/docs/SmtpCredentials.md +28 -0
- data/docs/SmtpCredentialsPayload.md +24 -0
- data/docs/SortOrderItem.md +20 -0
- data/docs/SplitOptimizationType.md +15 -0
- data/docs/SplitOptions.md +20 -0
- data/docs/StatisticsApi.md +379 -0
- data/docs/SubAccountInfo.md +34 -0
- data/docs/SubAccountsApi.md +445 -0
- data/docs/SubaccountEmailCreditsPayload.md +20 -0
- data/docs/SubaccountEmailSettings.md +30 -0
- data/docs/SubaccountEmailSettingsPayload.md +28 -0
- data/docs/SubaccountPayload.md +24 -0
- data/docs/SubaccountSettingsInfo.md +18 -0
- data/docs/SubaccountSettingsInfoPayload.md +18 -0
- data/docs/Suppression.md +24 -0
- data/docs/SuppressionsApi.md +895 -0
- data/docs/Template.md +28 -0
- data/docs/TemplatePayload.md +24 -0
- data/docs/TemplateScopeType.md +15 -0
- data/docs/TemplateType.md +15 -0
- data/docs/TemplatesApi.md +376 -0
- data/docs/TransactionalRecipient.md +22 -0
- data/docs/Utm.md +24 -0
- data/docs/VerificationFileResult.md +28 -0
- data/docs/VerificationFileResultDetails.md +30 -0
- data/docs/VerificationStatus.md +15 -0
- data/docs/VerificationsApi.md +662 -0
- data/lib/ElasticEmail.rb +137 -0
- data/lib/ElasticEmail/api/campaigns_api.rb +348 -0
- data/lib/ElasticEmail/api/contacts_api.rb +681 -0
- data/lib/ElasticEmail/api/emails_api.rb +280 -0
- data/lib/ElasticEmail/api/events_api.rb +538 -0
- data/lib/ElasticEmail/api/files_api.rb +340 -0
- data/lib/ElasticEmail/api/inbound_route_api.rb +404 -0
- data/lib/ElasticEmail/api/lists_api.rb +485 -0
- data/lib/ElasticEmail/api/security_api.rb +674 -0
- data/lib/ElasticEmail/api/segments_api.rb +345 -0
- data/lib/ElasticEmail/api/statistics_api.rb +341 -0
- data/lib/ElasticEmail/api/sub_accounts_api.rb +414 -0
- data/lib/ElasticEmail/api/suppressions_api.rb +782 -0
- data/lib/ElasticEmail/api/templates_api.rb +355 -0
- data/lib/ElasticEmail/api/verifications_api.rb +584 -0
- data/lib/ElasticEmail/api_client.rb +390 -0
- data/lib/ElasticEmail/api_error.rb +57 -0
- data/lib/ElasticEmail/configuration.rb +277 -0
- data/lib/ElasticEmail/models/access_level.rb +79 -0
- data/lib/ElasticEmail/models/account_status_enum.rb +40 -0
- data/lib/ElasticEmail/models/api_key.rb +276 -0
- data/lib/ElasticEmail/models/api_key_payload.rb +265 -0
- data/lib/ElasticEmail/models/body_content_type.rb +39 -0
- data/lib/ElasticEmail/models/body_part.rb +240 -0
- data/lib/ElasticEmail/models/campaign.rb +261 -0
- data/lib/ElasticEmail/models/campaign_options.rb +263 -0
- data/lib/ElasticEmail/models/campaign_recipient.rb +234 -0
- data/lib/ElasticEmail/models/campaign_status.rb +43 -0
- data/lib/ElasticEmail/models/campaign_template.rb +282 -0
- data/lib/ElasticEmail/models/channel_log_status_summary.rb +350 -0
- data/lib/ElasticEmail/models/compression_format.rb +37 -0
- data/lib/ElasticEmail/models/consent_data.rb +240 -0
- data/lib/ElasticEmail/models/consent_tracking.rb +38 -0
- data/lib/ElasticEmail/models/contact.rb +323 -0
- data/lib/ElasticEmail/models/contact_activity.rb +324 -0
- data/lib/ElasticEmail/models/contact_hist_event_type.rb +49 -0
- data/lib/ElasticEmail/models/contact_history.rb +279 -0
- data/lib/ElasticEmail/models/contact_payload.rb +270 -0
- data/lib/ElasticEmail/models/contact_source.rb +42 -0
- data/lib/ElasticEmail/models/contact_status.rb +44 -0
- data/lib/ElasticEmail/models/contact_update_payload.rb +241 -0
- data/lib/ElasticEmail/models/contacts_list.rb +251 -0
- data/lib/ElasticEmail/models/delivery_optimization_type.rb +38 -0
- data/lib/ElasticEmail/models/email_content.rb +330 -0
- data/lib/ElasticEmail/models/email_data.rb +241 -0
- data/lib/ElasticEmail/models/email_message_data.rb +242 -0
- data/lib/ElasticEmail/models/email_recipient.rb +232 -0
- data/lib/ElasticEmail/models/email_send.rb +229 -0
- data/lib/ElasticEmail/models/email_status.rb +332 -0
- data/lib/ElasticEmail/models/email_transactional_message_data.rb +240 -0
- data/lib/ElasticEmail/models/email_validation_result.rb +300 -0
- data/lib/ElasticEmail/models/email_validation_status.rb +40 -0
- data/lib/ElasticEmail/models/email_view.rb +240 -0
- data/lib/ElasticEmail/models/emails_payload.rb +232 -0
- data/lib/ElasticEmail/models/encoding_type.rb +42 -0
- data/lib/ElasticEmail/models/event_type.rb +43 -0
- data/lib/ElasticEmail/models/events_order_by.rb +37 -0
- data/lib/ElasticEmail/models/export_file_formats.rb +38 -0
- data/lib/ElasticEmail/models/export_link.rb +229 -0
- data/lib/ElasticEmail/models/export_status.rb +39 -0
- data/lib/ElasticEmail/models/file_info.rb +262 -0
- data/lib/ElasticEmail/models/file_payload.rb +239 -0
- data/lib/ElasticEmail/models/file_upload_result.rb +229 -0
- data/lib/ElasticEmail/models/inbound_payload.rb +269 -0
- data/lib/ElasticEmail/models/inbound_route.rb +278 -0
- data/lib/ElasticEmail/models/inbound_route_action_type.rb +38 -0
- data/lib/ElasticEmail/models/inbound_route_filter_type.rb +37 -0
- data/lib/ElasticEmail/models/list_payload.rb +241 -0
- data/lib/ElasticEmail/models/list_update_payload.rb +229 -0
- data/lib/ElasticEmail/models/log_job_status.rb +45 -0
- data/lib/ElasticEmail/models/log_status_summary.rb +340 -0
- data/lib/ElasticEmail/models/merge_email_payload.rb +239 -0
- data/lib/ElasticEmail/models/message_attachment.rb +237 -0
- data/lib/ElasticEmail/models/message_category.rb +52 -0
- data/lib/ElasticEmail/models/new_api_key.rb +286 -0
- data/lib/ElasticEmail/models/new_smtp_credentials.rb +284 -0
- data/lib/ElasticEmail/models/options.rb +271 -0
- data/lib/ElasticEmail/models/recipient_event.rb +341 -0
- data/lib/ElasticEmail/models/segment.rb +230 -0
- data/lib/ElasticEmail/models/segment_payload.rb +229 -0
- data/lib/ElasticEmail/models/smtp_credentials.rb +274 -0
- data/lib/ElasticEmail/models/smtp_credentials_payload.rb +253 -0
- data/lib/ElasticEmail/models/sort_order_item.rb +229 -0
- data/lib/ElasticEmail/models/split_optimization_type.rb +37 -0
- data/lib/ElasticEmail/models/split_options.rb +230 -0
- data/lib/ElasticEmail/models/sub_account_info.rb +300 -0
- data/lib/ElasticEmail/models/subaccount_email_credits_payload.rb +230 -0
- data/lib/ElasticEmail/models/subaccount_email_settings.rb +280 -0
- data/lib/ElasticEmail/models/subaccount_email_settings_payload.rb +270 -0
- data/lib/ElasticEmail/models/subaccount_payload.rb +250 -0
- data/lib/ElasticEmail/models/subaccount_settings_info.rb +220 -0
- data/lib/ElasticEmail/models/subaccount_settings_info_payload.rb +220 -0
- data/lib/ElasticEmail/models/suppression.rb +252 -0
- data/lib/ElasticEmail/models/template.rb +272 -0
- data/lib/ElasticEmail/models/template_payload.rb +252 -0
- data/lib/ElasticEmail/models/template_scope_type.rb +38 -0
- data/lib/ElasticEmail/models/template_type.rb +38 -0
- data/lib/ElasticEmail/models/transactional_recipient.rb +246 -0
- data/lib/ElasticEmail/models/utm.rb +250 -0
- data/lib/ElasticEmail/models/verification_file_result.rb +270 -0
- data/lib/ElasticEmail/models/verification_file_result_details.rb +282 -0
- data/lib/ElasticEmail/models/verification_status.rb +40 -0
- data/lib/ElasticEmail/version.rb +15 -0
- data/spec/api/campaigns_api_spec.rb +98 -0
- data/spec/api/contacts_api_spec.rb +166 -0
- data/spec/api/emails_api_spec.rb +83 -0
- data/spec/api/events_api_spec.rb +146 -0
- data/spec/api/files_api_spec.rb +97 -0
- data/spec/api/inbound_route_api_spec.rb +107 -0
- data/spec/api/lists_api_spec.rb +123 -0
- data/spec/api/security_api_spec.rb +161 -0
- data/spec/api/segments_api_spec.rb +97 -0
- data/spec/api/statistics_api_spec.rb +98 -0
- data/spec/api/sub_accounts_api_spec.rb +110 -0
- data/spec/api/suppressions_api_spec.rb +186 -0
- data/spec/api/templates_api_spec.rb +99 -0
- data/spec/api/verifications_api_spec.rb +145 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/access_level_spec.rb +28 -0
- data/spec/models/account_status_enum_spec.rb +28 -0
- data/spec/models/api_key_payload_spec.rb +58 -0
- data/spec/models/api_key_spec.rb +64 -0
- data/spec/models/body_content_type_spec.rb +28 -0
- data/spec/models/body_part_spec.rb +46 -0
- data/spec/models/campaign_options_spec.rb +58 -0
- data/spec/models/campaign_recipient_spec.rb +40 -0
- data/spec/models/campaign_spec.rb +58 -0
- data/spec/models/campaign_status_spec.rb +28 -0
- data/spec/models/campaign_template_spec.rb +70 -0
- data/spec/models/channel_log_status_summary_spec.rb +112 -0
- data/spec/models/compression_format_spec.rb +28 -0
- data/spec/models/consent_data_spec.rb +46 -0
- data/spec/models/consent_tracking_spec.rb +28 -0
- data/spec/models/contact_activity_spec.rb +94 -0
- data/spec/models/contact_hist_event_type_spec.rb +28 -0
- data/spec/models/contact_history_spec.rb +70 -0
- data/spec/models/contact_payload_spec.rb +64 -0
- data/spec/models/contact_source_spec.rb +28 -0
- data/spec/models/contact_spec.rb +94 -0
- data/spec/models/contact_status_spec.rb +28 -0
- data/spec/models/contact_update_payload_spec.rb +46 -0
- data/spec/models/contacts_list_spec.rb +52 -0
- data/spec/models/delivery_optimization_type_spec.rb +28 -0
- data/spec/models/email_content_spec.rb +94 -0
- data/spec/models/email_data_spec.rb +46 -0
- data/spec/models/email_message_data_spec.rb +46 -0
- data/spec/models/email_recipient_spec.rb +40 -0
- data/spec/models/email_send_spec.rb +40 -0
- data/spec/models/email_status_spec.rb +100 -0
- data/spec/models/email_transactional_message_data_spec.rb +46 -0
- data/spec/models/email_validation_result_spec.rb +82 -0
- data/spec/models/email_validation_status_spec.rb +28 -0
- data/spec/models/email_view_spec.rb +46 -0
- data/spec/models/emails_payload_spec.rb +40 -0
- data/spec/models/encoding_type_spec.rb +28 -0
- data/spec/models/event_type_spec.rb +28 -0
- data/spec/models/events_order_by_spec.rb +28 -0
- data/spec/models/export_file_formats_spec.rb +28 -0
- data/spec/models/export_link_spec.rb +40 -0
- data/spec/models/export_status_spec.rb +28 -0
- data/spec/models/file_info_spec.rb +58 -0
- data/spec/models/file_payload_spec.rb +46 -0
- data/spec/models/file_upload_result_spec.rb +40 -0
- data/spec/models/inbound_payload_spec.rb +64 -0
- data/spec/models/inbound_route_action_type_spec.rb +28 -0
- data/spec/models/inbound_route_filter_type_spec.rb +28 -0
- data/spec/models/inbound_route_spec.rb +70 -0
- data/spec/models/list_payload_spec.rb +46 -0
- data/spec/models/list_update_payload_spec.rb +40 -0
- data/spec/models/log_job_status_spec.rb +28 -0
- data/spec/models/log_status_summary_spec.rb +106 -0
- data/spec/models/merge_email_payload_spec.rb +46 -0
- data/spec/models/message_attachment_spec.rb +46 -0
- data/spec/models/message_category_spec.rb +28 -0
- data/spec/models/new_api_key_spec.rb +70 -0
- data/spec/models/new_smtp_credentials_spec.rb +70 -0
- data/spec/models/options_spec.rb +64 -0
- data/spec/models/recipient_event_spec.rb +106 -0
- data/spec/models/segment_payload_spec.rb +40 -0
- data/spec/models/segment_spec.rb +40 -0
- data/spec/models/smtp_credentials_payload_spec.rb +52 -0
- data/spec/models/smtp_credentials_spec.rb +64 -0
- data/spec/models/sort_order_item_spec.rb +40 -0
- data/spec/models/split_optimization_type_spec.rb +28 -0
- data/spec/models/split_options_spec.rb +40 -0
- data/spec/models/sub_account_info_spec.rb +82 -0
- data/spec/models/subaccount_email_credits_payload_spec.rb +40 -0
- data/spec/models/subaccount_email_settings_payload_spec.rb +64 -0
- data/spec/models/subaccount_email_settings_spec.rb +70 -0
- data/spec/models/subaccount_payload_spec.rb +52 -0
- data/spec/models/subaccount_settings_info_payload_spec.rb +34 -0
- data/spec/models/subaccount_settings_info_spec.rb +34 -0
- data/spec/models/suppression_spec.rb +52 -0
- data/spec/models/template_payload_spec.rb +52 -0
- data/spec/models/template_scope_type_spec.rb +28 -0
- data/spec/models/template_spec.rb +64 -0
- data/spec/models/template_type_spec.rb +28 -0
- data/spec/models/transactional_recipient_spec.rb +46 -0
- data/spec/models/utm_spec.rb +52 -0
- data/spec/models/verification_file_result_details_spec.rb +70 -0
- data/spec/models/verification_file_result_spec.rb +64 -0
- data/spec/models/verification_status_spec.rb +28 -0
- data/spec/spec_helper.rb +111 -0
- metadata +498 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
# ElasticEmail::EmailsPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **rule** | **String** | SQL-like rule. Sending 'All' as a value loads all resources of the given type. | [optional] |
|
8
|
+
| **emails** | **Array<String>** | Comma delimited list of contact emails | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ElasticEmail'
|
14
|
+
|
15
|
+
instance = ElasticEmail::EmailsPayload.new(
|
16
|
+
rule: null,
|
17
|
+
emails: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/EventType.md
ADDED
data/docs/EventsApi.md
ADDED
@@ -0,0 +1,575 @@
|
|
1
|
+
# ElasticEmail::EventsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.elasticemail.com/v4*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**events_by_transactionid_get**](EventsApi.md#events_by_transactionid_get) | **GET** /events/{transactionid} | Load Email Events |
|
8
|
+
| [**events_channels_by_name_export_post**](EventsApi.md#events_channels_by_name_export_post) | **POST** /events/channels/{name}/export | Export Channel Events |
|
9
|
+
| [**events_channels_by_name_get**](EventsApi.md#events_channels_by_name_get) | **GET** /events/channels/{name} | Load Channel Events |
|
10
|
+
| [**events_channels_export_by_id_status_get**](EventsApi.md#events_channels_export_by_id_status_get) | **GET** /events/channels/export/{id}/status | Check Channel Export Status |
|
11
|
+
| [**events_export_by_id_status_get**](EventsApi.md#events_export_by_id_status_get) | **GET** /events/export/{id}/status | Check Export Status |
|
12
|
+
| [**events_export_post**](EventsApi.md#events_export_post) | **POST** /events/export | Export Events |
|
13
|
+
| [**events_get**](EventsApi.md#events_get) | **GET** /events | Load Events |
|
14
|
+
|
15
|
+
|
16
|
+
## events_by_transactionid_get
|
17
|
+
|
18
|
+
> <Array<RecipientEvent>> events_by_transactionid_get(transactionid, opts)
|
19
|
+
|
20
|
+
Load Email Events
|
21
|
+
|
22
|
+
Returns a log of delivery events for the specific transaction ID. Required Access Level: ViewReports
|
23
|
+
|
24
|
+
### Examples
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
require 'time'
|
28
|
+
require 'ElasticEmail'
|
29
|
+
# setup authorization
|
30
|
+
ElasticEmail.configure do |config|
|
31
|
+
# Configure API key authorization: apikey
|
32
|
+
config.api_key['apikey'] = 'YOUR API KEY'
|
33
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
34
|
+
# config.api_key_prefix['apikey'] = 'Bearer'
|
35
|
+
end
|
36
|
+
|
37
|
+
api_instance = ElasticEmail::EventsApi.new
|
38
|
+
transactionid = 'TransactionID' # String | ID number of transaction
|
39
|
+
opts = {
|
40
|
+
from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
41
|
+
to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
42
|
+
order_by: ElasticEmail::EventsOrderBy::DATE_DESCENDING, # EventsOrderBy |
|
43
|
+
limit: 100, # Integer | Maximum number of returned items.
|
44
|
+
offset: 20 # Integer | How many items should be returned ahead.
|
45
|
+
}
|
46
|
+
|
47
|
+
begin
|
48
|
+
# Load Email Events
|
49
|
+
result = api_instance.events_by_transactionid_get(transactionid, opts)
|
50
|
+
p result
|
51
|
+
rescue ElasticEmail::ApiError => e
|
52
|
+
puts "Error when calling EventsApi->events_by_transactionid_get: #{e}"
|
53
|
+
end
|
54
|
+
```
|
55
|
+
|
56
|
+
#### Using the events_by_transactionid_get_with_http_info variant
|
57
|
+
|
58
|
+
This returns an Array which contains the response data, status code and headers.
|
59
|
+
|
60
|
+
> <Array(<Array<RecipientEvent>>, Integer, Hash)> events_by_transactionid_get_with_http_info(transactionid, opts)
|
61
|
+
|
62
|
+
```ruby
|
63
|
+
begin
|
64
|
+
# Load Email Events
|
65
|
+
data, status_code, headers = api_instance.events_by_transactionid_get_with_http_info(transactionid, opts)
|
66
|
+
p status_code # => 2xx
|
67
|
+
p headers # => { ... }
|
68
|
+
p data # => <Array<RecipientEvent>>
|
69
|
+
rescue ElasticEmail::ApiError => e
|
70
|
+
puts "Error when calling EventsApi->events_by_transactionid_get_with_http_info: #{e}"
|
71
|
+
end
|
72
|
+
```
|
73
|
+
|
74
|
+
### Parameters
|
75
|
+
|
76
|
+
| Name | Type | Description | Notes |
|
77
|
+
| ---- | ---- | ----------- | ----- |
|
78
|
+
| **transactionid** | **String** | ID number of transaction | |
|
79
|
+
| **from** | **Time** | Starting date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
80
|
+
| **to** | **Time** | Ending date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
81
|
+
| **order_by** | [**EventsOrderBy**](.md) | | [optional] |
|
82
|
+
| **limit** | **Integer** | Maximum number of returned items. | [optional] |
|
83
|
+
| **offset** | **Integer** | How many items should be returned ahead. | [optional] |
|
84
|
+
|
85
|
+
### Return type
|
86
|
+
|
87
|
+
[**Array<RecipientEvent>**](RecipientEvent.md)
|
88
|
+
|
89
|
+
### Authorization
|
90
|
+
|
91
|
+
[apikey](../README.md#apikey)
|
92
|
+
|
93
|
+
### HTTP request headers
|
94
|
+
|
95
|
+
- **Content-Type**: Not defined
|
96
|
+
- **Accept**: application/json
|
97
|
+
|
98
|
+
|
99
|
+
## events_channels_by_name_export_post
|
100
|
+
|
101
|
+
> <ExportLink> events_channels_by_name_export_post(name, opts)
|
102
|
+
|
103
|
+
Export Channel Events
|
104
|
+
|
105
|
+
Export delivery events log information to the specified file format. Required Access Level: Export
|
106
|
+
|
107
|
+
### Examples
|
108
|
+
|
109
|
+
```ruby
|
110
|
+
require 'time'
|
111
|
+
require 'ElasticEmail'
|
112
|
+
# setup authorization
|
113
|
+
ElasticEmail.configure do |config|
|
114
|
+
# Configure API key authorization: apikey
|
115
|
+
config.api_key['apikey'] = 'YOUR API KEY'
|
116
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
117
|
+
# config.api_key_prefix['apikey'] = 'Bearer'
|
118
|
+
end
|
119
|
+
|
120
|
+
api_instance = ElasticEmail::EventsApi.new
|
121
|
+
name = 'Channel01' # String | Name of selected channel.
|
122
|
+
opts = {
|
123
|
+
event_types: [ElasticEmail::EventType::SUBMISSION], # Array<EventType> | Types of Events to return
|
124
|
+
from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
125
|
+
to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
126
|
+
file_format: ElasticEmail::ExportFileFormats::CSV, # ExportFileFormats | Format of the exported file
|
127
|
+
compression_format: ElasticEmail::CompressionFormat::NONE, # CompressionFormat | FileResponse compression format. None or Zip.
|
128
|
+
file_name: 'filename.txt' # String | Name of your file including extension.
|
129
|
+
}
|
130
|
+
|
131
|
+
begin
|
132
|
+
# Export Channel Events
|
133
|
+
result = api_instance.events_channels_by_name_export_post(name, opts)
|
134
|
+
p result
|
135
|
+
rescue ElasticEmail::ApiError => e
|
136
|
+
puts "Error when calling EventsApi->events_channels_by_name_export_post: #{e}"
|
137
|
+
end
|
138
|
+
```
|
139
|
+
|
140
|
+
#### Using the events_channels_by_name_export_post_with_http_info variant
|
141
|
+
|
142
|
+
This returns an Array which contains the response data, status code and headers.
|
143
|
+
|
144
|
+
> <Array(<ExportLink>, Integer, Hash)> events_channels_by_name_export_post_with_http_info(name, opts)
|
145
|
+
|
146
|
+
```ruby
|
147
|
+
begin
|
148
|
+
# Export Channel Events
|
149
|
+
data, status_code, headers = api_instance.events_channels_by_name_export_post_with_http_info(name, opts)
|
150
|
+
p status_code # => 2xx
|
151
|
+
p headers # => { ... }
|
152
|
+
p data # => <ExportLink>
|
153
|
+
rescue ElasticEmail::ApiError => e
|
154
|
+
puts "Error when calling EventsApi->events_channels_by_name_export_post_with_http_info: #{e}"
|
155
|
+
end
|
156
|
+
```
|
157
|
+
|
158
|
+
### Parameters
|
159
|
+
|
160
|
+
| Name | Type | Description | Notes |
|
161
|
+
| ---- | ---- | ----------- | ----- |
|
162
|
+
| **name** | **String** | Name of selected channel. | |
|
163
|
+
| **event_types** | [**Array<EventType>**](EventType.md) | Types of Events to return | [optional] |
|
164
|
+
| **from** | **Time** | Starting date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
165
|
+
| **to** | **Time** | Ending date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
166
|
+
| **file_format** | [**ExportFileFormats**](.md) | Format of the exported file | [optional] |
|
167
|
+
| **compression_format** | [**CompressionFormat**](.md) | FileResponse compression format. None or Zip. | [optional] |
|
168
|
+
| **file_name** | **String** | Name of your file including extension. | [optional] |
|
169
|
+
|
170
|
+
### Return type
|
171
|
+
|
172
|
+
[**ExportLink**](ExportLink.md)
|
173
|
+
|
174
|
+
### Authorization
|
175
|
+
|
176
|
+
[apikey](../README.md#apikey)
|
177
|
+
|
178
|
+
### HTTP request headers
|
179
|
+
|
180
|
+
- **Content-Type**: Not defined
|
181
|
+
- **Accept**: application/json
|
182
|
+
|
183
|
+
|
184
|
+
## events_channels_by_name_get
|
185
|
+
|
186
|
+
> <Array<RecipientEvent>> events_channels_by_name_get(name, opts)
|
187
|
+
|
188
|
+
Load Channel Events
|
189
|
+
|
190
|
+
Returns a log of delivery events filtered by specified parameters. Required Access Level: ViewReports
|
191
|
+
|
192
|
+
### Examples
|
193
|
+
|
194
|
+
```ruby
|
195
|
+
require 'time'
|
196
|
+
require 'ElasticEmail'
|
197
|
+
# setup authorization
|
198
|
+
ElasticEmail.configure do |config|
|
199
|
+
# Configure API key authorization: apikey
|
200
|
+
config.api_key['apikey'] = 'YOUR API KEY'
|
201
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
202
|
+
# config.api_key_prefix['apikey'] = 'Bearer'
|
203
|
+
end
|
204
|
+
|
205
|
+
api_instance = ElasticEmail::EventsApi.new
|
206
|
+
name = 'Channel01' # String | Name of selected channel.
|
207
|
+
opts = {
|
208
|
+
event_types: [ElasticEmail::EventType::SUBMISSION], # Array<EventType> | Types of Events to return
|
209
|
+
from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
210
|
+
to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
211
|
+
order_by: ElasticEmail::EventsOrderBy::DATE_DESCENDING, # EventsOrderBy |
|
212
|
+
limit: 56, # Integer | How many items to load. Maximum for this request is 1000 items
|
213
|
+
offset: 20 # Integer | How many items should be returned ahead.
|
214
|
+
}
|
215
|
+
|
216
|
+
begin
|
217
|
+
# Load Channel Events
|
218
|
+
result = api_instance.events_channels_by_name_get(name, opts)
|
219
|
+
p result
|
220
|
+
rescue ElasticEmail::ApiError => e
|
221
|
+
puts "Error when calling EventsApi->events_channels_by_name_get: #{e}"
|
222
|
+
end
|
223
|
+
```
|
224
|
+
|
225
|
+
#### Using the events_channels_by_name_get_with_http_info variant
|
226
|
+
|
227
|
+
This returns an Array which contains the response data, status code and headers.
|
228
|
+
|
229
|
+
> <Array(<Array<RecipientEvent>>, Integer, Hash)> events_channels_by_name_get_with_http_info(name, opts)
|
230
|
+
|
231
|
+
```ruby
|
232
|
+
begin
|
233
|
+
# Load Channel Events
|
234
|
+
data, status_code, headers = api_instance.events_channels_by_name_get_with_http_info(name, opts)
|
235
|
+
p status_code # => 2xx
|
236
|
+
p headers # => { ... }
|
237
|
+
p data # => <Array<RecipientEvent>>
|
238
|
+
rescue ElasticEmail::ApiError => e
|
239
|
+
puts "Error when calling EventsApi->events_channels_by_name_get_with_http_info: #{e}"
|
240
|
+
end
|
241
|
+
```
|
242
|
+
|
243
|
+
### Parameters
|
244
|
+
|
245
|
+
| Name | Type | Description | Notes |
|
246
|
+
| ---- | ---- | ----------- | ----- |
|
247
|
+
| **name** | **String** | Name of selected channel. | |
|
248
|
+
| **event_types** | [**Array<EventType>**](EventType.md) | Types of Events to return | [optional] |
|
249
|
+
| **from** | **Time** | Starting date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
250
|
+
| **to** | **Time** | Ending date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
251
|
+
| **order_by** | [**EventsOrderBy**](.md) | | [optional] |
|
252
|
+
| **limit** | **Integer** | How many items to load. Maximum for this request is 1000 items | [optional] |
|
253
|
+
| **offset** | **Integer** | How many items should be returned ahead. | [optional] |
|
254
|
+
|
255
|
+
### Return type
|
256
|
+
|
257
|
+
[**Array<RecipientEvent>**](RecipientEvent.md)
|
258
|
+
|
259
|
+
### Authorization
|
260
|
+
|
261
|
+
[apikey](../README.md#apikey)
|
262
|
+
|
263
|
+
### HTTP request headers
|
264
|
+
|
265
|
+
- **Content-Type**: Not defined
|
266
|
+
- **Accept**: application/json
|
267
|
+
|
268
|
+
|
269
|
+
## events_channels_export_by_id_status_get
|
270
|
+
|
271
|
+
> <ExportStatus> events_channels_export_by_id_status_get(id)
|
272
|
+
|
273
|
+
Check Channel Export Status
|
274
|
+
|
275
|
+
Check the current status of the channel export. Required Access Level: Export
|
276
|
+
|
277
|
+
### Examples
|
278
|
+
|
279
|
+
```ruby
|
280
|
+
require 'time'
|
281
|
+
require 'ElasticEmail'
|
282
|
+
# setup authorization
|
283
|
+
ElasticEmail.configure do |config|
|
284
|
+
# Configure API key authorization: apikey
|
285
|
+
config.api_key['apikey'] = 'YOUR API KEY'
|
286
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
287
|
+
# config.api_key_prefix['apikey'] = 'Bearer'
|
288
|
+
end
|
289
|
+
|
290
|
+
api_instance = ElasticEmail::EventsApi.new
|
291
|
+
id = 'E33EBA7A-C20D-4D3D-8F2F-5EEF42F58E6F' # String | ID of the exported file
|
292
|
+
|
293
|
+
begin
|
294
|
+
# Check Channel Export Status
|
295
|
+
result = api_instance.events_channels_export_by_id_status_get(id)
|
296
|
+
p result
|
297
|
+
rescue ElasticEmail::ApiError => e
|
298
|
+
puts "Error when calling EventsApi->events_channels_export_by_id_status_get: #{e}"
|
299
|
+
end
|
300
|
+
```
|
301
|
+
|
302
|
+
#### Using the events_channels_export_by_id_status_get_with_http_info variant
|
303
|
+
|
304
|
+
This returns an Array which contains the response data, status code and headers.
|
305
|
+
|
306
|
+
> <Array(<ExportStatus>, Integer, Hash)> events_channels_export_by_id_status_get_with_http_info(id)
|
307
|
+
|
308
|
+
```ruby
|
309
|
+
begin
|
310
|
+
# Check Channel Export Status
|
311
|
+
data, status_code, headers = api_instance.events_channels_export_by_id_status_get_with_http_info(id)
|
312
|
+
p status_code # => 2xx
|
313
|
+
p headers # => { ... }
|
314
|
+
p data # => <ExportStatus>
|
315
|
+
rescue ElasticEmail::ApiError => e
|
316
|
+
puts "Error when calling EventsApi->events_channels_export_by_id_status_get_with_http_info: #{e}"
|
317
|
+
end
|
318
|
+
```
|
319
|
+
|
320
|
+
### Parameters
|
321
|
+
|
322
|
+
| Name | Type | Description | Notes |
|
323
|
+
| ---- | ---- | ----------- | ----- |
|
324
|
+
| **id** | **String** | ID of the exported file | |
|
325
|
+
|
326
|
+
### Return type
|
327
|
+
|
328
|
+
[**ExportStatus**](ExportStatus.md)
|
329
|
+
|
330
|
+
### Authorization
|
331
|
+
|
332
|
+
[apikey](../README.md#apikey)
|
333
|
+
|
334
|
+
### HTTP request headers
|
335
|
+
|
336
|
+
- **Content-Type**: Not defined
|
337
|
+
- **Accept**: application/json
|
338
|
+
|
339
|
+
|
340
|
+
## events_export_by_id_status_get
|
341
|
+
|
342
|
+
> <ExportStatus> events_export_by_id_status_get(id)
|
343
|
+
|
344
|
+
Check Export Status
|
345
|
+
|
346
|
+
Check the current status of the export. Required Access Level: Export
|
347
|
+
|
348
|
+
### Examples
|
349
|
+
|
350
|
+
```ruby
|
351
|
+
require 'time'
|
352
|
+
require 'ElasticEmail'
|
353
|
+
# setup authorization
|
354
|
+
ElasticEmail.configure do |config|
|
355
|
+
# Configure API key authorization: apikey
|
356
|
+
config.api_key['apikey'] = 'YOUR API KEY'
|
357
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
358
|
+
# config.api_key_prefix['apikey'] = 'Bearer'
|
359
|
+
end
|
360
|
+
|
361
|
+
api_instance = ElasticEmail::EventsApi.new
|
362
|
+
id = 'E33EBA7A-C20D-4D3D-8F2F-5EEF42F58E6F' # String | ID of the exported file
|
363
|
+
|
364
|
+
begin
|
365
|
+
# Check Export Status
|
366
|
+
result = api_instance.events_export_by_id_status_get(id)
|
367
|
+
p result
|
368
|
+
rescue ElasticEmail::ApiError => e
|
369
|
+
puts "Error when calling EventsApi->events_export_by_id_status_get: #{e}"
|
370
|
+
end
|
371
|
+
```
|
372
|
+
|
373
|
+
#### Using the events_export_by_id_status_get_with_http_info variant
|
374
|
+
|
375
|
+
This returns an Array which contains the response data, status code and headers.
|
376
|
+
|
377
|
+
> <Array(<ExportStatus>, Integer, Hash)> events_export_by_id_status_get_with_http_info(id)
|
378
|
+
|
379
|
+
```ruby
|
380
|
+
begin
|
381
|
+
# Check Export Status
|
382
|
+
data, status_code, headers = api_instance.events_export_by_id_status_get_with_http_info(id)
|
383
|
+
p status_code # => 2xx
|
384
|
+
p headers # => { ... }
|
385
|
+
p data # => <ExportStatus>
|
386
|
+
rescue ElasticEmail::ApiError => e
|
387
|
+
puts "Error when calling EventsApi->events_export_by_id_status_get_with_http_info: #{e}"
|
388
|
+
end
|
389
|
+
```
|
390
|
+
|
391
|
+
### Parameters
|
392
|
+
|
393
|
+
| Name | Type | Description | Notes |
|
394
|
+
| ---- | ---- | ----------- | ----- |
|
395
|
+
| **id** | **String** | ID of the exported file | |
|
396
|
+
|
397
|
+
### Return type
|
398
|
+
|
399
|
+
[**ExportStatus**](ExportStatus.md)
|
400
|
+
|
401
|
+
### Authorization
|
402
|
+
|
403
|
+
[apikey](../README.md#apikey)
|
404
|
+
|
405
|
+
### HTTP request headers
|
406
|
+
|
407
|
+
- **Content-Type**: Not defined
|
408
|
+
- **Accept**: application/json
|
409
|
+
|
410
|
+
|
411
|
+
## events_export_post
|
412
|
+
|
413
|
+
> <ExportLink> events_export_post(opts)
|
414
|
+
|
415
|
+
Export Events
|
416
|
+
|
417
|
+
Export delivery events log information to the specified file format. Required Access Level: Export
|
418
|
+
|
419
|
+
### Examples
|
420
|
+
|
421
|
+
```ruby
|
422
|
+
require 'time'
|
423
|
+
require 'ElasticEmail'
|
424
|
+
# setup authorization
|
425
|
+
ElasticEmail.configure do |config|
|
426
|
+
# Configure API key authorization: apikey
|
427
|
+
config.api_key['apikey'] = 'YOUR API KEY'
|
428
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
429
|
+
# config.api_key_prefix['apikey'] = 'Bearer'
|
430
|
+
end
|
431
|
+
|
432
|
+
api_instance = ElasticEmail::EventsApi.new
|
433
|
+
opts = {
|
434
|
+
event_types: [ElasticEmail::EventType::SUBMISSION], # Array<EventType> | Types of Events to return
|
435
|
+
from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
436
|
+
to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
437
|
+
file_format: ElasticEmail::ExportFileFormats::CSV, # ExportFileFormats | Format of the exported file
|
438
|
+
compression_format: ElasticEmail::CompressionFormat::NONE, # CompressionFormat | FileResponse compression format. None or Zip.
|
439
|
+
file_name: 'filename.txt' # String | Name of your file including extension.
|
440
|
+
}
|
441
|
+
|
442
|
+
begin
|
443
|
+
# Export Events
|
444
|
+
result = api_instance.events_export_post(opts)
|
445
|
+
p result
|
446
|
+
rescue ElasticEmail::ApiError => e
|
447
|
+
puts "Error when calling EventsApi->events_export_post: #{e}"
|
448
|
+
end
|
449
|
+
```
|
450
|
+
|
451
|
+
#### Using the events_export_post_with_http_info variant
|
452
|
+
|
453
|
+
This returns an Array which contains the response data, status code and headers.
|
454
|
+
|
455
|
+
> <Array(<ExportLink>, Integer, Hash)> events_export_post_with_http_info(opts)
|
456
|
+
|
457
|
+
```ruby
|
458
|
+
begin
|
459
|
+
# Export Events
|
460
|
+
data, status_code, headers = api_instance.events_export_post_with_http_info(opts)
|
461
|
+
p status_code # => 2xx
|
462
|
+
p headers # => { ... }
|
463
|
+
p data # => <ExportLink>
|
464
|
+
rescue ElasticEmail::ApiError => e
|
465
|
+
puts "Error when calling EventsApi->events_export_post_with_http_info: #{e}"
|
466
|
+
end
|
467
|
+
```
|
468
|
+
|
469
|
+
### Parameters
|
470
|
+
|
471
|
+
| Name | Type | Description | Notes |
|
472
|
+
| ---- | ---- | ----------- | ----- |
|
473
|
+
| **event_types** | [**Array<EventType>**](EventType.md) | Types of Events to return | [optional] |
|
474
|
+
| **from** | **Time** | Starting date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
475
|
+
| **to** | **Time** | Ending date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
476
|
+
| **file_format** | [**ExportFileFormats**](.md) | Format of the exported file | [optional] |
|
477
|
+
| **compression_format** | [**CompressionFormat**](.md) | FileResponse compression format. None or Zip. | [optional] |
|
478
|
+
| **file_name** | **String** | Name of your file including extension. | [optional] |
|
479
|
+
|
480
|
+
### Return type
|
481
|
+
|
482
|
+
[**ExportLink**](ExportLink.md)
|
483
|
+
|
484
|
+
### Authorization
|
485
|
+
|
486
|
+
[apikey](../README.md#apikey)
|
487
|
+
|
488
|
+
### HTTP request headers
|
489
|
+
|
490
|
+
- **Content-Type**: Not defined
|
491
|
+
- **Accept**: application/json
|
492
|
+
|
493
|
+
|
494
|
+
## events_get
|
495
|
+
|
496
|
+
> <Array<RecipientEvent>> events_get(opts)
|
497
|
+
|
498
|
+
Load Events
|
499
|
+
|
500
|
+
Returns a log of delivery events filtered by specified parameters. Required Access Level: ViewReports
|
501
|
+
|
502
|
+
### Examples
|
503
|
+
|
504
|
+
```ruby
|
505
|
+
require 'time'
|
506
|
+
require 'ElasticEmail'
|
507
|
+
# setup authorization
|
508
|
+
ElasticEmail.configure do |config|
|
509
|
+
# Configure API key authorization: apikey
|
510
|
+
config.api_key['apikey'] = 'YOUR API KEY'
|
511
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
512
|
+
# config.api_key_prefix['apikey'] = 'Bearer'
|
513
|
+
end
|
514
|
+
|
515
|
+
api_instance = ElasticEmail::EventsApi.new
|
516
|
+
opts = {
|
517
|
+
event_types: [ElasticEmail::EventType::SUBMISSION], # Array<EventType> | Types of Events to return
|
518
|
+
from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Starting date for search in YYYY-MM-DDThh:mm:ss format.
|
519
|
+
to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Ending date for search in YYYY-MM-DDThh:mm:ss format.
|
520
|
+
order_by: ElasticEmail::EventsOrderBy::DATE_DESCENDING, # EventsOrderBy |
|
521
|
+
limit: 56, # Integer | How many items to load. Maximum for this request is 1000 items
|
522
|
+
offset: 20 # Integer | How many items should be returned ahead.
|
523
|
+
}
|
524
|
+
|
525
|
+
begin
|
526
|
+
# Load Events
|
527
|
+
result = api_instance.events_get(opts)
|
528
|
+
p result
|
529
|
+
rescue ElasticEmail::ApiError => e
|
530
|
+
puts "Error when calling EventsApi->events_get: #{e}"
|
531
|
+
end
|
532
|
+
```
|
533
|
+
|
534
|
+
#### Using the events_get_with_http_info variant
|
535
|
+
|
536
|
+
This returns an Array which contains the response data, status code and headers.
|
537
|
+
|
538
|
+
> <Array(<Array<RecipientEvent>>, Integer, Hash)> events_get_with_http_info(opts)
|
539
|
+
|
540
|
+
```ruby
|
541
|
+
begin
|
542
|
+
# Load Events
|
543
|
+
data, status_code, headers = api_instance.events_get_with_http_info(opts)
|
544
|
+
p status_code # => 2xx
|
545
|
+
p headers # => { ... }
|
546
|
+
p data # => <Array<RecipientEvent>>
|
547
|
+
rescue ElasticEmail::ApiError => e
|
548
|
+
puts "Error when calling EventsApi->events_get_with_http_info: #{e}"
|
549
|
+
end
|
550
|
+
```
|
551
|
+
|
552
|
+
### Parameters
|
553
|
+
|
554
|
+
| Name | Type | Description | Notes |
|
555
|
+
| ---- | ---- | ----------- | ----- |
|
556
|
+
| **event_types** | [**Array<EventType>**](EventType.md) | Types of Events to return | [optional] |
|
557
|
+
| **from** | **Time** | Starting date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
558
|
+
| **to** | **Time** | Ending date for search in YYYY-MM-DDThh:mm:ss format. | [optional] |
|
559
|
+
| **order_by** | [**EventsOrderBy**](.md) | | [optional] |
|
560
|
+
| **limit** | **Integer** | How many items to load. Maximum for this request is 1000 items | [optional] |
|
561
|
+
| **offset** | **Integer** | How many items should be returned ahead. | [optional] |
|
562
|
+
|
563
|
+
### Return type
|
564
|
+
|
565
|
+
[**Array<RecipientEvent>**](RecipientEvent.md)
|
566
|
+
|
567
|
+
### Authorization
|
568
|
+
|
569
|
+
[apikey](../README.md#apikey)
|
570
|
+
|
571
|
+
### HTTP request headers
|
572
|
+
|
573
|
+
- **Content-Type**: Not defined
|
574
|
+
- **Accept**: application/json
|
575
|
+
|