Skip to content

Latest commit

 

History

History
131 lines (100 loc) · 5.13 KB

MailSubjectStatsApi.md

File metadata and controls

131 lines (100 loc) · 5.13 KB

swagger_client.MailSubjectStatsApi

All URIs are relative to /

Method HTTP request Description
esa_api_v20_reporting_mail_subject_stats_get GET /esa/api/v2.0/reporting/mail_subject_stats mail subject stats num msgs
esa_api_v20_reporting_mail_subject_stats_num_msgs_get GET /esa/api/v2.0/reporting/mail_subject_stats/num_msgs mail subject stats num msgs

esa_api_v20_reporting_mail_subject_stats_get

ReportingMailSubjectStatsNumMsgs esa_api_v20_reporting_mail_subject_stats_get(start_date=start_date, end_date=end_date, device_type=device_type, top=top)

mail subject stats num msgs

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: UserSecurity
configuration = swagger_client.Configuration()
configuration.api_key['jwtToken'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['jwtToken'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MailSubjectStatsApi(swagger_client.ApiClient(configuration))
start_date = 'start_date_example' # str |  (optional)
end_date = 'end_date_example' # str |  (optional)
device_type = 'esa' # str |  (optional) (default to esa)
top = 'top_example' # str |  (optional)

try:
    # mail subject stats num msgs
    api_response = api_instance.esa_api_v20_reporting_mail_subject_stats_get(start_date=start_date, end_date=end_date, device_type=device_type, top=top)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MailSubjectStatsApi->esa_api_v20_reporting_mail_subject_stats_get: %s\n" % e)

Parameters

Name Type Description Notes
start_date str [optional]
end_date str [optional]
device_type str [optional] [default to esa]
top str [optional]

Return type

ReportingMailSubjectStatsNumMsgs

Authorization

BasicAuth, UserSecurity

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/plain, /

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

esa_api_v20_reporting_mail_subject_stats_num_msgs_get

ReportingMailSubjectStatsNumMsgs esa_api_v20_reporting_mail_subject_stats_num_msgs_get(start_date=start_date, end_date=end_date, device_type=device_type, top=top)

mail subject stats num msgs

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = swagger_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: UserSecurity
configuration = swagger_client.Configuration()
configuration.api_key['jwtToken'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['jwtToken'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MailSubjectStatsApi(swagger_client.ApiClient(configuration))
start_date = 'start_date_example' # str |  (optional)
end_date = 'end_date_example' # str |  (optional)
device_type = 'esa' # str |  (optional) (default to esa)
top = 'top_example' # str |  (optional)

try:
    # mail subject stats num msgs
    api_response = api_instance.esa_api_v20_reporting_mail_subject_stats_num_msgs_get(start_date=start_date, end_date=end_date, device_type=device_type, top=top)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MailSubjectStatsApi->esa_api_v20_reporting_mail_subject_stats_num_msgs_get: %s\n" % e)

Parameters

Name Type Description Notes
start_date str [optional]
end_date str [optional]
device_type str [optional] [default to esa]
top str [optional]

Return type

ReportingMailSubjectStatsNumMsgs

Authorization

BasicAuth, UserSecurity

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/plain, /

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