You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build/APIData.json
+40-7Lines changed: 40 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8341,6 +8341,12 @@
8341
8341
],
8342
8342
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ChatApi();\nuser_id = 'user_id_example' # str | userId\npinned_message_id = 'pinned_message_id_example' # str | pinnedMessageId\n\ntry:\n # Remove a pinned message from a 1on1\n api_instance.delete_chats_user_messages_pin(user_id, pinned_message_id)\nexcept ApiException as e:\n print(\"Exception when calling ChatApi->delete_chats_user_messages_pin: %s\\n\" % e)"
8343
8343
},
8344
+
"delete_chats_users_me_settings": {
8345
+
"operationId": "delete_chats_users_me_settings",
8346
+
"functionName": "delete_chats_users_me_settings",
8347
+
"signature": "delete_chats_users_me_settings()",
8348
+
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ChatApi();\n\ntry:\n # Delete a user's chat settings\n api_instance.delete_chats_users_me_settings()\nexcept ApiException as e:\n print(\"Exception when calling ChatApi->delete_chats_users_me_settings: %s\\n\" % e)"
8349
+
},
8344
8350
"get_chats_message": {
8345
8351
"operationId": "get_chats_message",
8346
8352
"functionName": "get_chats_message",
@@ -8793,6 +8799,19 @@
8793
8799
],
8794
8800
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ChatApi();\nuser_id = 'user_id_example' # str | userId\nbody = PureCloudPlatformClientV2.PinnedMessageRequest() # PinnedMessageRequest | Pinned Message Ids\n\ntry:\n # Add pinned messages for a 1on1, up to a maximum of 5 pinned messages\n api_instance.post_chats_user_messages_pins(user_id, body)\nexcept ApiException as e:\n print(\"Exception when calling ChatApi->post_chats_user_messages_pins: %s\\n\" % e)"
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ChatApi();\nbody = PureCloudPlatformClientV2.UserChatSettingsPost() # UserChatSettingsPost | \n\ntry:\n # Create a user's chat settings\n api_instance.post_chats_users_me_settings(body)\nexcept ApiException as e:\n print(\"Exception when calling ChatApi->post_chats_users_me_settings: %s\\n\" % e)"
8814
+
},
8796
8815
"put_chats_message_reactions": {
8797
8816
"operationId": "put_chats_message_reactions",
8798
8817
"functionName": "put_chats_message_reactions",
@@ -15840,7 +15859,7 @@
15840
15859
"required": "true"
15841
15860
}
15842
15861
],
15843
-
"return": "DataSchema",
15862
+
"return": "DataSchemaListing",
15844
15863
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ExternalContactsApi();\nschema_id = 'schema_id_example' # str | Schema ID\n\ntry:\n # Get all versions of an external contact's schema\n api_response = api_instance.get_externalcontacts_contacts_schema_versions(schema_id)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling ExternalContactsApi->get_externalcontacts_contacts_schema_versions: %s\\n\" % e)"
15845
15864
},
15846
15865
"get_externalcontacts_contacts_schemas": {
@@ -16345,7 +16364,7 @@
16345
16364
"required": "true"
16346
16365
}
16347
16366
],
16348
-
"return": "DataSchema",
16367
+
"return": "DataSchemaListing",
16349
16368
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ExternalContactsApi();\nschema_id = 'schema_id_example' # str | Schema ID\n\ntry:\n # Get all versions of an external organization's schema\n api_response = api_instance.get_externalcontacts_organizations_schema_versions(schema_id)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling ExternalContactsApi->get_externalcontacts_organizations_schema_versions: %s\\n\" % e)"
16350
16369
},
16351
16370
"get_externalcontacts_organizations_schemas": {
@@ -40151,12 +40170,12 @@
40151
40170
"parameters": [
40152
40171
{
40153
40172
"name": "body",
40154
-
"type": "OutboundDomain",
40173
+
"type": "OutboundDomainRequest",
40155
40174
"required": "true"
40156
40175
}
40157
40176
],
40158
40177
"return": "EmailOutboundDomainResult",
40159
-
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.RoutingApi();\nbody = PureCloudPlatformClientV2.OutboundDomain() # OutboundDomain | Domain\n\ntry:\n # Create a domain\n api_response = api_instance.post_routing_email_outbound_domains(body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling RoutingApi->post_routing_email_outbound_domains: %s\\n\" % e)"
40178
+
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.RoutingApi();\nbody = PureCloudPlatformClientV2.OutboundDomainRequest() # OutboundDomainRequest | Domain\n\ntry:\n # Create a domain\n api_response = api_instance.post_routing_email_outbound_domains(body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling RoutingApi->post_routing_email_outbound_domains: %s\\n\" % e)"
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.RoutingApi();\nbody = PureCloudPlatformClientV2.OutboundDomain() # OutboundDomain | Domain\n\ntry:\n # Create a simulated domain\n api_response = api_instance.post_routing_email_outbound_domains_simulated(body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling RoutingApi->post_routing_email_outbound_domains_simulated: %s\\n\" % e)"
40192
+
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.RoutingApi();\nbody = PureCloudPlatformClientV2.OutboundDomainRequest() # OutboundDomainRequest | Domain\n\ntry:\n # Create a simulated domain\n api_response = api_instance.post_routing_email_outbound_domains_simulated(body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling RoutingApi->post_routing_email_outbound_domains_simulated: %s\\n\" % e)"
40174
40193
},
40175
40194
"post_routing_languages": {
40176
40195
"operationId": "post_routing_languages",
@@ -44749,7 +44768,7 @@
44749
44768
"required": "true"
44750
44769
}
44751
44770
],
44752
-
"return": "DataSchema",
44771
+
"return": "DataSchemaListing",
44753
44772
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.TaskManagementApi();\nschema_id = 'schema_id_example' # str | Schema ID\n\ntry:\n # Get all versions of a schema\n api_response = api_instance.get_taskmanagement_workitems_schema_versions(schema_id)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling TaskManagementApi->get_taskmanagement_workitems_schema_versions: %s\\n\" % e)"
44754
44773
},
44755
44774
"get_taskmanagement_workitems_schemas": {
@@ -53199,6 +53218,20 @@
53199
53218
"return": "WfmHistoricalShrinkageResponse",
53200
53219
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.WorkforceManagementApi();\njob_id = 'job_id_example' # str | jobId\n\ntry:\n # Request to fetch the status of the historical shrinkage query\n api_response = api_instance.get_workforcemanagement_shrinkage_job(job_id)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling WorkforceManagementApi->get_workforcemanagement_shrinkage_job: %s\\n\" % e)"
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.WorkforceManagementApi();\nteam_id = 'team_id_example' # str | The ID of the team\n\ntry:\n # Get a list of user schedule adherence records for the requested team\n api_response = api_instance.get_workforcemanagement_team_adherence(team_id)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling WorkforceManagementApi->get_workforcemanagement_team_adherence: %s\\n\" % e)"
0 commit comments