instruction stringlengths 81 221 | input stringlengths 50 1.19k | output stringlengths 525 3.61k |
|---|---|---|
Provide a Python example that uses the PUT /api/v2/workforcemanagement/managementunits/{managementUnitId}/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/managementunits/{managementUnitId}/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/managementunits/{managementUnitId}/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/managementunits/{managementUnitId}/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/managementunits/{managementUnitId}/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/managementunits/{managementUnitId}/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 POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a new time off request | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/timeoffrequests/integrationstatus/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves integration statuses for a list of time off 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}/timeoffrequests/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Fetches time off requests matching the conditions specified in the request body. Request body requires one of the following: User ID is specified, statuses == [Pending] or date range to be specified and less than or equal to 33 days. All other fields are 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 POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves daily waitlist position for a list of time off 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 PATCH /api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/{timeOffRequestId}/users/{userId}/integrationstatus Genesys Cloud Python SDK. | Genesys describes this as an API used to: Set integration status for a time off request. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/users Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get users 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 POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffbalance/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query time off balances for a given user for specified activity code and dates | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/users/{userId}/timeoffrequests Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of time off requests for a given 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/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Estimates available time off for an 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/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a time off request | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/users/{userId}/timeoffrequests/{timeOffRequestId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a time off request | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeoffbalance/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query time off balances for dates spanned by a given time off request | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeofflimits Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves time off limit, allocated and waitlisted values according to specific time off request | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shifttrades Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets all the shift trades for a given 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/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades Genesys Cloud Python SDK. | Genesys describes this as an API used to: Adds a shift trade | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shifttrades/search Genesys Cloud Python SDK. | Genesys describes this as an API used to: Searches for potential shift trade matches for the current 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}/weeks/{weekDateId}/shifttrades/state/bulk Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates the state of a batch of shift trades. Admin functionality is not supported with "mine". | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/weeks/{weekDateId}/shifttrades/{tradeId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Updates a shift trade. This route can only be called by the initiating 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}/weeks/{weekDateId}/shifttrades/{tradeId}/match Genesys Cloud Python SDK. | Genesys describes this as an API used to: Matches a shift trade. This route can only be called by the receiving 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/managementunits/{managementUnitId}/workplanrotations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get work plan rotations | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanrotations Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a new work plan rotation | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanrotations/{workPlanRotationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a work plan rotation | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanrotations/{workPlanRotationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a work plan rotation | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanrotations/{workPlanRotationId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a work plan rotation | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplanrotations/{workPlanRotationId}/copy Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a copy of work plan rotation | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplans Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get work plans. "expand=details" is deprecated | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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}/workplans Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a new work 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/managementunits/{managementUnitId}/workplans/{workPlanId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Delete a work 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/managementunits/{managementUnitId}/workplans/{workPlanId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a work 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/managementunits/{managementUnitId}/workplans/{workPlanId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a work 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 POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/copy Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a copy of work 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 POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/validate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Validate Work 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/notifications Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of notifications for the current user. Notifications are only initially sent if you have the relevant Notify and Edit permissions | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/notifications/update Genesys Cloud Python SDK. | Genesys describes this as an API used to: Mark a list of notifications as read or unread | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/schedulingjobs/{jobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get status of the scheduling job | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the GET /api/v2/workforcemanagement/shifttrades Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets all of my shift 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 GET /api/v2/workforcemanagement/shrinkage/jobs/{jobId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Request to fetch the status of the historical shrinkage query | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the POST /api/v2/workforcemanagement/teams/{teamId}/adherence/historical Genesys Cloud Python SDK. | Genesys describes this as an API used to: Request a teams 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/teams/{teamId}/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 | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/timeoffbalance/jobs Genesys Cloud Python SDK. | Genesys describes this as an API used to: Query time off balances for the current user for specified activity code and dates | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/timeoffbalance/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/timeofflimits/available/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Queries available time off 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/timeoffrequests Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a list of time off requests 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/timeoffrequests Genesys Cloud Python SDK. | Genesys describes this as an API used to: Create a time off request 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/timeoffrequests/estimate Genesys Cloud Python SDK. | Genesys describes this as an API used to: Estimates available time off for 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/timeoffrequests/integrationstatus/query Genesys Cloud Python SDK. | Genesys describes this as an API used to: Retrieves integration statuses for a list of current user time off 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 GET /api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get a time off request 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 PATCH /api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId} Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update a time off request 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/timeoffrequests/{timeOffRequestId}/waitlistpositions Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get the daily waitlist positions of a time off request 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 PATCH /api/v2/workforcemanagement/users/workplanbidranks/bulk Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update bulk work plan bid ranks on users. Max 50 users can be updated at a time. | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/users/{userId}/workplanbidranks Genesys Cloud Python SDK. | Genesys describes this as an API used to: Get work plan bid ranks for a user | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the PATCH /api/v2/workforcemanagement/users/{userId}/workplanbidranks Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update work plan bid ranks for a user | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: PureCloud OAuth
PureCloudPlatformClientV2.configuration.access_token = 'your_access_token'
# or use get_client_credentials_token(...), get_saml2bearer... |
Provide a Python example that uses the GET /api/v2/workforcemanagement/workplanbids Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets the list of work plan bids that belong to an 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/workplanbids/{bidId}/preferences Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets an agent's work plan bidding preference | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/workplanbids/{bidId}/preferences Genesys Cloud Python SDK. | Genesys describes this as an API used to: Update an agent's work plan bidding preference | ```import PureCloudPlatformClientV2
from PureCloudPlatformClientV2.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: 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/workplanbids/{bidId}/workplans Genesys Cloud Python SDK. | Genesys describes this as an API used to: Gets an agent's work plans for a 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.