Skip to content

Latest commit

 

History

History
287 lines (171 loc) · 9.8 KB

EventsApi.md

File metadata and controls

287 lines (171 loc) · 9.8 KB

EventsApi

All URIs are relative to /v4

Method HTTP request Description
eventsByTransactionidGet GET /events/{transactionid} Load Email Events
eventsChannelsByNameExportPost POST /events/channels/{name}/export Export Channel Events
eventsChannelsByNameGet GET /events/channels/{name} Load Channel Events
eventsChannelsExportByIdStatusGet GET /events/channels/export/{id}/status Check Channel Export Status
eventsExportByIdStatusGet GET /events/export/{id}/status Check Export Status
eventsExportPost POST /events/export Export Events
eventsGet GET /events Load Events

eventsByTransactionidGet

Load Email Events

Returns a log of delivery events for the specific transaction ID. Required Access Level: ViewReports

Example

ElasticEmail eventsByTransactionidGet transactionid=value  from=value  to=value  orderBy=value  limit=value  offset=value

Parameters

Name Type Description Notes
transactionid string ID number of transaction [default to null]
from string Starting date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
to string Ending date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
orderBy EventsOrderBy [optional] [default to null]
limit integer Maximum number of returned items. [optional] [default to null]
offset integer How many items should be returned ahead. [optional] [default to null]

Return type

array[RecipientEvent]

Authorization

apikey

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

eventsChannelsByNameExportPost

Export Channel Events

Export delivery events log information to the specified file format. Required Access Level: Export

Example

ElasticEmail eventsChannelsByNameExportPost name=value  Specify as:  eventTypes=value1 eventTypes=value2 eventTypes=...  from=value  to=value  fileFormat=value  compressionFormat=value  fileName=value

Parameters

Name Type Description Notes
name string Name of selected channel. [default to null]
eventTypes array[EventType] Types of Events to return [optional] [default to null]
from string Starting date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
to string Ending date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
fileFormat ExportFileFormats Format of the exported file [optional] [default to null]
compressionFormat CompressionFormat FileResponse compression format. None or Zip. [optional] [default to null]
fileName string Name of your file including extension. [optional] [default to null]

Return type

ExportLink

Authorization

apikey

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

eventsChannelsByNameGet

Load Channel Events

Returns a log of delivery events filtered by specified parameters. Required Access Level: ViewReports

Example

ElasticEmail eventsChannelsByNameGet name=value  Specify as:  eventTypes=value1 eventTypes=value2 eventTypes=...  from=value  to=value  orderBy=value  limit=value  offset=value

Parameters

Name Type Description Notes
name string Name of selected channel. [default to null]
eventTypes array[EventType] Types of Events to return [optional] [default to null]
from string Starting date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
to string Ending date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
orderBy EventsOrderBy [optional] [default to null]
limit integer How many items to load. Maximum for this request is 1000 items [optional] [default to null]
offset integer How many items should be returned ahead. [optional] [default to null]

Return type

array[RecipientEvent]

Authorization

apikey

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

eventsChannelsExportByIdStatusGet

Check Channel Export Status

Check the current status of the channel export. Required Access Level: Export

Example

ElasticEmail eventsChannelsExportByIdStatusGet id=value

Parameters

Name Type Description Notes
id string ID of the exported file [default to null]

Return type

ExportStatus

Authorization

apikey

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

eventsExportByIdStatusGet

Check Export Status

Check the current status of the export. Required Access Level: Export

Example

ElasticEmail eventsExportByIdStatusGet id=value

Parameters

Name Type Description Notes
id string ID of the exported file [default to null]

Return type

ExportStatus

Authorization

apikey

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

eventsExportPost

Export Events

Export delivery events log information to the specified file format. Required Access Level: Export

Example

ElasticEmail eventsExportPost  Specify as:  eventTypes=value1 eventTypes=value2 eventTypes=...  from=value  to=value  fileFormat=value  compressionFormat=value  fileName=value

Parameters

Name Type Description Notes
eventTypes array[EventType] Types of Events to return [optional] [default to null]
from string Starting date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
to string Ending date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
fileFormat ExportFileFormats Format of the exported file [optional] [default to null]
compressionFormat CompressionFormat FileResponse compression format. None or Zip. [optional] [default to null]
fileName string Name of your file including extension. [optional] [default to null]

Return type

ExportLink

Authorization

apikey

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

eventsGet

Load Events

Returns a log of delivery events filtered by specified parameters. Required Access Level: ViewReports

Example

ElasticEmail eventsGet  Specify as:  eventTypes=value1 eventTypes=value2 eventTypes=...  from=value  to=value  orderBy=value  limit=value  offset=value

Parameters

Name Type Description Notes
eventTypes array[EventType] Types of Events to return [optional] [default to null]
from string Starting date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
to string Ending date for search in YYYY-MM-DDThh:mm:ss format. [optional] [default to null]
orderBy EventsOrderBy [optional] [default to null]
limit integer How many items to load. Maximum for this request is 1000 items [optional] [default to null]
offset integer How many items should be returned ahead. [optional] [default to null]

Return type

array[RecipientEvent]

Authorization

apikey

HTTP request headers

  • Content-Type: Not Applicable
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]