Get the list of segment markers for any recorded call. |
Segment of recordings can be marked in the system through the web interface and the Add Marker API call. This way users can easily identify important segments of a recording in the web-based player of the system. A typical application is to mark segments where e.g. a voice contract was made over telephone.
The function is available as a HTTP GET or HTTP POST request.
Get Markers:
http://<host>/verba/api?action=GetMarkers |
Get Markers HTTP GET sample:
http://192.168.1.104/verba/api?action=GetMarkers&apiKey=74c8eea0-50c6-40b2-9f3e-252ed501c3c8&token=09835e02-6c10-11e0-bb22-ba324924019b&responseType=XML&callID=a8343631-9f35-4a3a-83f0-9e81592339fb |
Detailed description of the API request elements:
URL parameter | Example | Description | Requirements |
---|---|---|---|
action | action=GetMarkers | Name of the HTTP API request. | Mandatory |
apiKey | apiKey=74c8eea0-50c6-40b2-9f3e-252ed501c3c8 | API key used to identify the application. | Mandatory |
token | token=09835e02-6c10-11e0-bb22-ba324924019b | Unique identifier for authenticated sessions. After successful authentication, the API sends back a token, which has to be used for each request. | Mandatory if authentication is configured for the given API key. |
responseType | responseType=HTML | Defines the format of the response of the API request. The following valid values apply:
| If the parameter is missing, it defaults to XML. |
cid | callID=a8343631-9f35-4a3a-83f0-9e81592339fb | Defines the internal ID of the call. | Mandatory |
XML based response sample on success:
<?xml version="1.0" encoding="UTF-8"?> |
XML based response sample on error:
<?xml version="1.0" encoding="UTF-8"?> <VerbaApi> <Response code="2" type="GetMarkers"> <ErrorMessage>Call cannot be found.</ErrorMessage> </Response> </VerbaApi> |
HTML based response sample:
<html> <body> <table> <tr> <td>Name</td> <td>Start (ms)</td> <td>End (ms)</td> </tr> <tr> <td>Sale</td> <td>16700</td> <td>65400</td> </tr> <tr> <td>Price</td> <td>101000</td> <td>145000</td> </tr> </table> </body> </html> |
TEXT based response sample:
Markers Name: Sale, Start: 16700 ms, End: 65400 ms Name: Price, Start: 10100 ms, End: 145000 ms |