Skip to content

/AWS1/CL_PPT=>GETAPPLICATIONDATERANGEKPI()

About GetApplicationDateRangeKpi

Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.

Method Signature

IMPORTING

Required arguments:

IV_APPLICATIONID TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

IV_KPINAME TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are email-open-rate and successful-delivery-rate. For a list of valid values, see the Amazon Pinpoint Developer Guide.

Optional arguments:

IV_ENDTIME TYPE /AWS1/PPT__TIMESTAMPISO8601 /AWS1/PPT__TIMESTAMPISO8601

The last date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-26T20:00:00Z for 8:00 PM UTC July 26, 2019.

IV_NEXTTOKEN TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.

IV_PAGESIZE TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

IV_STARTTIME TYPE /AWS1/PPT__TIMESTAMPISO8601 /AWS1/PPT__TIMESTAMPISO8601

The first date and time to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in extended ISO 8601 format and use Coordinated Universal Time (UTC), for example: 2019-07-19T20:00:00Z for 8:00 PM UTC July 19, 2019. This value should also be fewer than 90 days from the current day.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PPTGETAPPLICATIONDA01 /AWS1/CL_PPTGETAPPLICATIONDA01