Get the current active recordings, filtered by device name, directory number, username and/or numeric user ID.
Available since 2019.Winter.1.
GET fw/Apps/Recorder/WebAPI/LiveRecordings
Name | Type | Required | Description | Default | Example |
---|---|---|---|---|---|
deviceName | string | false | The device name of the phone to be monitored | null | SEP123456789ABC |
directoryNumber | string | false | The directory number of the line to be monitored | null | 123456 |
username | string | false | The username of the user to be monitored | null | user1 |
numericUserId | string | false | The numeric user ID of the user to be monitored | null | 654321 |
If multiple fitlers are applied, all of them have to be met in order for an active recording to be retrieved by the service.
If no filters are specifed, the service returns the complete list of all the active recordings.
If no active recording meeting the specified filters is found, an empty JSON array is returned.
The response body is an application/json object with the following model:
Name | Type | Description |
---|---|---|
id | string | Recording unique identifier |
duration | ISO 8601 duration | Recording current duration |
startedAt | ISO 8601 date | Recording start time |
localParty | localParty | Details about the local party, i.e. the recording owner |
remoteParty | remoteParty | Details about the remote party |
isPaused | boolean | True if the recording is paused, false otherwise |
Name | Type | Descritpion |
---|---|---|
username | string | IAS Username |
Name | Type | Descritpion |
---|---|---|
firstName | string | Contact first name |
lastName | string | Contact last name |
phoneNumber | string | Remote party phone number |
No authentication provided or wrong user credentials.
The authenticated user has no sufficient privileges to access the requested recording.
An error occurred while processing the request.
In this example we retrieve the active recordings associated to directory number 123456 and username user1
GET fw/Apps/Recorder/WebAPI/LiveRecordings?directoryNumber=123456&username=user1
The response status is 200 OK, and its body is: