RecordingsList
Description
Retrieve a list of available system recordings on the account associated to the current API session. These recordings can be used when setting up Call Services which require voice recordings to be played to the caller or receiver. Please see the relevant documentation for setting up the number services.
Parameters
This function takes no parameters.
Request
<?xml version="1.0"?>
<NoveroRequest>
<Request target="Recordings" name="RecordingsList" id="Request1"/>
</NoveroRequest>
<?php
require_once('TTNCApi.php');
$Api = new TTNCApi('<username>', '<password>', '<VKey>');
$Request = $Api->NewRequest('Recordings', 'RecordingsList', 'Request1');
$Api->MakeRequests();
$Response = $Api->GetResponseFromId('Request1');
?>
require TTNCApi
api = TTNCApi.new('<username>', '<password>', '<vkey>')
request = api.newrequest('Recordings', 'RecordingsList', 'Request1')
api.makerequest()
p request.getresponse()
api = TTNCApi('<username>', '<password>', '<vkey>')
request = api.newrequest('Recordings', 'RecordingsList', 'Request1')
api.makerequest()
p request.getresponse()
using System;
using TTNCApi;
class Program
{
static void Main(string[] args)
{
TTNCApi api = new TTNCApi("<username>", "<password>", "<vkey>");
TTNCRequest request = api.NewRequest("Recordings", "RecordingsList", "Request1");
api.MakeRequests();
TTNCParser dic = request.GetResponse();
}
}
Response
<?xml version="1.0"?>
<NoveroResponse>
<Response target="Recordings" name="RecordingsList" Code="200" RequestId="Request1">
<Recordings>
<Recording>
<RecordingId>123</RecordingId>
<name>Dial In Management Sally - Please enter.wav</name>
<use>cr</use>
<filename>Dial In Management Sally - Please enter.wav</filename>
<date_added>2013-01-25 11:05:18</date_added>
<file_size>75164</file_size>
<length>00:04</length>
</Recording>
<Recording>
<RecordingId>234</RecordingId>
<name>Dial In Management Sally - Welcome.wav</name>
<use>cr</use>
<filename>Dial In Management Sally - Welcome.wav</filename>
<date_added>2013-01-25 11:06:08</date_added>
<file_size>59900</file_size>
<length>00:03</length>
</Recording>
...
</Recordings>
</Response>
</NoveroResponse>