instruction stringlengths 81 221 | input stringlengths 50 1.19k | output stringlengths 525 3.61k |
|---|---|---|
Provide a Python example that uses the DELETE /api/v2/flows/milestones/{milestoneId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a flow milestone. | ```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/flows/milestones/{milestoneId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a flow milestone. Returns a specified flow milestone | ```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/flows/milestones/{milestoneId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates a flow milestone | ```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/flows/outcomes Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a pageable list of flow outcomes, filtered by query parameters. Multiple IDs can be specified, in which case all matching flow outcomes will be returned, and no other parameters will be evaluated. | ```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/flows/outcomes Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a flow outcome. Asynchronous. Notification topic: v2.flows.outcomes.{flowOutcomeId} | ```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/flows/outcomes/divisionviews Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a pageable list of basic flow outcome information objects filterable by query parameters. This returns flow outcomes consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional ... | ```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/flows/outcomes/{flowOutcomeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a flow outcome. Returns a specified flow 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 PUT /api/v2/flows/outcomes/{flowOutcomeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates a flow outcome. Updates a flow outcome. Asynchronous. Notification topic: v2.flowoutcomes.{flowoutcomeId} | ```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/flows/{flowId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete flow | ```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/flows/{flowId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get flow | ```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/flows/{flowId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update flow | ```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/flows/{flowId}/history Genesys Cloud Python SDK. | Genesys describes this as an API used to: Generate flow history. Asynchronous. Notification topic: v2.flows.{flowId} | ```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/flows/{flowId}/history/{historyId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get generated flow history | ```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/flows/{flowId}/instances/settings/loglevels Genesys Cloud Python SDK. | Genesys describes this as an API used to: Deletes a log level for a flow by flow id. Deletes the associated log level for a flow by flow 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 GET /api/v2/flows/{flowId}/instances/settings/loglevels Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves the log level for a flow by flow id. Retrieves the log level for a flow by flow 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 POST /api/v2/flows/{flowId}/instances/settings/loglevels Genesys Cloud Python SDK. | Genesys describes this as an API used to: Set the logLevel for a particular flow id. Assigns a new loglevel to a flow 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/flows/{flowId}/instances/settings/loglevels Genesys Cloud Python SDK. | Genesys describes this as an API used to: Edit the logLevel for a particular flow id. Updates the loglevel for a flow 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 GET /api/v2/flows/{flowId}/latestconfiguration Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the latest configuration for flow | ```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/flows/{flowId}/versions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get flow version 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/flows/{flowId}/versions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create flow 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/flows/{flowId}/versions/{versionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get flow 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/flows/{flowId}/versions/{versionId}/configuration Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create flow version 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/flows/{flowId}/versions/{versionId}/health Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get overall health scores for all intents present in the NLU domain version associated with the bot flow 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/flows/{flowId}/versions/{versionId}/intents/{intentId}/health Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get health scores and other health metrics for a specific intent. This includes the health metrics for each utterance in an intent. | ```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/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get health metrics associated with a specific utterance of an intent. | ```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/audits/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create audit query execution. Use /api/v2/audits/query/servicemapping endpoint for a list of valid values | ```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/audits/query/realtime Genesys Cloud Python SDK. | Genesys describes this as an API used to: This endpoint will only retrieve 14 days worth of audits for certain services. Please use /query to get a full list and older audits. Use /api/v2/audits/query/realtime/servicemapping endpoint for a list of valid values | ```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/audits/query/realtime/related Genesys Cloud Python SDK. | Genesys describes this as an API used to: Often a single action results in multiple audits. The endpoint retrieves all audits created by the same action as the given audit 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 GET /api/v2/audits/query/realtime/servicemapping Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get service mapping information used in realtime audits. | ```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/audits/query/servicemapping Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get service mapping information used in audits. | ```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/audits/query/{transactionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get status of audit query execution | ```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/audits/query/{transactionId}/results Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get results of audit query | ```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/authorization/divisions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a list of all divisions defined for the organization. Request specific divisions by id using a query param "id", e.g. ?id=5f777167-63be-4c24-ad41-374155d9e28b&id=72e9fb25-c484-488d-9312-7acba82435b3 | ```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/authorization/divisions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a division. | ```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/authorization/divisions/home Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve the home division for the organization. Will not include object counts. | ```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/authorization/divisions/limit Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns the maximum allowed number of divisions. | ```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/authorization/divisions/{divisionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a division. | ```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/authorization/divisions/{divisionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns an authorization division. | ```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/authorization/divisions/{divisionId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a division. | ```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/authorization/divisions/{divisionId}/grants Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets all grants for a given division. Returns all grants assigned to a given division. Maximum page size is 500. | ```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/authorization/divisions/{divisionId}/objects/{objectType} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Assign a list of objects to a division. Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs,... | ```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/authorization/divisions/{divisionId}/restore Genesys Cloud Python SDK. | Genesys describes this as an API used to: Recreate a previously deleted division. | ```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/authorization/divisionspermitted/paged/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns which divisions the current user has the given permission in. | ```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/authorization/permissions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get all permissions. Retrieve a list of all permission defined in the system. | ```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/authorization/products Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the list of enabled products. Gets the list of enabled products. Some example product names are: collaborateFree, collaboratePro, communicate, and engage. | ```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/authorization/roles Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieve a list of all roles defined 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/authorization/roles Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create an organization role. | ```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/authorization/roles/default Genesys Cloud Python SDK. | Genesys describes this as an API used to: Restores all default roles. This endpoint serves several purposes. 1. It provides the org with default roles. This is important for default roles that will be added after go-live (they can retroactively add the new default-role). Note: When not using a query param of force=true... | ```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/authorization/roles/default Genesys Cloud Python SDK. | Genesys describes this as an API used to: Restore specified default roles | ```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/authorization/roles/settings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get authorization role settings | ```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/authorization/roles/settings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Change authorization role settings. Change role settings | ```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/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get an org role to default role comparison. Compares any organization role to a default role id and show differences | ```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/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get an unsaved org role to default role comparison. Allows users to compare their existing roles in an unsaved state to its default role | ```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/authorization/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete an organization role. | ```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/authorization/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a single organization role. Get the organization role specified by its 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 PATCH /api/v2/authorization/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Patch Organization Role for needsUpdate Field. Patch Organization Role for needsUpdate Field | ```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/authorization/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Bulk-grant subjects and divisions with an organization role. | ```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/authorization/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update an organization role. Update | ```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/authorization/roles/{roleId}/subjectgrants Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the subjects' granted divisions in the specified role. Includes the divisions for which the subject has a grant. | ```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/authorization/roles/{roleId}/users Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of the users in a specified role. Get an array of the UUIDs of the users in the specified role. | ```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/authorization/roles/{roleId}/users/add Genesys Cloud Python SDK. | Genesys describes this as an API used to: Sets the users for the role | ```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/authorization/roles/{roleId}/users/remove Genesys Cloud Python SDK. | Genesys describes this as an API used to: Removes the users from the role | ```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/authorization/settings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get authorization settings | ```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/authorization/settings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Change authorization settings. Change authorization settings | ```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/authorization/subjects/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns a listing of roles and permissions for the currently authenticated 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/authorization/subjects/rolecounts Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the count of roles granted to a list of subjects | ```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/authorization/subjects/{subjectId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns a listing of roles and permissions for a 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/authorization/subjects/{subjectId}/bulkadd Genesys Cloud Python SDK. | Genesys describes this as an API used to: Bulk-grant roles and divisions to a subject. | ```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/authorization/subjects/{subjectId}/bulkremove Genesys Cloud Python SDK. | Genesys describes this as an API used to: Bulk-remove grants from a subject. | ```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/authorization/subjects/{subjectId}/bulkreplace Genesys Cloud Python SDK. | Genesys describes this as an API used to: Replace subject's roles and divisions with the exact list supplied in the request. This operation will not remove grants that are inherited from group membership. It will only set the grants directly applied to the subject. | ```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/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a grant of a role in a division | ```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/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Make a grant of a role in a division | ```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/users/{subjectId}/roles Genesys Cloud Python SDK. | Genesys describes this as an API used to: Returns a listing of roles and permissions for a 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 PUT /api/v2/users/{subjectId}/roles Genesys Cloud Python SDK. | Genesys describes this as an API used to: Sets the user's roles | ```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/billing/reports/billableusage Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a report of the billable license usages. Report is of the billable usages (e.g. licenses and devices utilized) for a given period. If response's status is InProgress, wait a few seconds, then try the same request again. | ```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/billing/trusteebillingoverview/{trustorOrgId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the billing overview for an organization that is managed by a partner. Tax Disclaimer: Prices returned by this API do not include applicable taxes. It is the responsibility of the customer to pay all taxes that are appropriate in their jurisdiction. See the PureCloud API Do... | ```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/carrierservices/integrations/emergencylocations/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get location for the logged in 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/carrierservices/integrations/emergencylocations/me Genesys Cloud Python SDK. | Genesys describes this as an API used to: Set current location for the logged in 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/chats/messages/{messageId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a message | ```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/chats/messages/{messageId}/reactions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update reactions to a message | ```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/chats/rooms Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create an adhoc room | ```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/chats/rooms/{roomJid} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a room | ```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/chats/rooms/{roomJid} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Set properties for a room | ```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/chats/rooms/{roomJid}/messages Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a room's message history | ```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/chats/rooms/{roomJid}/messages Genesys Cloud Python SDK. | Genesys describes this as an API used to: Send a message to a room | ```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/chats/rooms/{roomJid}/messages/pins Genesys Cloud Python SDK. | Genesys describes this as an API used to: Add pinned messages for a room, up to a maximum of 5 pinned messages | ```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/chats/rooms/{roomJid}/messages/pins/{pinnedMessageId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Remove a pinned message from a room | ```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/chats/rooms/{roomJid}/messages/{messageIds} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get messages by id(s) from a room | ```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/chats/rooms/{roomJid}/messages/{messageId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a message in a room | ```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/chats/rooms/{roomJid}/messages/{messageId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Edit a message in a room | ```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/chats/rooms/{roomJid}/participants Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get room participants in a room | ```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/chats/rooms/{roomJid}/participants/{participantJid} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a room participant | ```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/chats/rooms/{roomJid}/participants/{userId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Remove a user from a room. | ```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/chats/rooms/{roomJid}/participants/{userId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Join a room | ```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/chats/settings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get Chat Settings. | ```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/chats/settings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Patch Chat Settings. | ```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/chats/settings Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update Chat Settings. | ```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/chats/threads/{threadId}/messages Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get history by thread | ```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/chats/users/{userId}/messages Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get 1on1 History between a 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/chats/users/{userId}/messages Genesys Cloud Python SDK. | Genesys describes this as an API used to: Send a message to a 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.