Use case 2: Audio and Verint screen interaction

This example uses a captured desktop interaction to show how original content files can be uploaded to another system. The internal identifiers (agent_id, switch_id, organization_id) must be updated to the new system. You can look up the values from the pbx_login_id or get the ids from the system and update them with the correct values.

To complete the ingestion process, the wav (part 1) and scn (part 2) must be uploaded following this metadata POST.

Copy
{
"contents": [
{
"index": 1,
"duration": "118",
"original_filename": "smallaudio.wav",
"system_type": "Branch Recorder",
"start_time": "2017-11-14T14:33:40.379Z",
"content_type": "audio/vnd.verint.wav"
},
{
"index": 2,
"duration": "118",
"original_filename": "screen.scn",
"system_type": "Branch Recorder",
"start_time": "2017-11-14T14:33:40.379Z",
"content_type": "screen/vnd.verint.capb"
}
],
"contacts": [
{
"start_time": "2017-11-14T14:33:40.379Z",
"end_time": "2017-11-14T14:35:38.667Z",
"duration": "118",
"sessions": [
{
"complete": "true",
"keep": "true",
"interaction_type": "Desktop",
"start_time": "2017-11-14T14:33:40.379Z",
"end_time": "2017-11-14T14:35:38.667Z",
"duration": "118",
"direction": "Internal",
"agent_id": "XXXXXXXXX",
"pbx_login_id": "DOMAIN\\TSmith",
"extension": "US-17913",
"switch_call_id": "20171114093340375",
 
"switch_id": "XXXXXXXXX",
 
organization_id": "X",
"tags": [
{
"taggedbycomponent": "BranchRecorder",
"taggedbyhost": "clientpc",
"eventtime": "2017-11-14T14:33:48.518Z",
"attributes":
{
"eventtype": "Begin_Call",
"message": "'id':'20171114093340375'",
}
},
{
"taggedbycomponent": "BranchRecorder",
"taggedbyhost": "clientpc",
"eventtime": "2017-11-14T14:33:48.572Z",
"attributes":
{
"eventtype": "Begin_Call",
"message": "'id':'20171114093340375'",
}
},
{
"taggedbycomponent": "BranchRecorder",
"taggedbyhost": "clientpc",
"eventtime": "2017-11-14T14:33:48.607Z",
"attributes":
{
"eventtype": "DataEvent",
"customerfirstname": "Brad",
"customerlastname": "Cooper",
"meetingoutcome": "Closed successfully"
}
},
{
"taggedbycomponent": "BranchRecorder",
"taggedbyhost": "clientpc",
"eventtime": "2017-11-14T14:34:06.102Z",
"attributes":
{
"eventtype": "DataEvent",
"applicationtype": "Mort:Signing"
}
},
{
"taggedbycomponent": "BranchRecorder",
"taggedbyhost": "clientpc",
"eventtime": "2017-11-14T14:34:07.781Z",
"attributes":
{
"eventtype": "DataEvent",
"stageofprocess": "Mort:Introduction and Welcome"
}
},
{
"taggedbycomponent": "BranchRecorder",
"taggedbyhost": "clientpc",
"eventtime": "2017-11-14T14:34::57.500Z",
"attributes":
{
"eventtype": "End_Recording",
"message": "'id':'20171114093340375'"
}
},
{
"taggedbycomponent": "BranchRecorder",
"taggedbyhost": "clientpc",
"eventtime": "2017-11-14T14:35:32.711Z",
"attributes":
{
"eventtype": "End_Call",
}
}
]
}
]
}
]
}

General information

Verint internal identifiers in the JSON metadata document