purecloudplatformclientv2 70.0.0 → 71.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AnalyticsSession.md +1 -0
- data/docs/BuSearchAgentSchedulesRequest.md +15 -0
- data/docs/ConversationsApi.md +198 -0
- data/docs/ManagementUnitReference.md +14 -0
- data/docs/RoutingApi.md +126 -0
- data/docs/SCIMApi.md +270 -0
- data/docs/ScimServiceProviderConfigAuthenticationScheme.md +1 -1
- data/docs/ScimV2Group.md +2 -1
- data/docs/SendAgentlessOutboundMessageRequest.md +16 -0
- data/docs/SendAgentlessOutboundMessageResponse.md +21 -0
- data/docs/ShiftTradeSettings.md +1 -0
- data/docs/TranscriptionSettings.md +14 -0
- data/docs/WhatsAppIntegrationRequest.md +17 -0
- data/docs/WorkPlanReference.md +3 -1
- data/docs/WorkforceManagementApi.md +74 -3
- data/lib/purecloudplatformclientv2.rb +6 -0
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +195 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +120 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +276 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +73 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
- data/lib/purecloudplatformclientv2/models/bu_search_agent_schedules_request.rb +266 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/management_unit_reference.rb +229 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +32 -1
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +314 -0
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +424 -0
- data/lib/purecloudplatformclientv2/models/shift_trade_settings.rb +27 -1
- data/lib/purecloudplatformclientv2/models/transcription_settings.rb +252 -0
- data/lib/purecloudplatformclientv2/models/whats_app_integration_request.rb +321 -0
- data/lib/purecloudplatformclientv2/models/work_plan_reference.rb +57 -9
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1862707a3f45de0a91a07d11e3a7f90539d204ec
|
4
|
+
data.tar.gz: 263189a8fc54b59e9c0944e11d33ae718ace917e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eb3307c7247082de5d2d1a66d4c817ba525b6276dbec07739fc3d44e108353f5143c3241fb6274065f74ee4393ec78d6f2eacc4d2062a66c610498bd39f7793
|
7
|
+
data.tar.gz: 9364e57a2200b6918a1eaa5904f8356c368fba9f1276d0fe02ed61f113dd2ae91a6d15787e41f10907f3aedbe93ff146e9547d653d895304c155a919398dd596
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: PureCloud Ruby Gem
|
3
3
|
---
|
4
|
-

