agent_activity
agent_activity表の各行には、一つのエージェントアクティビティに関連する一連のデータが含まれています。対話処理に関わるアクティビティの場合、このデータには、エージェントの通話時間や保留時間などのいくつかの基本的な集計データが含まれます。複数の集約間隔に入ってしまう一つのエージェントアクティビティは、これらの集約間隔ごとに個別に報告され、時間に関連するすべてのメトリックは、指定された間隔内の時間のみをカウントします。レポートを生成する際に、 activity_id フィールドを使って、複数の間隔に入ってしまうアクティビティの時間関連メトリックを組み合わせることができます。
特定のメトリックに関して特に注記がない限り、この表に記載されているコールは、特定のアクティビティ中にlogin_id フィールドで識別されるエージェントによって処理されたコールとして見なされます。
データの説明
次の表には、名前(IDなど)、データタイプ (BIGINT, BINARY, BIT, DATETIME, ENUM, INT, VARCHARなど)、 agent_activity 表の各メトリック(つまり、列)の説明が含まれます。
列名 | データタイプ | 内容 |
activity | ENUM | アクティビティ はアクティビティタイプを意味します。
設定可能な値には、 INBOUND_CALL, LOGIN, LOGOUT, OUTBOUND_CALL, NOT_READY, PREVIEW, READY, SUPERVISIONが含まれます。 以下にご注意ください:
|
activity_id | BINARY (16) | activity_id とは、アクティビティに割り当てられるユニークな識別子です。
一つのアクティビティが複数の集約間隔で継続する場合、それらの間隔のそれぞれで activity_idの値が同じになります。 |
acw_time | BIGINT | 集約間隔内のINBOUND_CALLおよびOUTBOUND_CALLアクティビティの後処理時間 |
agent_disposition_code | INT | INBOUND_CALL 及び OUTBOUND_CALLアクティビティーにおいて、エージェントがコールに付与した対話結果の数値コード(定義されている場合) |
agent_disposition_name | VARCHAR | INBOUND_CALL 及び OUTBOUND_CALLアクティビティーにおいて、エージェントがコールに付与した 対話結果名 |
agent_disposition_notes | LONGTEXT | INBOUND_CALL 及び OUTBOUND_CALLアクティビティーにおいて、エージェントがコールに対して記述したメモ |
agg_run_id | BINARY (16) | このレコードを生成したアグリゲーター実行 |
call_detail_id | BINARY | このアクティビティー中に処理された対話の記録への参照( call_detail テーブル) |
case_number | VARCHAR | INBOUND_CALL 及び OUTBOUND_CALLアクティビティーにおいて、対話が関連づけられたケース番号。メールのみ対象。 |
destination_number | VARCHAR | INBOUND_CALL 及び OUTBOUND_CALLアクティビティーにおいて、発信側がダイヤルした番号 |
detail | VARCHAR | NOT_READYアクティビティにおいて、 detailは 受付不可の理由を示します。
OUTBOUND_CALLアクティビティにおいて、 detailは、内部コールが応答された場合に受信側のログインIDを示します。 |
disposition | ENUM | INBOUND_CALL and OUTBOUND_CALLアクティビティにおいて、 disposition はコールド処理の結果を示します。
以下のcallは、指定された値がコール及びチャットに適用できることを示します。 設定可能な値は以下の通りです:
|
duration | BIGINT | 集約間隔内のアクティビティ実行期間 |
email_completion_time | BIGINT | メール対話がエージェントに受け入れられた時点、またはエージェントのパーソナルキューに入った時点から、完了(ACWを含む)または転送される時点までの期間 |
held | BIGINT | このアクティビティ中にエージェントがコールを保留した回数。メールとチャットの場合、このアクティビティ中にエージェントが対話から離れた回数) |
max_hold | BIGINT | このアクティビティ中にエージェントがコールを保留した回数のうち最長の保留時間。 メールおよびチャットの場合、このアクティビティ中にエージェントが対話を離れた回数のうち最長の時間。 |
external_number | VARCHAR | INBOUND_CALLアクティビティにおいて、 external_number は受信コールがシステムに入るために使われたアクセス番号を示します。
OUTBOUND_CALLアクティビティにおいて、 external_number は発信コールに割り当てられた発信者IDを示します。 |
first_name | VARCHAR | 定義されているエージェントのファーストネーム |
has_screen_recording | BIT | アクティビティ中にエージェントの 画面録画 が実行されたかどうか示します |
hold_time | BIGINT | 集約間隔においてINBOUND_CALL 及び OUTBOUND_CALL アクティビティーの総合保留時間 |
id | BINARY (16) | 予約済 |
last_name | VARCHAR | 定義されているエージェントのラストネーム |
login_id | VARCHAR | 定義されているエージェントのログイン |
media_type | ENUM | INBOUND_CALL 及びOUTBOUND_CALLアクティビティにおいて、このアクティビティ中にエージェントが処理した対話のタイプ
Possible values include VOICE, CHAT, and EMAIL. |
origination_number | VARCHAR | For activity types INBOUND_CALL and OUTBOUND_CALL, the phone number from which the call was made. |
other_party_phone_type | ENUM | For activity types INBOUND_CALL and OUTBOUND_CALL, other_party_phone_type specifies the location of the remote party on the call.
Possible values include INTERNAL and EXTERNAL. |
pending_time | BIGINT | For activity type INBOUND_CALL, pending_time specifies the duration of the call ringing phase from the moment the call was distributed to this agent and until it was either answered or abandoned.
For activity type OUTBOUND_CALL, pending_time specifies the duration of the call dialing phase from the moment the number dialed by the agent was received by the system and until the call was either answered or abandoned. |
pkid | INT | Primary key |
rank | VARCHAR | Agent rank as defined in configuration |
service_name | VARCHAR | For activity types INBOUND_CALL and OUTBOUND_CALL, service_name is the name of the service associated with the call.
It is not specified for internal calls. For services of media type chat, any call mentioned in this table shall be interpreted as a service chat interaction in the same context. |
session_id | BINARY | session_id is the agent login session identifier.
A new identifier is assigned to each new LOGIN activity. The same identifier is assigned to the corresponding LOGOUT and all READY and NOT_READY activities that happened in between. |
start_time | DATETIME | Activity start time; time is given in Coordinated Universal Time (UTC) |
talk_time | BIGINT | talk_time is the total talk time for activity types INBOUND_CALL and OUTBOUND_CALL within the aggregation interval.
It does not include hold times. |
team_name | VARCHAR | Name of the team that the agent is assigned to as defined in configuration |
workitem_id | VARCHAR | Identifier of the outbound work item associated with this activity.\ |
agent_country | VARCHAR | Agent country as defined in User configuration |
agent_city | VARCHAR | Agent city as defined in User configuration |