All URIs are relative to https://api.mypurecloud.com
Method | HTTP request | Description |
---|---|---|
deleteConversationRecordingAnnotation | DELETE /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId} | Delete annotation |
deleteOrphanrecording | DELETE /api/v2/orphanrecordings/{orphanId} | Deletes a single orphan recording |
deleteRecordingJob | DELETE /api/v2/recording/jobs/{jobId} | Delete the recording bulk job |
deleteRecordingMediaretentionpolicies | DELETE /api/v2/recording/mediaretentionpolicies | Delete media retention policies |
deleteRecordingMediaretentionpolicy | DELETE /api/v2/recording/mediaretentionpolicies/{policyId} | Delete a media retention policy |
getConversationRecording | GET /api/v2/conversations/{conversationId}/recordings/{recordingId} | Gets a specific recording. |
getConversationRecordingAnnotation | GET /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId} | Get annotation |
getConversationRecordingAnnotations | GET /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations | Get annotations for recording |
getConversationRecordingmetadata | GET /api/v2/conversations/{conversationId}/recordingmetadata | Get recording metadata for a conversation. Does not return playable media. |
getConversationRecordingmetadataRecordingId | GET /api/v2/conversations/{conversationId}/recordingmetadata/{recordingId} | Get metadata for a specific recording. Does not return playable media. |
getConversationRecordings | GET /api/v2/conversations/{conversationId}/recordings | Get all of a Conversation's Recordings. |
getOrphanrecording | GET /api/v2/orphanrecordings/{orphanId} | Gets a single orphan recording |
getOrphanrecordingMedia | GET /api/v2/orphanrecordings/{orphanId}/media | Gets the media of a single orphan recording |
getOrphanrecordings | GET /api/v2/orphanrecordings | Gets all orphan recordings |
getRecordingBatchrequest | GET /api/v2/recording/batchrequests/{jobId} | Get the status and results for a batch request job, only the user that submitted the job may retrieve results |
getRecordingJob | GET /api/v2/recording/jobs/{jobId} | Get the status of the job associated with the job id. |
getRecordingJobs | GET /api/v2/recording/jobs | Get the status of all jobs within the user's organization |
getRecordingLocalkeysSetting | GET /api/v2/recording/localkeys/settings/{settingsId} | Get the local encryption settings |
getRecordingLocalkeysSettings | GET /api/v2/recording/localkeys/settings | gets a list local key settings data |
getRecordingMediaretentionpolicies | GET /api/v2/recording/mediaretentionpolicies | Gets media retention policy list with query options to filter on name and enabled. |
getRecordingMediaretentionpolicy | GET /api/v2/recording/mediaretentionpolicies/{policyId} | Get a media retention policy |
getRecordingRecordingkeys | GET /api/v2/recording/recordingkeys | Get encryption key list |
getRecordingRecordingkeysRotationschedule | GET /api/v2/recording/recordingkeys/rotationschedule | Get key rotation schedule |
getRecordingSettings | GET /api/v2/recording/settings | Get the Recording Settings for the Organization |
getRecordingsScreensessions | GET /api/v2/recordings/screensessions | Retrieves a paged listing of screen recording sessions |
patchRecordingMediaretentionpolicy | PATCH /api/v2/recording/mediaretentionpolicies/{policyId} | Patch a media retention policy |
patchRecordingsScreensession | PATCH /api/v2/recordings/screensessions/{recordingSessionId} | Update a screen recording session |
postConversationRecordingAnnotations | POST /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations | Create annotation |
postRecordingBatchrequests | POST /api/v2/recording/batchrequests | Submit a batch download request for recordings. Recordings in response will be in their original format/codec - configured in the Trunk configuration. |
postRecordingJobs | POST /api/v2/recording/jobs | Create a recording bulk job |
postRecordingLocalkeys | POST /api/v2/recording/localkeys | create a local recording key |
postRecordingLocalkeysSettings | POST /api/v2/recording/localkeys/settings | create settings for local key creation |
postRecordingMediaretentionpolicies | POST /api/v2/recording/mediaretentionpolicies | Create media retention policy |
postRecordingRecordingkeys | POST /api/v2/recording/recordingkeys | Create encryption key |
postRecordingsDeletionprotection | POST /api/v2/recordings/deletionprotection | Get a list of conversations with protected recordings |
putConversationRecording | PUT /api/v2/conversations/{conversationId}/recordings/{recordingId} | Updates the retention records on a recording. |
putConversationRecordingAnnotation | PUT /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId} | Update annotation |
putOrphanrecording | PUT /api/v2/orphanrecordings/{orphanId} | Updates an orphan recording to a regular recording with retention values |
putRecordingJob | PUT /api/v2/recording/jobs/{jobId} | Execute the recording bulk job |
putRecordingLocalkeysSetting | PUT /api/v2/recording/localkeys/settings/{settingsId} | Update the local encryption settings |
putRecordingMediaretentionpolicy | PUT /api/v2/recording/mediaretentionpolicies/{policyId} | Update a media retention policy |
putRecordingRecordingkeysRotationschedule | PUT /api/v2/recording/recordingkeys/rotationschedule | Update key rotation schedule |
putRecordingSettings | PUT /api/v2/recording/settings | Update the Recording Settings for the Organization |
putRecordingsDeletionprotection | PUT /api/v2/recordings/deletionprotection | Apply or revoke recording protection for conversations |
deleteConversationRecordingAnnotation($conversationId, $recordingId, $annotationId)
Delete annotation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
$annotationId = "annotationId_example"; // string | Annotation ID
try {
$apiInstance->deleteConversationRecordingAnnotation($conversationId, $recordingId, $annotationId);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->deleteConversationRecordingAnnotation: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID | |
annotationId | string | Annotation ID |
void (empty response body)
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\OrphanRecording deleteOrphanrecording($orphanId)
Deletes a single orphan recording
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$orphanId = "orphanId_example"; // string | Orphan ID
try {
$result = $apiInstance->deleteOrphanrecording($orphanId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->deleteOrphanrecording: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
orphanId | string | Orphan ID |
\PureCloudPlatform\Client\V2\Model\OrphanRecording
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteRecordingJob($jobId)
Delete the recording bulk job
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$jobId = "jobId_example"; // string | jobId
try {
$apiInstance->deleteRecordingJob($jobId);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->deleteRecordingJob: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
jobId | string | jobId |
void (empty response body)
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteRecordingMediaretentionpolicies($ids)
Delete media retention policies
Bulk delete of media retention policies, this will only delete the polices that match the ids specified in the query param.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$ids = "ids_example"; // string |
try {
$apiInstance->deleteRecordingMediaretentionpolicies($ids);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->deleteRecordingMediaretentionpolicies: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
ids | string |
void (empty response body)
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteRecordingMediaretentionpolicy($policyId)
Delete a media retention policy
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$policyId = "policyId_example"; // string | Policy ID
try {
$apiInstance->deleteRecordingMediaretentionpolicy($policyId);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->deleteRecordingMediaretentionpolicy: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
policyId | string | Policy ID |
void (empty response body)
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Recording getConversationRecording($conversationId, $recordingId, $formatId, $download, $fileName)
Gets a specific recording.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
$formatId = "WEBM"; // string | The desired media format.
$download = false; // bool | requesting a download format of the recording
$fileName = "fileName_example"; // string | the name of the downloaded fileName
try {
$result = $apiInstance->getConversationRecording($conversationId, $recordingId, $formatId, $download, $fileName);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getConversationRecording: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID | |
formatId | string | The desired media format. | [optional] [default to WEBM] |
download | bool | requesting a download format of the recording | [optional] [default to false] |
fileName | string | the name of the downloaded fileName | [optional] |
\PureCloudPlatform\Client\V2\Model\Recording
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Annotation getConversationRecordingAnnotation($conversationId, $recordingId, $annotationId)
Get annotation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
$annotationId = "annotationId_example"; // string | Annotation ID
try {
$result = $apiInstance->getConversationRecordingAnnotation($conversationId, $recordingId, $annotationId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getConversationRecordingAnnotation: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID | |
annotationId | string | Annotation ID |
\PureCloudPlatform\Client\V2\Model\Annotation
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Annotation[] getConversationRecordingAnnotations($conversationId, $recordingId)
Get annotations for recording
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
try {
$result = $apiInstance->getConversationRecordingAnnotations($conversationId, $recordingId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getConversationRecordingAnnotations: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID |
\PureCloudPlatform\Client\V2\Model\Annotation[]
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Recording[] getConversationRecordingmetadata($conversationId)
Get recording metadata for a conversation. Does not return playable media.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
try {
$result = $apiInstance->getConversationRecordingmetadata($conversationId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getConversationRecordingmetadata: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID |
\PureCloudPlatform\Client\V2\Model\Recording[]
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\RecordingMetadata getConversationRecordingmetadataRecordingId($conversationId, $recordingId)
Get metadata for a specific recording. Does not return playable media.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
try {
$result = $apiInstance->getConversationRecordingmetadataRecordingId($conversationId, $recordingId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getConversationRecordingmetadataRecordingId: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID |
\PureCloudPlatform\Client\V2\Model\RecordingMetadata
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Recording[] getConversationRecordings($conversationId, $maxWaitMs, $formatId)
Get all of a Conversation's Recordings.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$maxWaitMs = 5000; // int | The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value.
$formatId = "WEBM"; // string | The desired media format. Possible values: NONE, MP3, WAV, or WEBM
try {
$result = $apiInstance->getConversationRecordings($conversationId, $maxWaitMs, $formatId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getConversationRecordings: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
maxWaitMs | int | The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. | [optional] [default to 5000] |
formatId | string | The desired media format. Possible values: NONE, MP3, WAV, or WEBM | [optional] [default to WEBM] |
\PureCloudPlatform\Client\V2\Model\Recording[]
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\OrphanRecording getOrphanrecording($orphanId)
Gets a single orphan recording
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$orphanId = "orphanId_example"; // string | Orphan ID
try {
$result = $apiInstance->getOrphanrecording($orphanId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getOrphanrecording: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
orphanId | string | Orphan ID |
\PureCloudPlatform\Client\V2\Model\OrphanRecording
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Recording getOrphanrecordingMedia($orphanId, $formatId, $download, $fileName)
Gets the media of a single orphan recording
A 202 response means the orphaned media is currently transcoding and will be available shortly.A 200 response denotes the transcoded orphan media is available now and is contained in the response body.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$orphanId = "orphanId_example"; // string | Orphan ID
$formatId = "WEBM"; // string | The desired media format.
$download = false; // bool | requesting a download format of the recording
$fileName = "fileName_example"; // string | the name of the downloaded fileName
try {
$result = $apiInstance->getOrphanrecordingMedia($orphanId, $formatId, $download, $fileName);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getOrphanrecordingMedia: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
orphanId | string | Orphan ID | |
formatId | string | The desired media format. | [optional] [default to WEBM] |
download | bool | requesting a download format of the recording | [optional] [default to false] |
fileName | string | the name of the downloaded fileName | [optional] |
\PureCloudPlatform\Client\V2\Model\Recording
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\OrphanRecordingListing getOrphanrecordings($pageSize, $pageNumber, $sortBy, $expand, $nextPage, $previousPage, $hasConversation, $media)
Gets all orphan recordings
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pageSize = 25; // int | The total page size requested
$pageNumber = 1; // int | The page number requested
$sortBy = "sortBy_example"; // string | variable name requested to sort by
$expand = array("expand_example"); // string[] | variable name requested by expand list
$nextPage = "nextPage_example"; // string | next page token
$previousPage = "previousPage_example"; // string | Previous page token
$hasConversation = false; // bool | Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization.
$media = "media_example"; // string | Filter resulting orphans based on their media type
try {
$result = $apiInstance->getOrphanrecordings($pageSize, $pageNumber, $sortBy, $expand, $nextPage, $previousPage, $hasConversation, $media);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getOrphanrecordings: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int | The total page size requested | [optional] [default to 25] |
pageNumber | int | The page number requested | [optional] [default to 1] |
sortBy | string | variable name requested to sort by | [optional] |
expand | string[] | variable name requested by expand list | [optional] |
nextPage | string | next page token | [optional] |
previousPage | string | Previous page token | [optional] |
hasConversation | bool | Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. | [optional] [default to false] |
media | string | Filter resulting orphans based on their media type | [optional] |
\PureCloudPlatform\Client\V2\Model\OrphanRecordingListing
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\BatchDownloadJobStatusResult getRecordingBatchrequest($jobId)
Get the status and results for a batch request job, only the user that submitted the job may retrieve results
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$jobId = "jobId_example"; // string | jobId
try {
$result = $apiInstance->getRecordingBatchrequest($jobId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingBatchrequest: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
jobId | string | jobId |
\PureCloudPlatform\Client\V2\Model\BatchDownloadJobStatusResult
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\RecordingJob getRecordingJob($jobId)
Get the status of the job associated with the job id.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$jobId = "jobId_example"; // string | jobId
try {
$result = $apiInstance->getRecordingJob($jobId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingJob: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
jobId | string | jobId |
\PureCloudPlatform\Client\V2\Model\RecordingJob
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\RecordingJobEntityListing getRecordingJobs($pageSize, $pageNumber, $sortBy, $state, $showOnlyMyJobs, $jobType)
Get the status of all jobs within the user's organization
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pageSize = 25; // int | Page size
$pageNumber = 1; // int | Page number
$sortBy = "userId"; // string | Sort by
$state = "state_example"; // string | Filter by state
$showOnlyMyJobs = true; // bool | Show only my jobs
$jobType = "jobType_example"; // string | Job Type (Can be left empty for both)
try {
$result = $apiInstance->getRecordingJobs($pageSize, $pageNumber, $sortBy, $state, $showOnlyMyJobs, $jobType);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingJobs: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int | Page size | [optional] [default to 25] |
pageNumber | int | Page number | [optional] [default to 1] |
sortBy | string | Sort by | [optional] [default to userId] |
state | string | Filter by state | [optional] |
showOnlyMyJobs | bool | Show only my jobs | [optional] |
jobType | string | Job Type (Can be left empty for both) | [optional] |
\PureCloudPlatform\Client\V2\Model\RecordingJobEntityListing
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration getRecordingLocalkeysSetting($settingsId)
Get the local encryption settings
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$settingsId = "settingsId_example"; // string | Settings Id
try {
$result = $apiInstance->getRecordingLocalkeysSetting($settingsId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingLocalkeysSetting: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
settingsId | string | Settings Id |
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfigurationListing getRecordingLocalkeysSettings()
gets a list local key settings data
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->getRecordingLocalkeysSettings();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingLocalkeysSettings: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfigurationListing
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\PolicyEntityListing getRecordingMediaretentionpolicies($pageSize, $pageNumber, $sortBy, $expand, $nextPage, $previousPage, $name, $enabled, $summary, $hasErrors)
Gets media retention policy list with query options to filter on name and enabled.
for a less verbose response, add summary=true to this endpoint
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pageSize = 25; // int | The total page size requested
$pageNumber = 1; // int | The page number requested
$sortBy = "sortBy_example"; // string | variable name requested to sort by
$expand = array("expand_example"); // string[] | variable name requested by expand list
$nextPage = "nextPage_example"; // string | next page token
$previousPage = "previousPage_example"; // string | Previous page token
$name = "name_example"; // string | the policy name - used for filtering results in searches.
$enabled = true; // bool | checks to see if policy is enabled - use enabled = true or enabled = false
$summary = false; // bool | provides a less verbose response of policy lists.
$hasErrors = true; // bool | provides a way to fetch all policies with errors or policies that do not have errors
try {
$result = $apiInstance->getRecordingMediaretentionpolicies($pageSize, $pageNumber, $sortBy, $expand, $nextPage, $previousPage, $name, $enabled, $summary, $hasErrors);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingMediaretentionpolicies: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int | The total page size requested | [optional] [default to 25] |
pageNumber | int | The page number requested | [optional] [default to 1] |
sortBy | string | variable name requested to sort by | [optional] |
expand | string[] | variable name requested by expand list | [optional] |
nextPage | string | next page token | [optional] |
previousPage | string | Previous page token | [optional] |
name | string | the policy name - used for filtering results in searches. | [optional] |
enabled | bool | checks to see if policy is enabled - use enabled = true or enabled = false | [optional] |
summary | bool | provides a less verbose response of policy lists. | [optional] [default to false] |
hasErrors | bool | provides a way to fetch all policies with errors or policies that do not have errors | [optional] |
\PureCloudPlatform\Client\V2\Model\PolicyEntityListing
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Policy getRecordingMediaretentionpolicy($policyId)
Get a media retention policy
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$policyId = "policyId_example"; // string | Policy ID
try {
$result = $apiInstance->getRecordingMediaretentionpolicy($policyId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingMediaretentionpolicy: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
policyId | string | Policy ID |
\PureCloudPlatform\Client\V2\Model\Policy
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\EncryptionKeyEntityListing getRecordingRecordingkeys($pageSize, $pageNumber)
Get encryption key list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pageSize = 25; // int | Page size
$pageNumber = 1; // int | Page number
try {
$result = $apiInstance->getRecordingRecordingkeys($pageSize, $pageNumber);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingRecordingkeys: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int | Page size | [optional] [default to 25] |
pageNumber | int | Page number | [optional] [default to 1] |
\PureCloudPlatform\Client\V2\Model\EncryptionKeyEntityListing
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\KeyRotationSchedule getRecordingRecordingkeysRotationschedule()
Get key rotation schedule
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->getRecordingRecordingkeysRotationschedule();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingRecordingkeysRotationschedule: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\PureCloudPlatform\Client\V2\Model\KeyRotationSchedule
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\RecordingSettings getRecordingSettings($createDefault)
Get the Recording Settings for the Organization
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$createDefault = false; // bool | If no settings are found, a new one is created with default values
try {
$result = $apiInstance->getRecordingSettings($createDefault);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingSettings: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
createDefault | bool | If no settings are found, a new one is created with default values | [optional] [default to false] |
\PureCloudPlatform\Client\V2\Model\RecordingSettings
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\ScreenRecordingSessionListing getRecordingsScreensessions($pageSize, $pageNumber)
Retrieves a paged listing of screen recording sessions
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$pageSize = 25; // int | Page size
$pageNumber = 1; // int | Page number
try {
$result = $apiInstance->getRecordingsScreensessions($pageSize, $pageNumber);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->getRecordingsScreensessions: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
pageSize | int | Page size | [optional] [default to 25] |
pageNumber | int | Page number | [optional] [default to 1] |
\PureCloudPlatform\Client\V2\Model\ScreenRecordingSessionListing
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Policy patchRecordingMediaretentionpolicy($policyId, $body)
Patch a media retention policy
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$policyId = "policyId_example"; // string | Policy ID
$body = new \PureCloudPlatform\Client\V2\Model\Policy(); // \PureCloudPlatform\Client\V2\Model\Policy | Policy
try {
$result = $apiInstance->patchRecordingMediaretentionpolicy($policyId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->patchRecordingMediaretentionpolicy: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
policyId | string | Policy ID | |
body | \PureCloudPlatform\Client\V2\Model\Policy | Policy |
\PureCloudPlatform\Client\V2\Model\Policy
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
patchRecordingsScreensession($recordingSessionId, $body)
Update a screen recording session
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$recordingSessionId = "recordingSessionId_example"; // string | Screen recording session ID
$body = new \PureCloudPlatform\Client\V2\Model\ScreenRecordingSessionRequest(); // \PureCloudPlatform\Client\V2\Model\ScreenRecordingSessionRequest |
try {
$apiInstance->patchRecordingsScreensession($recordingSessionId, $body);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->patchRecordingsScreensession: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
recordingSessionId | string | Screen recording session ID | |
body | \PureCloudPlatform\Client\V2\Model\ScreenRecordingSessionRequest | [optional] |
void (empty response body)
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Annotation postConversationRecordingAnnotations($conversationId, $recordingId, $body)
Create annotation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
$body = new \PureCloudPlatform\Client\V2\Model\Annotation(); // \PureCloudPlatform\Client\V2\Model\Annotation | annotation
try {
$result = $apiInstance->postConversationRecordingAnnotations($conversationId, $recordingId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postConversationRecordingAnnotations: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID | |
body | \PureCloudPlatform\Client\V2\Model\Annotation | annotation |
\PureCloudPlatform\Client\V2\Model\Annotation
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\BatchDownloadJobSubmissionResult postRecordingBatchrequests($body)
Submit a batch download request for recordings. Recordings in response will be in their original format/codec - configured in the Trunk configuration.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\BatchDownloadJobSubmission(); // \PureCloudPlatform\Client\V2\Model\BatchDownloadJobSubmission | Job submission criteria
try {
$result = $apiInstance->postRecordingBatchrequests($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postRecordingBatchrequests: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\BatchDownloadJobSubmission | Job submission criteria |
\PureCloudPlatform\Client\V2\Model\BatchDownloadJobSubmissionResult
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\RecordingJob postRecordingJobs($body)
Create a recording bulk job
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\RecordingJobsQuery(); // \PureCloudPlatform\Client\V2\Model\RecordingJobsQuery | query
try {
$result = $apiInstance->postRecordingJobs($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postRecordingJobs: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\RecordingJobsQuery | query |
\PureCloudPlatform\Client\V2\Model\RecordingJob
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\EncryptionKey postRecordingLocalkeys($body)
create a local recording key
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\LocalEncryptionKeyRequest(); // \PureCloudPlatform\Client\V2\Model\LocalEncryptionKeyRequest | Local Encryption body
try {
$result = $apiInstance->postRecordingLocalkeys($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postRecordingLocalkeys: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\LocalEncryptionKeyRequest | Local Encryption body |
\PureCloudPlatform\Client\V2\Model\EncryptionKey
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration postRecordingLocalkeysSettings($body)
create settings for local key creation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration(); // \PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration | Local Encryption Configuration
try {
$result = $apiInstance->postRecordingLocalkeysSettings($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postRecordingLocalkeysSettings: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration | Local Encryption Configuration |
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Policy postRecordingMediaretentionpolicies($body)
Create media retention policy
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\PolicyCreate(); // \PureCloudPlatform\Client\V2\Model\PolicyCreate | Policy
try {
$result = $apiInstance->postRecordingMediaretentionpolicies($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postRecordingMediaretentionpolicies: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\PolicyCreate | Policy |
\PureCloudPlatform\Client\V2\Model\Policy
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\EncryptionKey postRecordingRecordingkeys()
Create encryption key
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->postRecordingRecordingkeys();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postRecordingRecordingkeys: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\PureCloudPlatform\Client\V2\Model\EncryptionKey
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\AddressableEntityRef[] postRecordingsDeletionprotection($body)
Get a list of conversations with protected recordings
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\ConversationDeletionProtectionQuery(); // \PureCloudPlatform\Client\V2\Model\ConversationDeletionProtectionQuery | conversationIds
try {
$result = $apiInstance->postRecordingsDeletionprotection($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->postRecordingsDeletionprotection: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\ConversationDeletionProtectionQuery | conversationIds |
\PureCloudPlatform\Client\V2\Model\AddressableEntityRef[]
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Recording putConversationRecording($conversationId, $recordingId, $body)
Updates the retention records on a recording.
Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. The recording:recording:view permission is required for the recording, as well as either the recording:recording:editRetention or recording:screenRecording:editRetention permissions depending on the type of recording.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
$body = new \PureCloudPlatform\Client\V2\Model\Recording(); // \PureCloudPlatform\Client\V2\Model\Recording | recording
try {
$result = $apiInstance->putConversationRecording($conversationId, $recordingId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putConversationRecording: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID | |
body | \PureCloudPlatform\Client\V2\Model\Recording | recording |
\PureCloudPlatform\Client\V2\Model\Recording
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Annotation putConversationRecordingAnnotation($conversationId, $recordingId, $annotationId, $body)
Update annotation
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$conversationId = "conversationId_example"; // string | Conversation ID
$recordingId = "recordingId_example"; // string | Recording ID
$annotationId = "annotationId_example"; // string | Annotation ID
$body = new \PureCloudPlatform\Client\V2\Model\Annotation(); // \PureCloudPlatform\Client\V2\Model\Annotation | annotation
try {
$result = $apiInstance->putConversationRecordingAnnotation($conversationId, $recordingId, $annotationId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putConversationRecordingAnnotation: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
conversationId | string | Conversation ID | |
recordingId | string | Recording ID | |
annotationId | string | Annotation ID | |
body | \PureCloudPlatform\Client\V2\Model\Annotation | annotation |
\PureCloudPlatform\Client\V2\Model\Annotation
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Recording putOrphanrecording($orphanId, $body)
Updates an orphan recording to a regular recording with retention values
If this operation is successful the orphan will no longer exist. It will be replaced by the resulting recording in the response. This replacement recording is accessible by the normal Recording api.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$orphanId = "orphanId_example"; // string | Orphan ID
$body = new \PureCloudPlatform\Client\V2\Model\OrphanUpdateRequest(); // \PureCloudPlatform\Client\V2\Model\OrphanUpdateRequest |
try {
$result = $apiInstance->putOrphanrecording($orphanId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putOrphanrecording: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
orphanId | string | Orphan ID | |
body | \PureCloudPlatform\Client\V2\Model\OrphanUpdateRequest | [optional] |
\PureCloudPlatform\Client\V2\Model\Recording
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\RecordingJob putRecordingJob($jobId, $body)
Execute the recording bulk job
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$jobId = "jobId_example"; // string | jobId
$body = new \PureCloudPlatform\Client\V2\Model\ExecuteRecordingJobsQuery(); // \PureCloudPlatform\Client\V2\Model\ExecuteRecordingJobsQuery | query
try {
$result = $apiInstance->putRecordingJob($jobId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putRecordingJob: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
jobId | string | jobId | |
body | \PureCloudPlatform\Client\V2\Model\ExecuteRecordingJobsQuery | query |
\PureCloudPlatform\Client\V2\Model\RecordingJob
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration putRecordingLocalkeysSetting($settingsId, $body)
Update the local encryption settings
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$settingsId = "settingsId_example"; // string | Settings Id
$body = new \PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration(); // \PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration | Local Encryption metadata
try {
$result = $apiInstance->putRecordingLocalkeysSetting($settingsId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putRecordingLocalkeysSetting: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
settingsId | string | Settings Id | |
body | \PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration | Local Encryption metadata |
\PureCloudPlatform\Client\V2\Model\LocalEncryptionConfiguration
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\Policy putRecordingMediaretentionpolicy($policyId, $body)
Update a media retention policy
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$policyId = "policyId_example"; // string | Policy ID
$body = new \PureCloudPlatform\Client\V2\Model\Policy(); // \PureCloudPlatform\Client\V2\Model\Policy | Policy
try {
$result = $apiInstance->putRecordingMediaretentionpolicy($policyId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putRecordingMediaretentionpolicy: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
policyId | string | Policy ID | |
body | \PureCloudPlatform\Client\V2\Model\Policy | Policy |
\PureCloudPlatform\Client\V2\Model\Policy
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\KeyRotationSchedule putRecordingRecordingkeysRotationschedule($body)
Update key rotation schedule
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\KeyRotationSchedule(); // \PureCloudPlatform\Client\V2\Model\KeyRotationSchedule | KeyRotationSchedule
try {
$result = $apiInstance->putRecordingRecordingkeysRotationschedule($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putRecordingRecordingkeysRotationschedule: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\KeyRotationSchedule | KeyRotationSchedule |
\PureCloudPlatform\Client\V2\Model\KeyRotationSchedule
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\PureCloudPlatform\Client\V2\Model\RecordingSettings putRecordingSettings($body)
Update the Recording Settings for the Organization
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$body = new \PureCloudPlatform\Client\V2\Model\RecordingSettings(); // \PureCloudPlatform\Client\V2\Model\RecordingSettings | Recording settings
try {
$result = $apiInstance->putRecordingSettings($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putRecordingSettings: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \PureCloudPlatform\Client\V2\Model\RecordingSettings | Recording settings |
\PureCloudPlatform\Client\V2\Model\RecordingSettings
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
putRecordingsDeletionprotection($protect, $body)
Apply or revoke recording protection for conversations
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: PureCloud OAuth
$config = PureCloudPlatform\Client\V2\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new PureCloudPlatform\Client\V2\Api\RecordingApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$protect = true; // bool | Check for apply, uncheck for revoke (each action requires the respective permission)
$body = new \PureCloudPlatform\Client\V2\Model\ConversationDeletionProtectionQuery(); // \PureCloudPlatform\Client\V2\Model\ConversationDeletionProtectionQuery |
try {
$apiInstance->putRecordingsDeletionprotection($protect, $body);
} catch (Exception $e) {
echo 'Exception when calling RecordingApi->putRecordingsDeletionprotection: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
protect | bool | Check for apply, uncheck for revoke (each action requires the respective permission) | [optional] [default to true] |
body | \PureCloudPlatform\Client\V2\Model\ConversationDeletionProtectionQuery | [optional] |
void (empty response body)
[PureCloud OAuth](../../README.md#PureCloud OAuth)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]