instruction
stringlengths
81
221
input
stringlengths
50
1.19k
output
stringlengths
525
3.61k
Provide a Python example that uses the POST /api/v2/externalcontacts/bulk/relationships Genesys Cloud Python SDK.
Genesys describes this as an API used to: Bulk fetch relationships
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/bulk/relationships/add Genesys Cloud Python SDK.
Genesys describes this as an API used to: Bulk add relationships
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/bulk/relationships/remove Genesys Cloud Python SDK.
Genesys describes this as an API used to: Bulk remove relationships
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/bulk/relationships/update Genesys Cloud Python SDK.
Genesys describes this as an API used to: Bulk update relationships
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search for external contacts
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/schemas Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of schemas.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/schemas Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/schemas/{schemaId}/versions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get all versions of an external contact's schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/schemas/{schemaId}/versions/{versionId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a specific version of a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/identifiers Genesys Cloud Python SDK.
Genesys describes this as an API used to: List the identifiers for a contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/identifiers Genesys Cloud Python SDK.
Genesys describes this as an API used to: Claim or release identifiers for a contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/journey/sessions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Retrieve all sessions for a given external contact.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/notes Genesys Cloud Python SDK.
Genesys describes this as an API used to: List notes for an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/notes Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a note for an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/notes/{noteId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a note for an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/notes/{noteId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch a note for an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/notes/{noteId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a note for an external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/promotion Genesys Cloud Python SDK.
Genesys describes this as an API used to: Promote an observed contact (ephemeral or identified) to a curated contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/contacts/{contactId}/unresolved Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch an unresolved external contact
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/conversations/{conversationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Associate/disassociate an external contact with a conversation. To associate, supply a value for the externalContactId. To disassociate, do not include the property at all.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/identifierlookup Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch a contact using an identifier type and value. Phone number identifier values must be provided with the country code and a leading '+' symbol. Example: "+1 704 298 4733"
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/merge/contacts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Merge two contacts into a new contact record. Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search for external organizations
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create an external 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/externalcontacts/organizations/schemas Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of schemas.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations/schemas Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations/schemas/{schemaId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations/schemas/{schemaId}/versions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get all versions of an external organization's schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations/schemas/{schemaId}/versions/{versionId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a specific version of a schema
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/organizations/{externalOrganizationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete an external 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/externalcontacts/organizations/{externalOrganizationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch an external 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 PUT /api/v2/externalcontacts/organizations/{externalOrganizationId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update an external 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/externalcontacts/organizations/{externalOrganizationId}/contacts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Search for external contacts in an external 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/externalcontacts/organizations/{externalOrganizationId}/notes Genesys Cloud Python SDK.
Genesys describes this as an API used to: List notes for an external 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/externalcontacts/organizations/{externalOrganizationId}/notes Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a note for an external organization
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a note for an external 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/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch a note for an external 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 PUT /api/v2/externalcontacts/organizations/{externalOrganizationId}/notes/{noteId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a note for an external 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/externalcontacts/organizations/{externalOrganizationId}/relationships Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch a relationship for an external organization
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor Genesys Cloud Python SDK.
Genesys describes this as an API used to: Unlink the Trustor for this External 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 PUT /api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor/{trustorId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Links a Trustor with an External 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/externalcontacts/relationships Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a relationship
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/relationships/{relationshipId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a relationship
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/relationships/{relationshipId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Fetch a relationship
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/relationships/{relationshipId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a relationship
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/reversewhitepageslookup Genesys Cloud Python SDK.
Genesys describes this as an API used to: Look up contacts and externalOrganizations based on an attribute. Maximum of 25 values 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/externalcontacts/scan/contacts Genesys Cloud Python SDK.
Genesys describes this as an API used to: Scan for external contacts using paging
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/scan/notes Genesys Cloud Python SDK.
Genesys describes this as an API used to: Scan for notes using paging
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/scan/organizations Genesys Cloud Python SDK.
Genesys describes this as an API used to: Scan for external organizations using paging
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/externalcontacts/scan/relationships Genesys Cloud Python SDK.
Genesys describes this as an API used to: Scan for relationships
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/fax/documents Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of fax documents.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the DELETE /api/v2/fax/documents/{documentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete a fax document.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/fax/documents/{documentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a document.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/fax/documents/{documentId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update a fax document.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/fax/documents/{documentId}/content Genesys Cloud Python SDK.
Genesys describes this as an API used to: Download a fax document.
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/fax/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get organization config for given 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 PUT /api/v2/fax/settings Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update/write organization config for given 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/fax/summary Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get fax summary
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/analytics/flows/activity/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query for flow activity observations
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/analytics/flows/aggregates/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query for flow aggregates
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/analytics/flows/observations/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query for flow observations
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/employeeperformance/externalmetrics/data Genesys Cloud Python SDK.
Genesys describes this as an API used to: Write External Metric Data
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/employeeperformance/externalmetrics/definitions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get a list of External Metric Definitions of an organization, sorted by name in ascending order
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/employeeperformance/externalmetrics/definitions Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create External Metric Definition
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/employeeperformance/externalmetrics/definitions/{metricId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Delete an External Metric Definition
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/employeeperformance/externalmetrics/definitions/{metricId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get an External Metric Definition
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/employeeperformance/externalmetrics/definitions/{metricId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Update External Metric Definition
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/insights Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get insights summary
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/insights/details Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get insights details 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/gamification/insights/groups/trends Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get insights overall trend 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/gamification/insights/groups/trends/all Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get insights overall trend
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/insights/members Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query users in a profile during a period of 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/gamification/insights/trends Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get insights user trend 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/gamification/insights/users/{userId}/details Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get insights details for the user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/gamification/insights/users/{userId}/trends Genesys Cloud Python SDK.
Genesys describes this as an API used to: Get insights user trend for the user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/gamification/leaderboard Genesys Cloud Python SDK.
Genesys describes this as an API used to: Leaderboard of the requesting user's division or performance profile
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/leaderboard/all Genesys Cloud Python SDK.
Genesys describes this as an API used to: Leaderboard by filter type
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/leaderboard/all/bestpoints Genesys Cloud Python SDK.
Genesys describes this as an API used to: Best Points by division or performance profile
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/leaderboard/bestpoints Genesys Cloud Python SDK.
Genesys describes this as an API used to: Best Points of the requesting user's current performance profile or division
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the GET /api/v2/gamification/metricdefinitions Genesys Cloud Python SDK.
Genesys describes this as an API used to: All metric definitions. Retrieves the metric definitions and their corresponding default objectives used to create a gamified metric
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/metricdefinitions/{metricDefinitionId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Metric definition by 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/gamification/profiles Genesys Cloud Python SDK.
Genesys describes this as an API used to: All performance profiles
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/profiles Genesys Cloud Python SDK.
Genesys describes this as an API used to: Create a new custom performance profile
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/profiles/users/me Genesys Cloud Python SDK.
Genesys describes this as an API used to: Performance profile of the requesting 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/gamification/profiles/users/me/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query performance profiles in date range 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/gamification/profiles/users/{userId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Performance profile of a user
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the POST /api/v2/gamification/profiles/users/{userId}/query Genesys Cloud Python SDK.
Genesys describes this as an API used to: Query performance profiles in date range 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/gamification/profiles/{profileId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Performance profile by id
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...
Provide a Python example that uses the PUT /api/v2/gamification/profiles/{profileId} Genesys Cloud Python SDK.
Genesys describes this as an API used to: Updates a performance profile
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/profiles/{profileId}/activate Genesys Cloud Python SDK.
Genesys describes this as an API used to: Activate a performance profile
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/profiles/{profileId}/deactivate Genesys Cloud Python SDK.
Genesys describes this as an API used to: Deactivate a performance profile
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: 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/gamification/profiles/{profileId}/members Genesys Cloud Python SDK.
Genesys describes this as an API used to: Members of a given performance profile
```import PureCloudPlatformClientV2 from PureCloudPlatformClientV2.rest import ApiException from pprint import pprint # Configure OAuth2 access token for authorization: PureCloud OAuth PureCloudPlatformClientV2.configuration.access_token = 'your_access_token' # or use get_client_credentials_token(...), get_saml2bearer...