Model class for engagement.
name | data type | description |
---|---|---|
startDate | string | Date and time the engagement started (in unix timestamp format). |
endDate | string | Date the engagement ended (in unix timestamp format). |
id | string | Unique identifier for the engagement. |
duration | number | Duration of the engagement, in seconds. |
contents | string | Contents of the engagement: AUDIO, AUDIOVIDEO, VIDEO. |
context | string | List of Context Attributes. |
users | array of EngagementUserV1 | List of users in the engagement. |
recordings | array of RecordingV1 | List of recordings in the engagement. |
releaseState | string | Specifies whether the engagement was answered (connected) or not answered (attempted). |
status | string | Specifies whether the engagement was successful or unsuccessful. |
pendingTime | number | The time the engagement spent in queue before being answered. |
assignedTeam | string | The team to which the engagement was routed. |
associateInitiated | boolean | Indicates whether the engagement was initiated by the associate (true), or by the customer (false). |
reason | string | Displays information about why the engagement failed or was unsuccessful. |
Example
{ "startDate" : "...", "endDate" : "...", "id" : "...", "duration" : 12345, "contents" : "...", "context" : "...", "users" : [ { "uri" : "...", "association" : "..." }, { "uri" : "...", "association" : "..." } ], "recordings" : [ { "uri" : "...", "user" : "...", "created" : "...", "duration" : 12345, "size" : 12345, "contents" : "..." }, { "uri" : "...", "user" : "...", "created" : "...", "duration" : 12345, "size" : 12345, "contents" : "..." } ], "releaseState" : "...", "status" : "...", "pendingTime" : 12345, "assignedTeam" : "...", "associateInitiated" : true, "reason" : "..." }