Skip to content

/AWS1/CL_CNTCONTACTMETRICRSLT

Contains the result of a requested metric for the contact. This object is returned as part of the GetContactMetrics response and includes both the metric name and its calculated value.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/CNTCONTACTMETRICNAME /AWS1/CNTCONTACTMETRICNAME

The name of the metric that was retrieved. This corresponds to the metric name specified in the request, such as POSITION_IN_QUEUE or ESTIMATED_WAIT_TIME.

io_value TYPE REF TO /AWS1/CL_CNTCONTACTMETRICVALUE /AWS1/CL_CNTCONTACTMETRICVALUE

The calculated value for the requested metric. This object contains the numeric result based on the contact's current state in the queue.


Queryable Attributes

Name

The name of the metric that was retrieved. This corresponds to the metric name specified in the request, such as POSITION_IN_QUEUE or ESTIMATED_WAIT_TIME.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Value

The calculated value for the requested metric. This object contains the numeric result based on the contact's current state in the queue.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CONTACTMETRICRESULTS

TYPES TT_CONTACTMETRICRESULTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CNTCONTACTMETRICRSLT WITH DEFAULT KEY
.