instruction
stringlengths
81
221
input
stringlengths
50
1.19k
output
stringlengths
525
3.61k
Provide a Python example that uses the PUT /api/v2/webdeployments/configurations/{configurationId}/versions/draft Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update the configuration draft
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/webdeployments/configurations/{configurationId}/versions/draft/publish Genesys Cloud Python SDK.
Genesys describes this as an API used to: Publish the configuration draft and create 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 GET /api/v2/webdeployments/configurations/{configurationId}/versions/{versionId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a configuration 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/webdeployments/deployments Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get deployments
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/webdeployments/deployments Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/webdeployments/deployments/{deploymentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/webdeployments/deployments/{deploymentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/webdeployments/deployments/{deploymentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes a cobrowse session
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.WebDeploymentsApi(); deployment_id = 'deployment_id_example' # str | WebMessaging deployment ID session_id = 'session_id_e...
Provide a Python example that uses the GET /api/v2/webdeployments/deployments/{deploymentId}/cobrowse/{sessionId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Retrieves a cobrowse session
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.WebDeploymentsApi(); deployment_id = 'deployment_id_example' # str | WebMessaging deployment ID session_id = 'session_id_e...
Provide a Python example that uses the GET /api/v2/webdeployments/deployments/{deploymentId}/configurations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get active configuration for a given deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/webdeployments/token/oauthcodegrantjwtexchange Genesys Cloud Python SDK.
Genesys describes this as an API used to: Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.WebDeploymentsApi(); body = PureCloudPlatformClientV2.WebDeploymentsOAuthExchangeRequest() # WebDeploymentsOAuthExchangeRe...
Provide a Python example that uses the POST /api/v2/webdeployments/token/refresh Genesys Cloud Python SDK.
Genesys describes this as an API used to: Refresh a JWT.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.WebDeploymentsApi(); body = PureCloudPlatformClientV2.WebDeploymentsRefreshJWTRequest() # WebDeploymentsRefreshJWTRequest ...
Provide a Python example that uses the DELETE /api/v2/webdeployments/token/revoke Genesys Cloud Python SDK.
Genesys describes this as an API used to: Invalidate JWT
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.WebDeploymentsApi(); x_journey_session_id = 'x_journey_session_id_example' # str | The Customer's journey sessionId. (opti...
Provide a Python example that uses the POST /api/v2/webchat/guest/conversations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create an ACD chat conversation from an external customer. This endpoint will create a new ACD Chat conversation under the specified Chat Deployment. The conversation will begin with a guest member in it (with a role=CUSTOMER) according to the customer information that is suppl...
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.WebChatApi(); body = PureCloudPlatformClientV2.CreateWebChatConversationRequest() # CreateWebChatConversationRequest | Cre...
Provide a Python example that uses the GET /api/v2/webchat/guest/conversations/{conversationId}/mediarequests Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get all media requests to the guest in the conversation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the GET /api/v2/webchat/guest/conversations/{conversationId}/members Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the members of a chat conversation.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the DELETE /api/v2/webchat/guest/conversations/{conversationId}/members/{memberId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Remove a member from a chat conversation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the GET /api/v2/webchat/guest/conversations/{conversationId}/members/{memberId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a web chat conversation member
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the POST /api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/messages Genesys Cloud Python SDK.
Genesys describes this as an API used to: Send a message in a chat conversation.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the POST /api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}/typing Genesys Cloud Python SDK.
Genesys describes this as an API used to: Send a typing-indicator in a chat conversation.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the GET /api/v2/webchat/guest/conversations/{conversationId}/messages Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the messages of a chat conversation.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the GET /api/v2/webchat/guest/conversations/{conversationId}/messages/{messageId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a web chat conversation message
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure API key authorization: Guest Chat JWT PureCloudPlatformClientV2.configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. BEARER) for API key, if neede...
Provide a Python example that uses the DELETE /api/v2/webchat/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Remove WebChat deployment 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/webchat/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get WebChat deployment 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/webchat/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update WebChat deployment 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/webmessaging/messages Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the messages for a web messaging session.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = PureCloudPlatformClientV2.WebMessagingApi(); page_size = 25 # int | Page size (optional) (default to 25) page_number = 1 # int | Page number (option...
Provide a Python example that uses the GET /api/v2/widgets/deployments Genesys Cloud Python SDK.
Genesys describes this as an API used to: List Widget deployments
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/widgets/deployments Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create Widget deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/widgets/deployments/{deploymentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a Widget deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/widgets/deployments/{deploymentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a Widget deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/widgets/deployments/{deploymentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a Widget deployment
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/adherence Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of UserScheduleAdherence records for the requested users
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/adherence/explanations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Submit an adherence explanation for the current user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/workforcemanagement/adherence/explanations/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query the status of an adherence explanation operation. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/adherence/explanations/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query adherence explanations for the current user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/workforcemanagement/adherence/explanations/{explanationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an adherence explanation for the current user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/workforcemanagement/adherence/historical/bulk Genesys Cloud Python SDK.
Genesys describes this as an API used to: Request a historical adherence report in bulk
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/adherence/historical/bulk/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Request to fetch the status of the historical adherence bulk job. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/adherence/historical/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query the status of a historical adherence request operation. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents Genesys Cloud Python SDK.
Genesys describes this as an API used to: Move agents in and out of management unit
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/integrations/hris/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query integrations for agents
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/me/managementunit Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the management unit to which the currently logged in agent belongs
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/me/possibleworkshifts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get agent possible work shifts for requested time frame
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/{agentId}/adherence/explanations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add an adherence explanation for the requested 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/workforcemanagement/agents/{agentId}/adherence/explanations/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query adherence explanations for the given agent across a specified range
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an adherence explanation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an adherence explanation
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/{agentId}/integrations/hris Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update integrations for agent
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agents/{agentId}/managementunit Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the management unit to which the agent belongs
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/agentschedules/mine Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get published schedule for the current user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/workforcemanagement/alternativeshifts/offers/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Request a list of alternative shift offers for a given schedule
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/workforcemanagement/alternativeshifts/offers/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query the status of an alternative shift offers operation. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/offers/search/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Request a search of alternative shift offers for a given shift
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/offers/search/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query the status of an alternative shift search offers operation. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get alternative shifts settings from the current logged in agent’s business unit
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/trades Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of my alternative shifts trades
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/trades Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create my alternative shift trade using an existing offer's jobId
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/trades/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query the status of an alternative shift trades operation. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/trades/state/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Bulk update alternative shift trade states
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/trades/state/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query the status of an alternative shift trade state operation. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/alternativeshifts/trades/{tradeId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get my alternative shift trade by trade 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/workforcemanagement/alternativeshifts/trades/{tradeId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update my alternative shifts trade by trade 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/workforcemanagement/businessunits Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get business units
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits Genesys Cloud Python SDK.
Genesys describes this as an API used to: Add a new business unit. It may take a minute or two for a new business unit to be available for api operations
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/divisionviews Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get business units across 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/workforcemanagement/businessunits/{businessUnitId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete business unit. A business unit cannot be deleted if it contains one or more management units
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get business unit. Expanding "settings" will retrieve all settings. All other expands will retrieve only the requested settings field(s).
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update business unit
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activitycodes Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get activity codes
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activitycodes Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a new activity code
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes an activity code
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an activity code
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an activity code
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activityplans Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get activity plans
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activityplans Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create an activity plan
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activityplans/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets the latest job for all activity plans in the business unit
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an activity plan
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an activity plan. If a job associated with the activity plan is in 'Processing' state the activity plan cannot be updated
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Run an activity plan manually. Triggers a job running the activity plan. The activity plan cannot be updated until the job completes
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}/runs/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets an activity plan run 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 POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/explanations/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query adherence explanations across an entire business unit for the requested period
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search published schedules
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get alternative shifts settings for a business unit
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update alternative shifts settings for a business unit
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search Genesys Cloud Python SDK.
Genesys describes this as an API used to: List alternative shifts trades for a given management unit or agent
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search/jobs/{jobId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query the status of an alternative shift search trade operation. Only the user who started the operation can query the status. Job details are only retained if the initial request returned a 202 ACCEPTED response
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/{tradeId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an alternative shifts trade in a business unit for a given trade 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/workforcemanagement/businessunits/{businessUnitId}/intraday Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get intraday data for the given date for the requested planningGroupIds
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/intraday/planninggroups Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get intraday planning groups for the given date
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/managementunits Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get all authorized management units in the business unit
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/planninggroups Genesys Cloud Python SDK.
Genesys describes this as an API used to: Gets list of planning groups
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/planninggroups Genesys Cloud Python SDK.
Genesys describes this as an API used to: Adds a new planning group
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deletes the planning group
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a planning group
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Updates the planning group
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get the list of scheduling runs
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Cancel a scheduling run
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a scheduling run
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Mark a schedule run as applied
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...