/AWS1/IF_SE2=>LSTDOMDELIVERABILITYCAMPAI00()¶
About ListDomainDeliverabilityCampaigns¶
Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.
Method Signature¶
METHODS /AWS1/IF_SE2~LSTDOMDELIVERABILITYCAMPAI00
IMPORTING
!IV_STARTDATE TYPE /AWS1/SE2TIMESTAMP OPTIONAL
!IV_ENDDATE TYPE /AWS1/SE2TIMESTAMP OPTIONAL
!IV_SUBSCRIBEDDOMAIN TYPE /AWS1/SE2DOMAIN OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/SE2NEXTTOKEN OPTIONAL
!IV_PAGESIZE TYPE /AWS1/SE2MAXITEMS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_se2lstdomdeliverabi01
RAISING
/AWS1/CX_SE2BADREQUESTEX
/AWS1/CX_SE2NOTFOUNDEXCEPTION
/AWS1/CX_SE2TOOMANYREQUESTSEX
/AWS1/CX_SE2CLIENTEXC
/AWS1/CX_SE2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_startdate TYPE /AWS1/SE2TIMESTAMP /AWS1/SE2TIMESTAMP¶
The first day that you want to obtain deliverability data for.
iv_enddate TYPE /AWS1/SE2TIMESTAMP /AWS1/SE2TIMESTAMP¶
The last day that you want to obtain deliverability data for. This value has to be less than or equal to 30 days after the value of the
StartDateparameter.
iv_subscribeddomain TYPE /AWS1/SE2DOMAIN /AWS1/SE2DOMAIN¶
The domain to obtain deliverability data for.
Optional arguments:¶
iv_nexttoken TYPE /AWS1/SE2NEXTTOKEN /AWS1/SE2NEXTTOKEN¶
A token that’s returned from a previous call to the
ListDomainDeliverabilityCampaignsoperation. This token indicates the position of a campaign in the list of campaigns.
iv_pagesize TYPE /AWS1/SE2MAXITEMS /AWS1/SE2MAXITEMS¶
The maximum number of results to include in response to a single call to the
ListDomainDeliverabilityCampaignsoperation. If the number of results is larger than the number that you specify in this parameter, the response includes aNextTokenelement, which you can use to obtain additional results.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_se2lstdomdeliverabi01 /AWS1/CL_SE2LSTDOMDELIVERABI01¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->lstdomdeliverabilitycampai00(
iv_enddate = '20150101000000.0000000'
iv_nexttoken = |string|
iv_pagesize = 123
iv_startdate = '20150101000000.0000000'
iv_subscribeddomain = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_domdeliverabilitycampa01( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_campaignid = lo_row_1->get_campaignid( ).
lv_imageurl = lo_row_1->get_imageurl( ).
lv_subject = lo_row_1->get_subject( ).
lv_identity = lo_row_1->get_fromaddress( ).
LOOP AT lo_row_1->get_sendingips( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_ip = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_timestamp = lo_row_1->get_firstseendatetime( ).
lv_timestamp = lo_row_1->get_lastseendatetime( ).
lv_volume = lo_row_1->get_inboxcount( ).
lv_volume = lo_row_1->get_spamcount( ).
lv_percentage = lo_row_1->get_readrate( ).
lv_percentage = lo_row_1->get_deleterate( ).
lv_percentage = lo_row_1->get_readdeleterate( ).
lv_volume = lo_row_1->get_projectedvolume( ).
LOOP AT lo_row_1->get_esps( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_esp = lo_row_5->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.