|
5
5
|
|
6
6
|
Documentation can be found at [https://developer.mypurecloud.com/api/rest/client-libraries/ruby/](https://developer.mypurecloud.com/api/rest/client-libraries/ruby/)
|
7
7
|
|
@@ -10,7 +10,7 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
|
|
10
10
|
### from rubygems.org
|
11
11
|
|
12
12
|
```{"language":"ruby"}
|
13
|
-
gem install 'purecloudplatformclientv2', '~>
|
13
|
+
gem install 'purecloudplatformclientv2', '~> 71.0.0'
|
14
14
|
```
|
15
15
|
|
16
16
|
### Install from Git
|
data/docs/AnalyticsSession.md
CHANGED
@@ -57,6 +57,7 @@ title: AnalyticsSession
|
|
57
57
|
| **journey_action_map_version** | **String** | Journey action map version | [optional] |
|
58
58
|
| **protocol_call_id** | **String** | The original voice protocol call ID, e.g. a SIP call ID | [optional] |
|
59
59
|
| **provider** | **String** | The source provider for the communication | [optional] |
|
60
|
+
| **remote** | **String** | Name, phone number, or email address of the remote party. | [optional] |
|
60
61
|
{: class="table table-striped"}
|
61
62
|
|
62
63
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
title: BuSearchAgentSchedulesRequest
|
3
|
+
---
|
4
|
+
## PureCloud::BuSearchAgentSchedulesRequest
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **start_date** | **DateTime** | Start date of the range to search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
11
|
+
| **end_date** | **DateTime** | End date of the range to search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
12
|
+
| **user_ids** | **Array<String>** | IDs of the users for whose schedules to search | [optional] |
|
13
|
+
{: class="table table-striped"}
|
14
|
+
|
15
|
+
|
data/docs/ConversationsApi.md
CHANGED
@@ -16,6 +16,7 @@ Method | Description
|
|
16
16
|
[**delete_conversations_messaging_integrations_facebook_integration_id**](ConversationsApi.html#delete_conversations_messaging_integrations_facebook_integration_id) | Delete a Facebook messaging integration
|
17
17
|
[**delete_conversations_messaging_integrations_line_integration_id**](ConversationsApi.html#delete_conversations_messaging_integrations_line_integration_id) | Delete a LINE messenger integration
|
18
18
|
[**delete_conversations_messaging_integrations_twitter_integration_id**](ConversationsApi.html#delete_conversations_messaging_integrations_twitter_integration_id) | Delete a Twitter messaging integration
|
19
|
+
[**delete_conversations_messaging_integrations_whatsapp_integration_id**](ConversationsApi.html#delete_conversations_messaging_integrations_whatsapp_integration_id) | Delete a WhatsApp messaging integration
|
19
20
|
[**get_analytics_conversation_details**](ConversationsApi.html#get_analytics_conversation_details) | Get a conversation by id
|
20
21
|
[**get_analytics_conversations_details**](ConversationsApi.html#get_analytics_conversations_details) | Gets multiple conversations by id
|
21
22
|
[**get_analytics_conversations_details_job**](ConversationsApi.html#get_analytics_conversations_details_job) | Get status for async query for conversation details
|
@@ -129,9 +130,11 @@ Method | Description
|
|
129
130
|
[**post_conversations_message_messages_bulk**](ConversationsApi.html#post_conversations_message_messages_bulk) | Get messages in batch
|
130
131
|
[**post_conversations_message_participant_replace**](ConversationsApi.html#post_conversations_message_participant_replace) | Replace this participant with the specified user and/or address
|
131
132
|
[**post_conversations_messages**](ConversationsApi.html#post_conversations_messages) | Create an outbound messaging conversation.
|
133
|
+
[**post_conversations_messages_agentless**](ConversationsApi.html#post_conversations_messages_agentless) | Send an agentless outbound message
|
132
134
|
[**post_conversations_messaging_integrations_facebook**](ConversationsApi.html#post_conversations_messaging_integrations_facebook) | Create a Facebook Integration
|
133
135
|
[**post_conversations_messaging_integrations_line**](ConversationsApi.html#post_conversations_messaging_integrations_line) | Create a LINE messenger Integration
|
134
136
|
[**post_conversations_messaging_integrations_twitter**](ConversationsApi.html#post_conversations_messaging_integrations_twitter) | Create a Twitter Integration
|
137
|
+
[**post_conversations_messaging_integrations_whatsapp**](ConversationsApi.html#post_conversations_messaging_integrations_whatsapp) | Create a WhatsApp Integration
|
135
138
|
[**put_conversation_participant_flaggedreason**](ConversationsApi.html#put_conversation_participant_flaggedreason) | Set flagged reason on conversation participant to indicate bad conversation quality.
|
136
139
|
[**put_conversations_call_participant_communication_uuidata**](ConversationsApi.html#put_conversations_call_participant_communication_uuidata) | Set uuiData to be sent on future commands.
|
137
140
|
[**put_conversations_email_messages_draft**](ConversationsApi.html#put_conversations_email_messages_draft) | Update conversation draft reply
|
@@ -661,6 +664,71 @@ nil (empty response body)
|
|
661
664
|
|
662
665
|
|
663
666
|
|
667
|
+
<a name="delete_conversations_messaging_integrations_whatsapp_integration_id"></a>
|
668
|
+
|
669
|
+
## [**WhatsAppIntegration**](WhatsAppIntegration.html) delete_conversations_messaging_integrations_whatsapp_integration_id(integration_id)
|
670
|
+
|
671
|
+
|
672
|
+
|
673
|
+
Delete a WhatsApp messaging integration
|
674
|
+
|
675
|
+
|
676
|
+
|
677
|
+
Wraps DELETE /api/v2/conversations/messaging/integrations/whatsapp/{integrationId}
|
678
|
+
|
679
|
+
Requires ANY permissions:
|
680
|
+
|
681
|
+
* messaging:integration:delete
|
682
|
+
|
683
|
+
|
684
|
+
### Example
|
685
|
+
```{"language":"ruby"}
|
686
|
+
# load the gem
|
687
|
+
require 'purecloudplatformclientv2'
|
688
|
+
# setup authorization
|
689
|
+
@secret = ENV['PURECLOUD_SECRET']
|
690
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
691
|
+
environment = "mypurecloud.com"
|
692
|
+
|
693
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
694
|
+
|
695
|
+
PureCloud.configure do |config|
|
696
|
+
config.access_token = @authToken
|
697
|
+
end
|
698
|
+
|
699
|
+
api_instance = PureCloud::ConversationsApi.new
|
700
|
+
|
701
|
+
integration_id = "integration_id_example" # String | Integration ID
|
702
|
+
|
703
|
+
|
704
|
+
begin
|
705
|
+
#Delete a WhatsApp messaging integration
|
706
|
+
result = api_instance.delete_conversations_messaging_integrations_whatsapp_integration_id(integration_id)
|
707
|
+
p result
|
708
|
+
rescue PureCloud::ApiError => e
|
709
|
+
puts "Exception when calling ConversationsApi->delete_conversations_messaging_integrations_whatsapp_integration_id: #{e}"
|
710
|
+
end
|
711
|
+
```
|
712
|
+
|
713
|
+
### Parameters
|
714
|
+
|
715
|
+
Name | Type | Description | Notes
|
716
|
+
------------- | ------------- | ------------- | -------------
|
717
|
+
**integration_id** | **String**| Integration ID | |
|
718
|
+
{: class="table table-striped"}
|
719
|
+
|
720
|
+
|
721
|
+
### Return type
|
722
|
+
|
723
|
+
[**WhatsAppIntegration**](WhatsAppIntegration.html)
|
724
|
+
|
725
|
+
### HTTP request headers
|
726
|
+
|
727
|
+
- **Content-Type**: application/json
|
728
|
+
- **Accept**: application/json
|
729
|
+
|
730
|
+
|
731
|
+
|
664
732
|
<a name="get_analytics_conversation_details"></a>
|
665
733
|
|
666
734
|
## [**AnalyticsConversation**](AnalyticsConversation.html) get_analytics_conversation_details(conversation_id)
|
@@ -8283,6 +8351,71 @@ Name | Type | Description | Notes
|
|
8283
8351
|
|
8284
8352
|
|
8285
8353
|
|
8354
|
+
<a name="post_conversations_messages_agentless"></a>
|
8355
|
+
|
8356
|
+
## [**SendAgentlessOutboundMessageResponse**](SendAgentlessOutboundMessageResponse.html) post_conversations_messages_agentless(body)
|
8357
|
+
|
8358
|
+
|
8359
|
+
|
8360
|
+
Send an agentless outbound message
|
8361
|
+
|
8362
|
+
Send an agentlesss (api participant) outbound message using a client credential grant. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will generate a new Conversation, if there is an existing active Conversation between the fromAddress and toAddress already, then this POST will fail.
|
8363
|
+
|
8364
|
+
Wraps POST /api/v2/conversations/messages/agentless
|
8365
|
+
|
8366
|
+
Requires ANY permissions:
|
8367
|
+
|
8368
|
+
* conversation:message:create
|
8369
|
+
|
8370
|
+
|
8371
|
+
### Example
|
8372
|
+
```{"language":"ruby"}
|
8373
|
+
# load the gem
|
8374
|
+
require 'purecloudplatformclientv2'
|
8375
|
+
# setup authorization
|
8376
|
+
@secret = ENV['PURECLOUD_SECRET']
|
8377
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
8378
|
+
environment = "mypurecloud.com"
|
8379
|
+
|
8380
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
8381
|
+
|
8382
|
+
PureCloud.configure do |config|
|
8383
|
+
config.access_token = @authToken
|
8384
|
+
end
|
8385
|
+
|
8386
|
+
api_instance = PureCloud::ConversationsApi.new
|
8387
|
+
|
8388
|
+
body = PureCloud::SendAgentlessOutboundMessageRequest.new # SendAgentlessOutboundMessageRequest | Create agentless outbound messaging request
|
8389
|
+
|
8390
|
+
|
8391
|
+
begin
|
8392
|
+
#Send an agentless outbound message
|
8393
|
+
result = api_instance.post_conversations_messages_agentless(body)
|
8394
|
+
p result
|
8395
|
+
rescue PureCloud::ApiError => e
|
8396
|
+
puts "Exception when calling ConversationsApi->post_conversations_messages_agentless: #{e}"
|
8397
|
+
end
|
8398
|
+
```
|
8399
|
+
|
8400
|
+
### Parameters
|
8401
|
+
|
8402
|
+
Name | Type | Description | Notes
|
8403
|
+
------------- | ------------- | ------------- | -------------
|
8404
|
+
**body** | [**SendAgentlessOutboundMessageRequest**](SendAgentlessOutboundMessageRequest.html)| Create agentless outbound messaging request | |
|
8405
|
+
{: class="table table-striped"}
|
8406
|
+
|
8407
|
+
|
8408
|
+
### Return type
|
8409
|
+
|
8410
|
+
[**SendAgentlessOutboundMessageResponse**](SendAgentlessOutboundMessageResponse.html)
|
8411
|
+
|
8412
|
+
### HTTP request headers
|
8413
|
+
|
8414
|
+
- **Content-Type**: application/json
|
8415
|
+
- **Accept**: application/json
|
8416
|
+
|
8417
|
+
|
8418
|
+
|
8286
8419
|
<a name="post_conversations_messaging_integrations_facebook"></a>
|
8287
8420
|
|
8288
8421
|
## [**FacebookIntegration**](FacebookIntegration.html) post_conversations_messaging_integrations_facebook(body)
|
@@ -8478,6 +8611,71 @@ Name | Type | Description | Notes
|
|
8478
8611
|
|
8479
8612
|
|
8480
8613
|
|
8614
|
+
<a name="post_conversations_messaging_integrations_whatsapp"></a>
|
8615
|
+
|
8616
|
+
## [**WhatsAppIntegration**](WhatsAppIntegration.html) post_conversations_messaging_integrations_whatsapp(body)
|
8617
|
+
|
8618
|
+
|
8619
|
+
|
8620
|
+
Create a WhatsApp Integration
|
8621
|
+
|
8622
|
+
|
8623
|
+
|
8624
|
+
Wraps POST /api/v2/conversations/messaging/integrations/whatsapp
|
8625
|
+
|
8626
|
+
Requires ANY permissions:
|
8627
|
+
|
8628
|
+
* messaging:whatsappIntegration:add
|
8629
|
+
|
8630
|
+
|
8631
|
+
### Example
|
8632
|
+
```{"language":"ruby"}
|
8633
|
+
# load the gem
|
8634
|
+
require 'purecloudplatformclientv2'
|
8635
|
+
# setup authorization
|
8636
|
+
@secret = ENV['PURECLOUD_SECRET']
|
8637
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
8638
|
+
environment = "mypurecloud.com"
|
8639
|
+
|
8640
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
8641
|
+
|
8642
|
+
PureCloud.configure do |config|
|
8643
|
+
config.access_token = @authToken
|
8644
|
+
end
|
8645
|
+
|
8646
|
+
api_instance = PureCloud::ConversationsApi.new
|
8647
|
+
|
8648
|
+
body = PureCloud::WhatsAppIntegrationRequest.new # WhatsAppIntegrationRequest | WhatsAppIntegrationRequest
|
8649
|
+
|
8650
|
+
|
8651
|
+
begin
|
8652
|
+
#Create a WhatsApp Integration
|
8653
|
+
result = api_instance.post_conversations_messaging_integrations_whatsapp(body)
|
8654
|
+
p result
|
8655
|
+
rescue PureCloud::ApiError => e
|
8656
|
+
puts "Exception when calling ConversationsApi->post_conversations_messaging_integrations_whatsapp: #{e}"
|
8657
|
+
end
|
8658
|
+
```
|
8659
|
+
|
8660
|
+
### Parameters
|
8661
|
+
|
8662
|
+
Name | Type | Description | Notes
|
8663
|
+
------------- | ------------- | ------------- | -------------
|
8664
|
+
**body** | [**WhatsAppIntegrationRequest**](WhatsAppIntegrationRequest.html)| WhatsAppIntegrationRequest | |
|
8665
|
+
{: class="table table-striped"}
|
8666
|
+
|
8667
|
+
|
8668
|
+
### Return type
|
8669
|
+
|
8670
|
+
[**WhatsAppIntegration**](WhatsAppIntegration.html)
|
8671
|
+
|
8672
|
+
### HTTP request headers
|
8673
|
+
|
8674
|
+
- **Content-Type**: application/json
|
8675
|
+
- **Accept**: application/json
|
8676
|
+
|
8677
|
+
|
8678
|
+
|
8481
8679
|
<a name="put_conversation_participant_flaggedreason"></a>
|
8482
8680
|
|
8483
8681
|
## put_conversation_participant_flaggedreason(conversation_id, participant_id)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: ManagementUnitReference
|
3
|
+
---
|
4
|
+
## PureCloud::ManagementUnitReference
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
12
|
+
{: class="table table-striped"}
|
13
|
+
|
14
|
+
|
data/docs/RoutingApi.md
CHANGED
@@ -37,6 +37,7 @@ Method | Description
|
|
37
37
|
[**get_routing_queues_divisionviews_all**](RoutingApi.html#get_routing_queues_divisionviews_all) | Get a paged listing of simplified queue objects. Can be used to get a digest of all queues in an organization.
|
38
38
|
[**get_routing_queues_me**](RoutingApi.html#get_routing_queues_me) | Get a paged listing of queues the user is a member of.
|
39
39
|
[**get_routing_settings_contactcenter**](RoutingApi.html#get_routing_settings_contactcenter) | Get Contact Center Settings
|
40
|
+
[**get_routing_settings_transcription**](RoutingApi.html#get_routing_settings_transcription) | Get Transcription Settings
|
40
41
|
[**get_routing_skill**](RoutingApi.html#get_routing_skill) | Get Routing Skill
|
41
42
|
[**get_routing_skills**](RoutingApi.html#get_routing_skills) | Get the list of routing skills.
|
42
43
|
[**get_routing_sms_address**](RoutingApi.html#get_routing_sms_address) | Get an Address by Id for SMS
|
@@ -71,6 +72,7 @@ Method | Description
|
|
71
72
|
[**put_routing_email_domain_route**](RoutingApi.html#put_routing_email_domain_route) | Update a route
|
72
73
|
[**put_routing_message_recipient**](RoutingApi.html#put_routing_message_recipient) | Update a recipient
|
73
74
|
[**put_routing_queue**](RoutingApi.html#put_routing_queue) | Update a queue
|
75
|
+
[**put_routing_settings_transcription**](RoutingApi.html#put_routing_settings_transcription) | Update Transcription Settings
|
74
76
|
[**put_routing_sms_phonenumber**](RoutingApi.html#put_routing_sms_phonenumber) | Update a phone number provisioned for SMS.
|
75
77
|
[**put_routing_utilization**](RoutingApi.html#put_routing_utilization) | Update the utilization settings.
|
76
78
|
[**put_routing_wrapupcode**](RoutingApi.html#put_routing_wrapupcode) | Update wrap-up code
|
@@ -2047,6 +2049,65 @@ This endpoint does not need any parameter.
|
|
2047
2049
|
|
2048
2050
|
|
2049
2051
|
|
2052
|
+
<a name="get_routing_settings_transcription"></a>
|
2053
|
+
|
2054
|
+
## [**TranscriptionSettings**](TranscriptionSettings.html) get_routing_settings_transcription
|
2055
|
+
|
2056
|
+
|
2057
|
+
|
2058
|
+
Get Transcription Settings
|
2059
|
+
|
2060
|
+
|
2061
|
+
|
2062
|
+
Wraps GET /api/v2/routing/settings/transcription
|
2063
|
+
|
2064
|
+
Requires ANY permissions:
|
2065
|
+
|
2066
|
+
* routing:transcriptionSettings:view
|
2067
|
+
|
2068
|
+
|
2069
|
+
### Example
|
2070
|
+
```{"language":"ruby"}
|
2071
|
+
# load the gem
|
2072
|
+
require 'purecloudplatformclientv2'
|
2073
|
+
# setup authorization
|
2074
|
+
@secret = ENV['PURECLOUD_SECRET']
|
2075
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
2076
|
+
environment = "mypurecloud.com"
|
2077
|
+
|
2078
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
2079
|
+
|
2080
|
+
PureCloud.configure do |config|
|
2081
|
+
config.access_token = @authToken
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
api_instance = PureCloud::RoutingApi.new
|
2085
|
+
|
2086
|
+
begin
|
2087
|
+
#Get Transcription Settings
|
2088
|
+
result = api_instance.get_routing_settings_transcription
|
2089
|
+
p result
|
2090
|
+
rescue PureCloud::ApiError => e
|
2091
|
+
puts "Exception when calling RoutingApi->get_routing_settings_transcription: #{e}"
|
2092
|
+
end
|
2093
|
+
```
|
2094
|
+
|
2095
|
+
### Parameters
|
2096
|
+
This endpoint does not need any parameter.
|
2097
|
+
{: class="table table-striped"}
|
2098
|
+
|
2099
|
+
|
2100
|
+
### Return type
|
2101
|
+
|
2102
|
+
[**TranscriptionSettings**](TranscriptionSettings.html)
|
2103
|
+
|
2104
|
+
### HTTP request headers
|
2105
|
+
|
2106
|
+
- **Content-Type**: application/json
|
2107
|
+
- **Accept**: application/json
|
2108
|
+
|
2109
|
+
|
2110
|
+
|
2050
2111
|
<a name="get_routing_skill"></a>
|
2051
2112
|
|
2052
2113
|
## [**RoutingSkill**](RoutingSkill.html) get_routing_skill(skill_id)
|
@@ -4359,6 +4420,71 @@ Name | Type | Description | Notes
|
|
4359
4420
|
|
4360
4421
|
|
4361
4422
|
|
4423
|
+
<a name="put_routing_settings_transcription"></a>
|
4424
|
+
|
4425
|
+
## [**TranscriptionSettings**](TranscriptionSettings.html) put_routing_settings_transcription(body)
|
4426
|
+
|
4427
|
+
|
4428
|
+
|
4429
|
+
Update Transcription Settings
|
4430
|
+
|
4431
|
+
|
4432
|
+
|
4433
|
+
Wraps PUT /api/v2/routing/settings/transcription
|
4434
|
+
|
4435
|
+
Requires ANY permissions:
|
4436
|
+
|
4437
|
+
* routing:transcriptionSettings:add
|
4438
|
+
|
4439
|
+
|
4440
|
+
### Example
|
4441
|
+
```{"language":"ruby"}
|
4442
|
+
# load the gem
|
4443
|
+
require 'purecloudplatformclientv2'
|
4444
|
+
# setup authorization
|
4445
|
+
@secret = ENV['PURECLOUD_SECRET']
|
4446
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
4447
|
+
environment = "mypurecloud.com"
|
4448
|
+
|
4449
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
4450
|
+
|
4451
|
+
PureCloud.configure do |config|
|
4452
|
+
config.access_token = @authToken
|
4453
|
+
end
|
4454
|
+
|
4455
|
+
api_instance = PureCloud::RoutingApi.new
|
4456
|
+
|
4457
|
+
body = PureCloud::TranscriptionSettings.new # TranscriptionSettings | Organization Settings
|
4458
|
+
|
4459
|
+
|
4460
|
+
begin
|
4461
|
+
#Update Transcription Settings
|
4462
|
+
result = api_instance.put_routing_settings_transcription(body)
|
4463
|
+
p result
|
4464
|
+
rescue PureCloud::ApiError => e
|
4465
|
+
puts "Exception when calling RoutingApi->put_routing_settings_transcription: #{e}"
|
4466
|
+
end
|
4467
|
+
```
|
4468
|
+
|
4469
|
+
### Parameters
|
4470
|
+
|
4471
|
+
Name | Type | Description | Notes
|
4472
|
+
------------- | ------------- | ------------- | -------------
|
4473
|
+
**body** | [**TranscriptionSettings**](TranscriptionSettings.html)| Organization Settings | |
|
4474
|
+
{: class="table table-striped"}
|
4475
|
+
|
4476
|
+
|
4477
|
+
### Return type
|
4478
|
+
|
4479
|
+
[**TranscriptionSettings**](TranscriptionSettings.html)
|
4480
|
+
|
4481
|
+
### HTTP request headers
|
4482
|
+
|
4483
|
+
- **Content-Type**: application/json
|
4484
|
+
- **Accept**: application/json
|
4485
|
+
|
4486
|
+
|
4487
|
+
|
4362
4488
|
<a name="put_routing_sms_phonenumber"></a>
|
4363
4489
|
|
4364
4490
|
## [**SmsPhoneNumber**](SmsPhoneNumber.html) put_routing_sms_phonenumber(address_id, body)
|