instruction stringlengths 81 221 | input stringlengths 50 1.19k | output stringlengths 525 3.61k |
|---|---|---|
Provide a Python example that uses the GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}/result Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the result of a rescheduling operation | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/servicegoaltemplates Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets list of service goal templates | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates Genesys Cloud Python SDK. | Genesys describes this as an API used to: Adds a new service goal template | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the DELETE /api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a service goal template | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a service goal template | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the PATCH /api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates a service goal template | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a list of staffing 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}/staffinggroups Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a new staffing 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 POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets staffing group associations for a list of user IDs | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the DELETE /api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Deletes a staffing 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}/staffinggroups/{staffingGroupId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a staffing 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}/staffinggroups/{staffingGroupId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates a staffing 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}/timeofflimits Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a list of time-off limit objects | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/timeofflimits Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a new time-off limit object | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/timeofflimits/values/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves time-off limit related values based on a given set of filters. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/timeofflimits/{timeOffLimitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Deletes a time-off limit object | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/timeofflimits/{timeOffLimitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a time-off limit object. Returns properties of time-off limit object, but not daily 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 PUT /api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values Genesys Cloud Python SDK. | Genesys describes this as an API used to: Sets daily values for a date range of time-off limit object. Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time-off limit API | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a list of time-off 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}/timeoffplans Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a new time-off 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 DELETE /api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Deletes a time-off 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}/timeoffplans/{timeOffPlanId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a time-off 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}/timeoffplans/{timeOffPlanId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates a time-off 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}/weeks/{weekDateId}/shorttermforecasts Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get short term forecasts. Use "recent" (without quotes) for the `weekDateId` path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any forecast which spans the specified week | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/generate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Generate a short term forecast | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/import Genesys Cloud Python SDK. | Genesys describes this as an API used to: Starts importing the uploaded short term forecast. Call after uploading the forecast data to the url supplied by the /import/uploadurl route | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a signed upload URL for importing a short term forecast. Once the upload is complete, call the /import route to start the short term forecast import process | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/{forecastId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a short term forecast. Must not be tied to any 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}/weeks/{weekDateId}/shorttermforecasts/{forecastId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a short term forecast | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/copy Genesys Cloud Python SDK. | Genesys describes this as an API used to: Copy a short term forecast | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/data Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the result of a short term forecast calculation. Includes modifications unless you pass the doNotApplyModifications query parameter | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/generationresults Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets the forecast generation results | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/longtermforecastdata Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the result of a long term forecast calculation. Includes modifications unless you pass the doNotApplyModifications query parameter | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/planninggroups Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets the forecast planning group snapshot | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the staffing requirement by planning group for a forecast | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the list of week schedules for the specified week. Use "recent" (without quotes) for the `weekId` path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any schedule which spans the specified week | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a blank 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 POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/generate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Generate a 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 POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import Genesys Cloud Python SDK. | Genesys describes this as an API used to: Starts processing a schedule import. Call after uploading the schedule data to the url supplied by the /import/uploadurl route | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules/import/uploadurl Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a signed upload URL for importing a schedule. Once the upload is complete, call the /import route to start the schedule import process | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules/{scheduleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a 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/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the metadata for the schedule, describing which management units and agents are in the scheduleSchedule data can then be loaded with the query route | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules/{scheduleId}/agentschedules/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Loads agent schedule data from the schedule. Used in combination with the metadata route | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules/{scheduleId}/copy Genesys Cloud Python SDK. | Genesys describes this as an API used to: Copy a 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/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/generationresults Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the generation results for a generated 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/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/headcountforecast Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the headcount forecast by planning group for the 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/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/history/agents/{agentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Loads agent's schedule 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 GET /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the performance prediction for the associated 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 POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Request a daily recalculation of the performance prediction for the associated 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 POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/uploadurl Genesys Cloud Python SDK. | Genesys describes this as an API used to: Upload daily activity changes to be able to request a performance prediction recalculation | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/{recalculationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get recalculated performance prediction result | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule Genesys Cloud Python SDK. | Genesys describes this as an API used to: Start a rescheduling 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 POST /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update Genesys Cloud Python SDK. | Genesys describes this as an API used to: Starts processing a schedule update. Call after uploading the schedule data to the url supplied by the /update/uploadurl route | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekId}/schedules/{scheduleId}/update/uploadurl Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a signed upload URL for updating a schedule. Once the upload is complete, call the /{scheduleId}/update route to start the schedule update process | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get list of work plan bids | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a new work plan bid | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids/{bidId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a work plan bid | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids/{bidId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a work plan bid | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids/{bidId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update work plan bid | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids/{bidId}/copy Genesys Cloud Python SDK. | Genesys describes this as an API used to: Copy a work plan bid | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids/{bidId}/groups Genesys Cloud Python SDK. | Genesys describes this as an API used to: Add a bid group in a given work plan bid | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids/{bidId}/groups/summary Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get summary of bid groups that belong to a work plan bid | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanbids/{bidId}/groups/{bidGroupId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a bid group by bid group 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/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a bid group by bid group 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/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a bid group by bid group 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/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets the work plan preferences of all the agents in the work plan bid 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}/workplanbids/{bidId}/groups/{bidGroupId}/preferences Genesys Cloud Python SDK. | Genesys describes this as an API used to: Overrides the assigned work plan for the specified 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/calendar/data/ics Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get ics formatted calendar based on shareable link | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = PureCloudPlatformClientV2.WorkforceManagementApi();
calendar_id = 'calendar_id_example' # str | The id of the ics-formatted calendar
try:
# Get... |
Provide a Python example that uses the DELETE /api/v2/workforcemanagement/calendar/url/ics Genesys Cloud Python SDK. | Genesys describes this as an API used to: Disable generated calendar link 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/calendar/url/ics Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get existing calendar link 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/calendar/url/ics Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a newly generated calendar link for the current user; if the current user has previously generated one, the generated link will be returned | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/historicaldata/deletejob Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves delete job status for historical data imports of 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/workforcemanagement/historicaldata/deletejob Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete the entries of the historical data imports in 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 GET /api/v2/workforcemanagement/historicaldata/importstatus Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves status of the historical data imports of 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/workforcemanagement/historicaldata/validate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Trigger validation process for historical import | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/integrations/hris Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get integrations | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/integrations/hris/timeofftypes/jobs/{jobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query the results of time off types 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/integrations/hris/{hrisIntegrationId}/timeofftypes/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get list of time off types configured in integration | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/managementunits Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get 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 POST /api/v2/workforcemanagement/managementunits Genesys Cloud Python SDK. | Genesys describes this as an API used to: Add a management unit. It may take a minute or two for a new management 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/managementunits/divisionviews Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get management 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/managementunits/{managementUnitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete 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 GET /api/v2/workforcemanagement/managementunits/{managementUnitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get management unit. settings.shortTermForecasting is deprecated and now lives on 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 PATCH /api/v2/workforcemanagement/managementunits/{managementUnitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update the requested 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 GET /api/v2/workforcemanagement/managementunits/{managementUnitId}/adherence Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of user schedule adherence records for the requested 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 PATCH /api/v2/workforcemanagement/managementunits/{managementUnitId}/agents Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update agent configurations | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the GET /api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get data for agent in the 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 GET /api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId}/shifttrades Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets all the shift trades for a given 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 POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/agentschedules/search Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query published schedules for given given time range for set of 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/managementunits/{managementUnitId}/historicaladherencequery Genesys Cloud Python SDK. | Genesys describes this as an API used to: Request a historical adherence report. The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = 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 POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/move Genesys Cloud Python SDK. | Genesys describes this as an API used to: Move the requested management unit to a new business unit. Returns status 200 if the management unit is already in the requested 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/managementunits/{managementUnitId}/shifttrades/matched Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a summary of all shift trades in the matched state | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/managementunits/{managementUnitId}/shifttrades/users Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets list of users available for whom you can send direct shift trade requests | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/managementunits/{managementUnitId}/shrinkage/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Request a historical shrinkage report. The maximum supported range for historical shrinkage queries is up to 32 days. Historical Shrinkage for a given date range can be queried in two modes - granular and aggregated. To see granular shrinkage information, provide granularity 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/workforcemanagement/managementunits/{managementUnitId}/timeofflimits Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a list of time off limit objects under management unit. Currently only one time off limit object is allowed under management unit, so the list contains either 0 or 1 element. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/managementunits/{managementUnitId}/timeofflimits Genesys Cloud Python SDK. | Genesys describes this as an API used to: Creates a new time off limit object under management unit. Only one limit object is allowed under management unit, so an attempt to create second object will fail. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/managementunits/{managementUnitId}/timeofflimits/values/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves time off limit related values based on a given set of filters. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Deletes a time off limit object | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets a time off limit object. Returns properties of time off limit object, but not daily 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 PATCH /api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates a time off limit object. Updates time off limit object properties, but not daily 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.