From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate> = Get Metadata = Gets the metadata of a recording. == Request == === URL === http[s]://<host>/admin/ws/t/<tenant_url>/recordings/metadata?giid=<GIID>&stepid=<ste...")
 
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
== Request ==
 
== Request ==
 
=== URL ===
 
=== URL ===
  http[s]://<host>/admin/ws/t/<tenant_url>/recordings/metadata?giid=<GIID>&stepid=<stepId>
+
  http[s]://<host>/admin/ws/t/<tenant.url>/recordings/metadata?giid=<GIID>&stepid=<STEP_ID>
 +
 
 +
=== HTTP Method ===
 +
GET
  
 
=== Parameters ===
 
=== Parameters ===
Line 22: Line 25:
 
| string
 
| string
 
| required
 
| required
| step ID of the recording (i.e., the segment of the recording)
+
| interaction step id
 
|}
 
|}
 
=== HTTP Method ===
 
GET
 
  
 
=== Body ===
 
=== Body ===
Line 37: Line 37:
 
=== Example ===
 
=== Example ===
 
  {
 
  {
"Start Time":"08/10/2017 10:18:32 AM PDT -07:00",
+
    "Start Time": "11/13/2018 05:51:16 PM MSK +03:00",
"Agent loginId":null,
+
    "Agent loginId": null,
"Agent First Name":null,
+
    "Agent First Name": null,
"Agent Last Name":null,
+
    "Agent Last Name": null,
"Customer phone":"3001",
+
    "Customer phone": "3001",
"Direction":"INBOUND",
+
    "Direction": "INBOUND",
"Service":null,
+
    "Service": "Maintenance Renewal",
"Disposition":null,
+
    "Disposition": null,
"Notes":"",
+
    "Notes": "",
"Voice Signature":"0",
+
    "Voice Signature": "0",
"Flagged":"0",
+
    "Flagged": "0",
"Talk Time":"0:23",
+
    "Talk Time": "0:04",
"RecordingId":"20170810101832_3001_A3BF72D5E65846F1A2387CA11F7AD4ED.wav",
+
    "RecordingId": "20181113175116_3001_461CAD1307384B9BA2F78836F4A5A06F.wav",
"Global Interaction ID":"F663B850-6FC4-4B5E-9DC4-69E62FADD0E4",
+
    "Global Interaction ID": "5C3DD69D-4DB2-4232-A7A9-0813C6EC1F97",
"Review URL":"https://example.com/admin?giid=40C6CA6E-98E2-4116-86EF-925883CFFE36&stepId=A3BF72D5-E658-46F1-A238-7CA11F7AD4ED",
+
    "Review URL": "https://example.com/admin?giid=5C3DD69D-4DB2-4232-A7A9-0813C6EC1F97&stepId=461CAD13-0738-4B9B-A2F7-8836F4A5A06F",
"Screen Recording":"0"
+
    "Screen Recording": "0"
 
  }
 
  }
  
=== Response Codes ===
 
{|border="1" style="border-collapse:collapse" cellpadding="5"
 
| '''Code'''
 
| '''Description'''
 
|-
 
| 200
 
| Success
 
|-
 
| 401
 
| Authentication failed
 
|-
 
| 403
 
| User authenticated, but does not have sufficient privileges
 
|-
 
| 404
 
| File not found
 
|}
 
  
  

Latest revision as of 22:05, 13 December 2018

• 3.18

Get Metadata

Gets the metadata of a recording.

Request

URL

http[s]://<host>/admin/ws/t/<tenant.url>/recordings/metadata?giid=<GIID>&stepid=<STEP_ID>

HTTP Method

GET

Parameters

Parameter Data Type Optional/Required Description
giid string required global interaction identifier ( GIID)
stepid string required interaction step id

Body

Empty

Response

Data-Type

JSON object

Example

{
    "Start Time": "11/13/2018 05:51:16 PM MSK +03:00",
    "Agent loginId": null,
    "Agent First Name": null,
    "Agent Last Name": null,
    "Customer phone": "3001",
    "Direction": "INBOUND",
    "Service": "Maintenance Renewal",
    "Disposition": null,
    "Notes": "",
    "Voice Signature": "0",
    "Flagged": "0",
    "Talk Time": "0:04",
    "RecordingId": "20181113175116_3001_461CAD1307384B9BA2F78836F4A5A06F.wav",
    "Global Interaction ID": "5C3DD69D-4DB2-4232-A7A9-0813C6EC1F97",
    "Review URL": "https://example.com/admin?giid=5C3DD69D-4DB2-4232-A7A9-0813C6EC1F97&stepId=461CAD13-0738-4B9B-A2F7-8836F4A5A06F",
    "Screen Recording": "0"
}




< Previous