instruction
stringlengths
81
221
input
stringlengths
50
1.19k
output
stringlengths
525
3.61k
Provide a Python example that uses the DELETE /api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete an evaluation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an evaluation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an evaluation. The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to c...
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/conversations/{conversationId}/surveys Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the surveys for a conversation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/quality/evaluations/aggregates/query/me Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query for evaluation aggregates for the current user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/evaluations/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Queries Evaluations and returns a paged list. Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to 'N...
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/quality/evaluations/scoring Genesys Cloud Python SDK.
Genesys describes this as an API used to: Score evaluation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/evaluators/activity Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an evaluator activity
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/evaluations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of evaluation forms. By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the d...
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/quality/forms/evaluations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create an evaluation form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/evaluations/bulk/contexts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Retrieve a list of the latest published evaluation form versions by context ids
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/quality/forms/evaluations/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete an evaluation form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/evaluations/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an evaluation form
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/quality/forms/evaluations/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an evaluation form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/evaluations/{formId}/versions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets all the revisions for a specific evaluation.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/surveys Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of survey forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding survey form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/quality/forms/surveys Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a survey form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/surveys/bulk Genesys Cloud Python SDK.
Genesys describes this as an API used to: Retrieve a list of survey forms by their ids
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/surveys/bulk/contexts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Retrieve a list of the latest form versions by context ids
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/quality/forms/surveys/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a survey form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/surveys/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a survey form
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PATCH /api/v2/quality/forms/surveys/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Disable a particular version of a survey form and invalidates any invitations that have already been sent to customers using this version of the form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/quality/forms/surveys/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a survey form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/forms/surveys/{formId}/versions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets all the revisions for a specific survey.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/publishedforms/evaluations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the published evaluation forms.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/quality/publishedforms/evaluations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Publish an evaluation form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/publishedforms/evaluations/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the most recent published version of an evaluation form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/publishedforms/surveys Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the published survey forms.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/quality/publishedforms/surveys Genesys Cloud Python SDK.
Genesys describes this as an API used to: Publish a survey form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/publishedforms/surveys/{formId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the most recent published version of a survey form.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/surveys/scorable Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a survey as an end-customer, for the purposes of scoring it.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.QualityApi(); customer_survey_url = 'customer_survey_url_example' # str | customerSurveyUrl try: # Get a survey as an...
Provide a Python example that uses the PUT /api/v2/quality/surveys/scorable Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a survey as an end-customer, for the purposes of scoring it.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.QualityApi(); customer_survey_url = 'customer_survey_url_example' # str | customerSurveyUrl body = PureCloudPlatformClient...
Provide a Python example that uses the POST /api/v2/quality/surveys/scoring Genesys Cloud Python SDK.
Genesys describes this as an API used to: Score survey
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/quality/surveys/{surveyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a survey for a conversation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/conversations/{conversationId}/recordingmetadata Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if either recording:recording:view or recording:annotation:view permission is missing.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/conversations/{conversationId}/recordingmetadata/{recordingId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get metadata for a specific recording. Does not return playable media.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/conversations/{conversationId}/recordings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get all of a Conversation's Recordings.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/conversations/{conversationId}/recordings/{recordingId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets a specific recording.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/conversations/{conversationId}/recordings/{recordingId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: 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...
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get annotations for recording
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create annotation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete annotation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get annotation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update annotation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/orphanrecordings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets all orphan recordings
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/orphanrecordings/{orphanId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes a single orphan recording
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/orphanrecordings/{orphanId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets a single orphan recording
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/orphanrecordings/{orphanId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: 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.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/orphanrecordings/{orphanId}/media Genesys Cloud Python SDK.
Genesys describes this as an API used to: 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.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/batchrequests Genesys Cloud Python SDK.
Genesys describes this as an API used to: Submit a batch download request for recordings. Recordings in response will be in their original format/codec - configured in the Trunk configuration.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/batchrequests/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the status and results for a batch request job, only the user that submitted the job may retrieve results. Each result may contain either a URL to a recording or an error; additionally, a recording could be associated with multiple results.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/recording/crossplatform/mediaretentionpolicies Genesys Cloud Python SDK.
Genesys describes this as an API used to: 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.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/crossplatform/mediaretentionpolicies Genesys Cloud Python SDK.
Genesys describes this as an API used to: 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
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/crossplatform/mediaretentionpolicies Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create media retention policy. Policy does not work retroactively
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a media retention policy
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a media retention policy
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PATCH /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Patch a media retention policy
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/recording/crossplatform/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a media retention policy. Policy does not work retroactively
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the status of all jobs within the user's organization
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a recording bulk job. Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data when red...
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/recording/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete the recording bulk job
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the status of the job associated with the job id.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/recording/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Execute the recording bulk job. A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recording's retention.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/jobs/{jobId}/failedrecordings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get IDs of recordings that the bulk job failed for
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/keyconfigurations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of key configurations data
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/keyconfigurations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Setup configurations for encryption key creation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/keyconfigurations/validate Genesys Cloud Python SDK.
Genesys describes this as an API used to: Validate encryption key configurations without saving it
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/keyconfigurations/{keyConfigurationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the encryption key configurations
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/recording/keyconfigurations/{keyConfigurationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update the encryption key configurations
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/localkeys Genesys Cloud Python SDK.
Genesys describes this as an API used to: create a local key management recording key
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/recording/mediaretentionpolicies Genesys Cloud Python SDK.
Genesys describes this as an API used to: 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.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/mediaretentionpolicies Genesys Cloud Python SDK.
Genesys describes this as an API used to: 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
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/mediaretentionpolicies Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create media retention policy. Policy does not work retroactively
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/recording/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a media retention policy
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a media retention policy
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PATCH /api/v2/recording/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Patch a media retention policy
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/recording/mediaretentionpolicies/{policyId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a media retention policy. Policy does not work retroactively
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/recordingkeys Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get encryption key list
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/recordingkeys Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create encryption key
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/recordingkeys/rotationschedule Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get key rotation schedule
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/recording/recordingkeys/rotationschedule Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update key rotation schedule
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the Recording Settings for the Organization
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/recording/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update the Recording Settings for the Organization
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recording/uploads/reports Genesys Cloud Python SDK.
Genesys describes this as an API used to: Creates a recording upload status report
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recording/uploads/reports/{reportId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the status of a recording upload status report
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recordings/deletionprotection Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of conversations with protected recordings
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/recordings/deletionprotection Genesys Cloud Python SDK.
Genesys describes this as an API used to: Apply or revoke recording protection for conversations
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recordings/retention/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query for recording retention data
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recordings/screensessions/acknowledge Genesys Cloud Python SDK.
Genesys describes this as an API used to: Acknowledge a screen recording.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/recordings/screensessions/details Genesys Cloud Python SDK.
Genesys describes this as an API used to: Retrieves an object containing the total number of concurrent active screen recordings
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/recordings/screensessions/metadata Genesys Cloud Python SDK.
Genesys describes this as an API used to: Provide meta-data a screen recording.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/responsemanagement/libraries Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets a list of existing response libraries.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/responsemanagement/libraries Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a response library.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/responsemanagement/libraries/bulk Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get response libraries.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/responsemanagement/libraries/{libraryId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete an existing response library. This will remove any responses associated with the library.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/responsemanagement/libraries/{libraryId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get details about an existing response library.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/responsemanagement/libraries/{libraryId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an existing response library. Fields that can be updated: name. The most recent version is required for updates.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/responsemanagement/responseassets/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search response assets
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/responsemanagement/responseassets/status/{statusId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get response asset upload status
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/responsemanagement/responseassets/uploads Genesys Cloud Python SDK.
Genesys describes this as an API used to: Creates pre-signed url for uploading response asset
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...