From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate> = Get File = Gets the audio file of a recording. == Request == === URL === http[s]://<host>/admin/ws/t/<tenant_url>/recordings/audio?giid=<GIID>&stepid=<stepId>...")
 
 
(4 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/audio?giid=<GIID>&stepid=<stepId>
+
  http[s]://<host>/admin/ws/t/<tenant.url>/recordings/metadata?giid=<GIID>&stepid=<STEP_ID>&convert=false
 +
 
 +
=== HTTP Method ===
 +
GET
  
 
=== Parameters ===
 
=== Parameters ===
Line 12: Line 15:
 
| '''Data Type'''
 
| '''Data Type'''
 
| '''Optional/Required'''
 
| '''Optional/Required'''
 +
| '''Default Value'''
 
| '''Description'''
 
| '''Description'''
 
|-
 
|-
Line 17: Line 21:
 
| string
 
| string
 
| required
 
| required
 +
| none
 
| global interaction identifier ([[Reporting-reference-guide/GlobalInteractionIdentifier |  GIID]])
 
| global interaction identifier ([[Reporting-reference-guide/GlobalInteractionIdentifier |  GIID]])
 
|-
 
|-
Line 22: Line 27:
 
| string
 
| string
 
| required
 
| required
| step ID of the recording (i.e., the segment of the recording)
+
| none
 +
| interaction step ID
 +
|-
 +
| convert
 +
| boolean
 +
| optional
 +
| "true"
 +
| "true" means convert sound data to PCM; "false" means leave as stored - GSM
 
|}
 
|}
=== HTTP Method ===
 
GET
 
  
 
=== Body ===
 
=== Body ===
Line 31: Line 41:
  
 
== Response ==
 
== Response ==
Audio file (WAV)
+
Content of audio file
 +
 
 +
 
 +
 
  
=== 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
 
|}
 
  
  
 
</translate>
 
</translate>

Latest revision as of 22:06, 13 December 2018

• 3.18

Contents

Get File

Gets the audio file of a recording.

Request

URL

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

HTTP Method

GET

Parameters

Parameter Data Type Optional/Required Default Value Description
giid string required none global interaction identifier ( GIID)
stepid string required none interaction step ID
convert boolean optional "true" "true" means convert sound data to PCM; "false" means leave as stored - GSM

Body

Empty

Response

Content of audio file



< Previous | Next >