instruction stringlengths 81 221 | input stringlengths 50 1.19k | output stringlengths 525 3.61k |
|---|---|---|
Provide a Python example that uses the GET /api/v2/journey/actiontargets/{actionTargetId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a single action target. | ```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/journey/actiontargets/{actionTargetId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a single action target. | ```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/journey/actiontemplates Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve all action templates. | ```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/journey/actiontemplates Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a single action template. | ```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/journey/actiontemplates/{actionTemplateId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a single action template. | ```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/journey/actiontemplates/{actionTemplateId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a single action template. | ```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/journey/actiontemplates/{actionTemplateId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a single action template. | ```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/journey/deployments/{deploymentId}/actionevent Genesys Cloud Python SDK. | Genesys describes this as an API used to: Sends an action event, which is used for changing the state of actions that have been offered to the user. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.JourneyApi();
deployment_id = 'deployment_id_example' # str | The ID of the deployment sending the beacon.
body = PureClou... |
Provide a Python example that uses the POST /api/v2/journey/deployments/{deploymentId}/appevents Genesys Cloud Python SDK. | Genesys describes this as an API used to: Send a journey app event, used for tracking customer activity on an application. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.JourneyApi();
deployment_id = 'deployment_id_example' # str | The ID of the deployment sending the app event.
body = PureC... |
Provide a Python example that uses the GET /api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping Genesys Cloud Python SDK. | Genesys describes this as an API used to: Send a ping. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.JourneyApi();
deployment_id = 'deployment_id_example' # str | The ID of the deployment sending the ping.
customer_cookie_i... |
Provide a Python example that uses the POST /api/v2/journey/deployments/{deploymentId}/webevents Genesys Cloud Python SDK. | Genesys describes this as an API used to: Send a journey web event, used for tracking customer activity on a website. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.JourneyApi();
deployment_id = 'deployment_id_example' # str | The ID of the deployment sending the web event.
body = PureC... |
Provide a Python example that uses the POST /api/v2/journey/flows/paths/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for flow paths. | ```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/journey/outcomes Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve all outcomes. | ```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/journey/outcomes Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create an outcome. | ```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/journey/outcomes/predictors Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve all outcome predictors. | ```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/journey/outcomes/predictors Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create an outcome predictor. | ```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/journey/outcomes/predictors/{predictorId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete an outcome predictor. | ```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/journey/outcomes/predictors/{predictorId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a single outcome predictor. | ```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/journey/outcomes/{outcomeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete an outcome. | ```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/journey/outcomes/{outcomeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a single outcome. | ```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/journey/outcomes/{outcomeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update an outcome. | ```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/journey/segments Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve all segments. | ```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/journey/segments Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a segment. | ```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/journey/segments/{segmentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a segment. | ```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/journey/segments/{segmentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a single segment. | ```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/journey/segments/{segmentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a segment. | ```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/journey/sessions/{sessionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a single session. | ```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/journey/sessions/{sessionId}/events Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve all events for a given session. | ```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/journey/sessions/{sessionId}/outcomescores Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve latest outcome score associated with a session for all outcomes. | ```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/journey/views Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of Journey Views | ```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/journey/views Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a new Journey View | ```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/journey/views/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the jobs for an 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 DELETE /api/v2/journey/views/{viewId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a Journey View by ID. deletes all versions | ```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/journey/views/{viewId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a Journey View by ID. returns the latest version | ```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/journey/views/{viewId}/versions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a Journey View by ID. creates a new version | ```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/journey/views/{viewId}/versions/{journeyVersionId}/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Submit a job request for a journey view version. used for long descriptions | ```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/journey/views/{viewId}/versions/{journeyVersionId}/jobs/latest Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the latest job of a journey view version. used for long descriptions | ```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/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the job for a journey view version. used for long descriptions | ```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/journey/views/{viewId}/versions/{journeyViewVersion}/jobs/{jobId}/results Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the result of a job for a journey view version. used for long descriptions | ```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/journey/views/{viewId}/versions/{versionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a Journey View by ID and version | ```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/knowledge/documentuploads Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a presigned URL for uploading a knowledge import file with a set of documents | ```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/knowledge/guest/sessions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create guest session | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
body = PureCloudPlatformClientV2.KnowledgeGuestSession() # KnowledgeGuestSession |
try:
# Create gue... |
Provide a Python example that uses the GET /api/v2/knowledge/guest/sessions/{sessionId}/categories Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get categories | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
before = 'before_example' # str | Th... |
Provide a Python example that uses the GET /api/v2/knowledge/guest/sessions/{sessionId}/documents Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get documents. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
category_id = ['category_id_example'... |
Provide a Python example that uses the POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/answers Genesys Cloud Python SDK. | Genesys describes this as an API used to: Answer documents. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
body = PureCloudPlatformClientV2.Kno... |
Provide a Python example that uses the POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Indicate that documents were presented to the user. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
body = PureCloudPlatformClientV2.Kno... |
Provide a Python example that uses the POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/search Genesys Cloud Python SDK. | Genesys describes this as an API used to: Search the documents in a guest session. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
expand = ['expand_example'] # list[s... |
Provide a Python example that uses the POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/search/suggestions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query the knowledge documents to provide suggestions for auto completion. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
body = PureCloudPlatformClientV2.Kno... |
Provide a Python example that uses the PATCH /api/v2/knowledge/guest/sessions/{sessionId}/documents/search/{searchId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update search result. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
search_id = 'search_id_example' # st... |
Provide a Python example that uses the GET /api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a knowledge document by ID. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
document_id = 'document_id_example' ... |
Provide a Python example that uses the POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies Genesys Cloud Python SDK. | Genesys describes this as an API used to: Indicate that the document was copied by the user. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
document_id = 'document_id_example' ... |
Provide a Python example that uses the POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/feedback Genesys Cloud Python SDK. | Genesys describes this as an API used to: Give feedback on a document | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
document_id = 'document_id_example' ... |
Provide a Python example that uses the POST /api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create view event for a document. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.KnowledgeApi();
session_id = 'session_id_example' # str | Knowledge guest session ID.
document_id = 'document_id_example' ... |
Provide a Python example that uses the GET /api/v2/knowledge/knowledgebases Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get knowledge bases | ```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/knowledge/knowledgebases Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create new knowledge base | ```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/knowledge/knowledgebases/{knowledgeBaseId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete knowledge base | ```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/knowledge/knowledgebases/{knowledgeBaseId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get knowledge base | ```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/knowledge/knowledgebases/{knowledgeBaseId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update knowledge base | ```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/knowledge/knowledgebases/{knowledgeBaseId}/categories Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get categories | ```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/knowledge/knowledgebases/{knowledgeBaseId}/categories Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create new category | ```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/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete category | ```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/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get category | ```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/knowledge/knowledgebases/{knowledgeBaseId}/categories/{categoryId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update category | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get documents. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers Genesys Cloud Python SDK. | Genesys describes this as an API used to: Answer documents. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Indicate that documents were presented to the 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 POST /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query for knowledge documents. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/search Genesys Cloud Python SDK. | Genesys describes this as an API used to: Search the documents in a knowledge base. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/suggestions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query the knowledge documents to provide suggestions for auto completion. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/search/{searchId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update search result. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies Genesys Cloud Python SDK. | Genesys describes this as an API used to: Indicate that the document was copied by the 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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of feedback records given on a document | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback Genesys Cloud Python SDK. | Genesys describes this as an API used to: Give feedback on a document | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a single feedback record given on a document | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update feedback on a document | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get variations for a document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a variation for a document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a variation for a document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a variation for a document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a variation for a document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get document versions. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates or restores a document version. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get document version. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}/variations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get variations for the given document version. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/versions/{versionId}/variations/{variationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get variation for the given document version. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/views Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create view for a document. | ```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/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create export 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 DELETE /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs/{exportJobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete export 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/knowledge/knowledgebases/{knowledgeBaseId}/export/jobs/{exportJobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get export job 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/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create import 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 DELETE /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete import 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/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get import job 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 PATCH /api/v2/knowledge/knowledgebases/{knowledgeBaseId}/import/jobs/{importJobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Start import 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/knowledge/knowledgebases/{knowledgeBaseId}/labels Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get labels | ```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/knowledge/knowledgebases/{knowledgeBaseId}/labels Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create new label | ```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/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete label | ```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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.