docs/OutboundApi.md in purecloudplatformclientv2-92.0.0 vs docs/OutboundApi.md in purecloudplatformclientv2-93.0.0
- old
+ new
@@ -18,10 +18,11 @@
[**delete_outbound_contactlist_contact**](OutboundApi.html#delete_outbound_contactlist_contact) | Delete a contact.
[**delete_outbound_contactlist_contacts**](OutboundApi.html#delete_outbound_contactlist_contacts) | Delete contacts from a contact list.
[**delete_outbound_contactlistfilter**](OutboundApi.html#delete_outbound_contactlistfilter) | Delete Contact List Filter
[**delete_outbound_contactlists**](OutboundApi.html#delete_outbound_contactlists) | Delete multiple contact lists.
[**delete_outbound_dnclist**](OutboundApi.html#delete_outbound_dnclist) | Delete dialer DNC list
+[**delete_outbound_messagingcampaign**](OutboundApi.html#delete_outbound_messagingcampaign) | Delete an Outbound Messaging Campaign
[**delete_outbound_ruleset**](OutboundApi.html#delete_outbound_ruleset) | Delete a Rule set.
[**delete_outbound_schedules_campaign**](OutboundApi.html#delete_outbound_schedules_campaign) | Delete a dialer campaign schedule.
[**delete_outbound_schedules_sequence**](OutboundApi.html#delete_outbound_schedules_sequence) | Delete a dialer sequence schedule.
[**delete_outbound_sequence**](OutboundApi.html#delete_outbound_sequence) | Delete a dialer campaign sequence.
[**get_outbound_attemptlimit**](OutboundApi.html#get_outbound_attemptlimit) | Get attempt limits
@@ -36,10 +37,12 @@
[**get_outbound_campaign_progress**](OutboundApi.html#get_outbound_campaign_progress) | Get campaign progress
[**get_outbound_campaign_stats**](OutboundApi.html#get_outbound_campaign_stats) | Get statistics about a Dialer Campaign
[**get_outbound_campaignrule**](OutboundApi.html#get_outbound_campaignrule) | Get Campaign Rule
[**get_outbound_campaignrules**](OutboundApi.html#get_outbound_campaignrules) | Query Campaign Rule list
[**get_outbound_campaigns**](OutboundApi.html#get_outbound_campaigns) | Query a list of dialer campaigns.
+[**get_outbound_campaigns_all**](OutboundApi.html#get_outbound_campaigns_all) | Query across all types of campaigns by division
+[**get_outbound_campaigns_all_divisionviews**](OutboundApi.html#get_outbound_campaigns_all_divisionviews) | Query across all types of campaigns
[**get_outbound_campaigns_divisionview**](OutboundApi.html#get_outbound_campaigns_divisionview) | Get a basic Campaign information object
[**get_outbound_campaigns_divisionviews**](OutboundApi.html#get_outbound_campaigns_divisionviews) | Query a list of basic Campaign information objects
[**get_outbound_contactlist**](OutboundApi.html#get_outbound_contactlist) | Get a dialer contact list.
[**get_outbound_contactlist_contact**](OutboundApi.html#get_outbound_contactlist_contact) | Get a contact.
[**get_outbound_contactlist_export**](OutboundApi.html#get_outbound_contactlist_export) | Get the URI of a contact list export.
@@ -56,10 +59,15 @@
[**get_outbound_dnclists**](OutboundApi.html#get_outbound_dnclists) | Query dialer DNC lists
[**get_outbound_dnclists_divisionview**](OutboundApi.html#get_outbound_dnclists_divisionview) | Get a basic DncList information object
[**get_outbound_dnclists_divisionviews**](OutboundApi.html#get_outbound_dnclists_divisionviews) | Query a list of simplified dnc list objects.
[**get_outbound_event**](OutboundApi.html#get_outbound_event) | Get Dialer Event
[**get_outbound_events**](OutboundApi.html#get_outbound_events) | Query Event Logs
+[**get_outbound_messagingcampaign**](OutboundApi.html#get_outbound_messagingcampaign) | Get an Outbound Messaging Campaign
+[**get_outbound_messagingcampaign_progress**](OutboundApi.html#get_outbound_messagingcampaign_progress) | Get messaging campaign's progress
+[**get_outbound_messagingcampaigns**](OutboundApi.html#get_outbound_messagingcampaigns) | Query a list of Messaging Campaigns
+[**get_outbound_messagingcampaigns_divisionview**](OutboundApi.html#get_outbound_messagingcampaigns_divisionview) | Get a basic Messaging Campaign information object
+[**get_outbound_messagingcampaigns_divisionviews**](OutboundApi.html#get_outbound_messagingcampaigns_divisionviews) | Query a list of basic Messaging Campaign information objects
[**get_outbound_ruleset**](OutboundApi.html#get_outbound_ruleset) | Get a Rule Set by ID.
[**get_outbound_rulesets**](OutboundApi.html#get_outbound_rulesets) | Query a list of Rule Sets.
[**get_outbound_schedules_campaign**](OutboundApi.html#get_outbound_schedules_campaign) | Get a dialer campaign schedule.
[**get_outbound_schedules_campaigns**](OutboundApi.html#get_outbound_schedules_campaigns) | Query for a list of dialer campaign schedules.
[**get_outbound_schedules_sequence**](OutboundApi.html#get_outbound_schedules_sequence) | Get a dialer sequence schedule.
@@ -86,10 +94,12 @@
[**post_outbound_contactlists**](OutboundApi.html#post_outbound_contactlists) | Create a contact List.
[**post_outbound_conversation_dnc**](OutboundApi.html#post_outbound_conversation_dnc) | Add phone numbers to a Dialer DNC list.
[**post_outbound_dnclist_export**](OutboundApi.html#post_outbound_dnclist_export) | Initiate the export of a dnc list.
[**post_outbound_dnclist_phonenumbers**](OutboundApi.html#post_outbound_dnclist_phonenumbers) | Add phone numbers to a Dialer DNC list.
[**post_outbound_dnclists**](OutboundApi.html#post_outbound_dnclists) | Create dialer DNC list
+[**post_outbound_messagingcampaigns**](OutboundApi.html#post_outbound_messagingcampaigns) | Create a Messaging Campaign
+[**post_outbound_messagingcampaigns_progress**](OutboundApi.html#post_outbound_messagingcampaigns_progress) | Get progress for a list of messaging campaigns
[**post_outbound_rulesets**](OutboundApi.html#post_outbound_rulesets) | Create a Dialer Call Analysis Response Set.
[**post_outbound_sequences**](OutboundApi.html#post_outbound_sequences) | Create a new campaign sequence.
[**put_outbound_attemptlimit**](OutboundApi.html#put_outbound_attemptlimit) | Update attempt limits
[**put_outbound_callabletimeset**](OutboundApi.html#put_outbound_callabletimeset) | Update callable time set
[**put_outbound_callanalysisresponseset**](OutboundApi.html#put_outbound_callanalysisresponseset) | Update a dialer call analysis response set.
@@ -98,10 +108,11 @@
[**put_outbound_campaignrule**](OutboundApi.html#put_outbound_campaignrule) | Update Campaign Rule
[**put_outbound_contactlist**](OutboundApi.html#put_outbound_contactlist) | Update a contact list.
[**put_outbound_contactlist_contact**](OutboundApi.html#put_outbound_contactlist_contact) | Update a contact.
[**put_outbound_contactlistfilter**](OutboundApi.html#put_outbound_contactlistfilter) | Update Contact List Filter
[**put_outbound_dnclist**](OutboundApi.html#put_outbound_dnclist) | Update dialer DNC list
+[**put_outbound_messagingcampaign**](OutboundApi.html#put_outbound_messagingcampaign) | Update an Outbound Messaging Campaign
[**put_outbound_ruleset**](OutboundApi.html#put_outbound_ruleset) | Update a RuleSet.
[**put_outbound_schedules_campaign**](OutboundApi.html#put_outbound_schedules_campaign) | Update a new campaign schedule.
[**put_outbound_schedules_sequence**](OutboundApi.html#put_outbound_schedules_sequence) | Update a new sequence schedule.
[**put_outbound_sequence**](OutboundApi.html#put_outbound_sequence) | Update a new campaign sequence.
[**put_outbound_wrapupcodemappings**](OutboundApi.html#put_outbound_wrapupcodemappings) | Update the Dialer wrap up code mapping.
@@ -880,10 +891,75 @@
- **Content-Type**: application/json
- **Accept**: application/json
+<a name="delete_outbound_messagingcampaign"></a>
+
+## [**MessagingCampaign**](MessagingCampaign.html) delete_outbound_messagingcampaign(messaging_campaign_id)
+
+
+
+Delete an Outbound Messaging Campaign
+
+
+
+Wraps DELETE /api/v2/outbound/messagingcampaigns/{messagingCampaignId}
+
+Requires ANY permissions:
+
+* outbound:campaign:delete
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+messaging_campaign_id = "messaging_campaign_id_example" # String | The Messaging Campaign ID
+
+
+begin
+ #Delete an Outbound Messaging Campaign
+ result = api_instance.delete_outbound_messagingcampaign(messaging_campaign_id)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->delete_outbound_messagingcampaign: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **messaging_campaign_id** | **String**| The Messaging Campaign ID | |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**MessagingCampaign**](MessagingCampaign.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
<a name="delete_outbound_ruleset"></a>
## delete_outbound_ruleset(rule_set_id)
@@ -1238,10 +1314,11 @@
api_instance = PureCloud::OutboundApi.new
opts = {
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
sort_by: "sort_by_example", # String | Sort by
sort_order: "a" # String | Sort order
}
@@ -1259,10 +1336,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**sort_by** | **String**| Sort by | [optional] |
**sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
{: class="table table-striped"}
@@ -1379,10 +1457,11 @@
api_instance = PureCloud::OutboundApi.new
opts = {
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
sort_by: "sort_by_example", # String | Sort by
sort_order: "a" # String | Sort order
}
@@ -1400,10 +1479,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**sort_by** | **String**| Sort by | [optional] |
**sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
{: class="table table-striped"}
@@ -1520,10 +1600,11 @@
api_instance = PureCloud::OutboundApi.new
opts = {
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
sort_by: "sort_by_example", # String | Sort by
sort_order: "a" # String | Sort order
}
@@ -1541,10 +1622,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**sort_by** | **String**| Sort by | [optional] |
**sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
{: class="table table-striped"}
@@ -1986,10 +2068,11 @@
api_instance = PureCloud::OutboundApi.new
opts = {
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
sort_by: "sort_by_example", # String | Sort by
sort_order: "a" # String | Sort order
}
@@ -2007,10 +2090,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**sort_by** | **String**| Sort by | [optional] |
**sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
{: class="table table-striped"}
@@ -2115,10 +2199,168 @@
- **Content-Type**: application/json
- **Accept**: application/json
+<a name="get_outbound_campaigns_all"></a>
+
+## [**CommonCampaignEntityListing**](CommonCampaignEntityListing.html) get_outbound_campaigns_all(opts)
+
+
+
+Query across all types of campaigns by division
+
+
+
+Wraps GET /api/v2/outbound/campaigns/all
+
+Requires ANY permissions:
+
+* outbound:campaign:view
+* outbound:messagingCampaign:view
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+opts = {
+ page_size: 25, # Integer | Page size
+ page_number: 1, # Integer | Page number
+ id: ["id_example"], # Array<String> | Campaign ID(s)
+ name: "name_example", # String | Campaign name(s)
+ division_id: ["division_id_example"], # Array<String> | Division ID(s)
+ media_type: ["media_type_example"], # Array<String> | Media type(s)
+ sort_order: "a" # String | Sort order
+}
+
+begin
+ #Query across all types of campaigns by division
+ result = api_instance.get_outbound_campaigns_all(opts)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->get_outbound_campaigns_all: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **page_size** | **Integer**| Page size | [optional] [default to 25] |
+ **page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **id** | [**Array<String>**](String.html)| Campaign ID(s) | [optional] |
+ **name** | **String**| Campaign name(s) | [optional] |
+ **division_id** | [**Array<String>**](String.html)| Division ID(s) | [optional] |
+ **media_type** | [**Array<String>**](String.html)| Media type(s) | [optional] <br />**Values**: sms, voice |
+ **sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**CommonCampaignEntityListing**](CommonCampaignEntityListing.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+<a name="get_outbound_campaigns_all_divisionviews"></a>
+
+## [**CommonCampaignDivisionViewEntityListing**](CommonCampaignDivisionViewEntityListing.html) get_outbound_campaigns_all_divisionviews(opts)
+
+
+
+Query across all types of campaigns
+
+
+
+Wraps GET /api/v2/outbound/campaigns/all/divisionviews
+
+Requires ANY permissions:
+
+* outbound:campaign:search
+* outbound:messagingCampaign:search
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+opts = {
+ page_size: 25, # Integer | Page size
+ page_number: 1, # Integer | Page number
+ id: ["id_example"], # Array<String> | Campaign ID(s)
+ name: "name_example", # String | Campaign name(s)
+ division_id: ["division_id_example"], # Array<String> | Division ID(s)
+ media_type: ["media_type_example"], # Array<String> | Media type(s)
+ sort_order: "a" # String | Sort order
+}
+
+begin
+ #Query across all types of campaigns
+ result = api_instance.get_outbound_campaigns_all_divisionviews(opts)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->get_outbound_campaigns_all_divisionviews: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **page_size** | **Integer**| Page size | [optional] [default to 25] |
+ **page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **id** | [**Array<String>**](String.html)| Campaign ID(s) | [optional] |
+ **name** | **String**| Campaign name(s) | [optional] |
+ **division_id** | [**Array<String>**](String.html)| Division ID(s) | [optional] |
+ **media_type** | [**Array<String>**](String.html)| Media type(s) | [optional] <br />**Values**: sms, voice |
+ **sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**CommonCampaignDivisionViewEntityListing**](CommonCampaignDivisionViewEntityListing.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
<a name="get_outbound_campaigns_divisionview"></a>
## [**CampaignDivisionView**](CampaignDivisionView.html) get_outbound_campaigns_divisionview(campaign_id)
@@ -2699,10 +2941,11 @@
api_instance = PureCloud::OutboundApi.new
opts = {
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
sort_by: "sort_by_example", # String | Sort by
sort_order: "a", # String | Sort order
contact_list_id: "contact_list_id_example" # String | Contact List ID
@@ -2721,10 +2964,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**sort_by** | **String**| Sort by | [optional] |
**sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
**contact_list_id** | **String**| Contact List ID | [optional] |
@@ -2779,10 +3023,11 @@
opts = {
include_import_status: false, # BOOLEAN | Include import status
include_size: false, # BOOLEAN | Include size
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
id: ["id_example"], # Array<String> | id
division_id: ["division_id_example"], # Array<String> | Division ID(s)
sort_by: "sort_by_example", # String | Sort by
@@ -2804,10 +3049,11 @@
------------- | ------------- | ------------- | -------------
**include_import_status** | **BOOLEAN**| Include import status | [optional] [default to false] |
**include_size** | **BOOLEAN**| Include size | [optional] [default to false] |
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**id** | [**Array<String>**](String.html)| id | [optional] |
**division_id** | [**Array<String>**](String.html)| Division ID(s) | [optional] |
**sort_by** | **String**| Sort by | [optional] |
@@ -3222,10 +3468,11 @@
opts = {
include_import_status: false, # BOOLEAN | Import status
include_size: false, # BOOLEAN | Include size
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
dnc_source_type: "dnc_source_type_example", # String | DncSourceType
division_id: ["division_id_example"], # Array<String> | Division ID(s)
sort_by: "sort_by_example", # String | Sort by
@@ -3247,10 +3494,11 @@
------------- | ------------- | ------------- | -------------
**include_import_status** | **BOOLEAN**| Import status | [optional] [default to false] |
**include_size** | **BOOLEAN**| Include size | [optional] [default to false] |
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**dnc_source_type** | **String**| DncSourceType | [optional] <br />**Values**: rds, dnc.com, gryphon |
**division_id** | [**Array<String>**](String.html)| Division ID(s) | [optional] |
**sort_by** | **String**| Sort by | [optional] |
@@ -3563,10 +3811,365 @@
- **Content-Type**: application/json
- **Accept**: application/json
+<a name="get_outbound_messagingcampaign"></a>
+
+## [**MessagingCampaign**](MessagingCampaign.html) get_outbound_messagingcampaign(messaging_campaign_id)
+
+
+
+Get an Outbound Messaging Campaign
+
+
+
+Wraps GET /api/v2/outbound/messagingcampaigns/{messagingCampaignId}
+
+Requires ANY permissions:
+
+* outbound:messagingCampaign:view
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+messaging_campaign_id = "messaging_campaign_id_example" # String | The Messaging Campaign ID
+
+
+begin
+ #Get an Outbound Messaging Campaign
+ result = api_instance.get_outbound_messagingcampaign(messaging_campaign_id)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->get_outbound_messagingcampaign: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **messaging_campaign_id** | **String**| The Messaging Campaign ID | |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**MessagingCampaign**](MessagingCampaign.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+<a name="get_outbound_messagingcampaign_progress"></a>
+
+## [**CampaignProgress**](CampaignProgress.html) get_outbound_messagingcampaign_progress(messaging_campaign_id)
+
+
+
+Get messaging campaign's progress
+
+
+
+Wraps GET /api/v2/outbound/messagingcampaigns/{messagingCampaignId}/progress
+
+Requires ANY permissions:
+
+* outbound:messagingCampaign:view
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+messaging_campaign_id = "messaging_campaign_id_example" # String | The Messaging Campaign ID
+
+
+begin
+ #Get messaging campaign's progress
+ result = api_instance.get_outbound_messagingcampaign_progress(messaging_campaign_id)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->get_outbound_messagingcampaign_progress: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **messaging_campaign_id** | **String**| The Messaging Campaign ID | |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**CampaignProgress**](CampaignProgress.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+<a name="get_outbound_messagingcampaigns"></a>
+
+## [**MessagingCampaignEntityListing**](MessagingCampaignEntityListing.html) get_outbound_messagingcampaigns(opts)
+
+
+
+Query a list of Messaging Campaigns
+
+
+
+Wraps GET /api/v2/outbound/messagingcampaigns
+
+Requires ANY permissions:
+
+* outbound:messagingCampaign:view
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+opts = {
+ page_size: 25, # Integer | Page size. The max that will be returned is 100.
+ page_number: 1, # Integer | Page number
+ sort_by: "name", # String | The field to sort by
+ sort_order: "ascending", # String | The direction to sort
+ name: "name_example", # String | Name
+ contact_list_id: "contact_list_id_example", # String | Contact List ID
+ division_id: ["division_id_example"], # Array<String> | Division ID(s)
+ type: "type_example", # String | Campaign Type
+ sender_sms_phone_number: "sender_sms_phone_number_example", # String | Sender SMS Phone Number
+ id: ["id_example"] # Array<String> | A list of messaging campaign ids to bulk fetch
+}
+
+begin
+ #Query a list of Messaging Campaigns
+ result = api_instance.get_outbound_messagingcampaigns(opts)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->get_outbound_messagingcampaigns: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
+ **page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **sort_by** | **String**| The field to sort by | [optional] [default to name]<br />**Values**: campaignStatus, name, type |
+ **sort_order** | **String**| The direction to sort | [optional] [default to ascending]<br />**Values**: ascending, descending |
+ **name** | **String**| Name | [optional] |
+ **contact_list_id** | **String**| Contact List ID | [optional] |
+ **division_id** | [**Array<String>**](String.html)| Division ID(s) | [optional] |
+ **type** | **String**| Campaign Type | [optional] <br />**Values**: SMS |
+ **sender_sms_phone_number** | **String**| Sender SMS Phone Number | [optional] |
+ **id** | [**Array<String>**](String.html)| A list of messaging campaign ids to bulk fetch | [optional] |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**MessagingCampaignEntityListing**](MessagingCampaignEntityListing.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+<a name="get_outbound_messagingcampaigns_divisionview"></a>
+
+## [**MessagingCampaignDivisionView**](MessagingCampaignDivisionView.html) get_outbound_messagingcampaigns_divisionview(messaging_campaign_id)
+
+
+
+Get a basic Messaging Campaign information object
+
+This returns a simplified version of a Messaging Campaign, consisting of id, name, and division.
+
+Wraps GET /api/v2/outbound/messagingcampaigns/divisionviews/{messagingCampaignId}
+
+Requires ALL permissions:
+
+* outbound:messagingCampaign:search
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+messaging_campaign_id = "messaging_campaign_id_example" # String | The Messaging Campaign ID
+
+
+begin
+ #Get a basic Messaging Campaign information object
+ result = api_instance.get_outbound_messagingcampaigns_divisionview(messaging_campaign_id)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->get_outbound_messagingcampaigns_divisionview: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **messaging_campaign_id** | **String**| The Messaging Campaign ID | |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**MessagingCampaignDivisionView**](MessagingCampaignDivisionView.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+<a name="get_outbound_messagingcampaigns_divisionviews"></a>
+
+## [**MessagingCampaignDivisionViewEntityListing**](MessagingCampaignDivisionViewEntityListing.html) get_outbound_messagingcampaigns_divisionviews(opts)
+
+
+
+Query a list of basic Messaging Campaign information objects
+
+This returns a listing of simplified Messaging Campaigns, each consisting of id, name, and division.
+
+Wraps GET /api/v2/outbound/messagingcampaigns/divisionviews
+
+Requires ALL permissions:
+
+* outbound:messagingCampaign:search
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+opts = {
+ page_size: 25, # Integer | Page size. The max that will be returned is 100.
+ page_number: 1, # Integer | Page number
+ sort_order: "a", # String | The direction to sort
+ name: "name_example", # String | Name
+ id: ["id_example"], # Array<String> | id
+ sender_sms_phone_number: "sender_sms_phone_number_example" # String | Sender SMS Phone Number
+}
+
+begin
+ #Query a list of basic Messaging Campaign information objects
+ result = api_instance.get_outbound_messagingcampaigns_divisionviews(opts)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->get_outbound_messagingcampaigns_divisionviews: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
+ **page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **sort_order** | **String**| The direction to sort | [optional] [default to a]<br />**Values**: ascending, descending |
+ **name** | **String**| Name | [optional] |
+ **id** | [**Array<String>**](String.html)| id | [optional] |
+ **sender_sms_phone_number** | **String**| Sender SMS Phone Number | [optional] |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**MessagingCampaignDivisionViewEntityListing**](MessagingCampaignDivisionViewEntityListing.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
<a name="get_outbound_ruleset"></a>
## [**RuleSet**](RuleSet.html) get_outbound_ruleset(rule_set_id)
@@ -3665,10 +4268,11 @@
api_instance = PureCloud::OutboundApi.new
opts = {
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
sort_by: "sort_by_example", # String | Sort by
sort_order: "a" # String | Sort order
}
@@ -3686,10 +4290,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**sort_by** | **String**| Sort by | [optional] |
**sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
{: class="table table-striped"}
@@ -4054,10 +4659,11 @@
api_instance = PureCloud::OutboundApi.new
opts = {
page_size: 25, # Integer | Page size. The max that will be returned is 100.
page_number: 1, # Integer | Page number
+ allow_empty_result: false, # BOOLEAN | Whether to return an empty page when there are no results for that page
filter_type: "Prefix", # String | Filter type
name: "name_example", # String | Name
sort_by: "sort_by_example", # String | Sort by
sort_order: "a" # String | Sort order
}
@@ -4075,10 +4681,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**page_size** | **Integer**| Page size. The max that will be returned is 100. | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
+ **allow_empty_result** | **BOOLEAN**| Whether to return an empty page when there are no results for that page | [optional] [default to false] |
**filter_type** | **String**| Filter type | [optional] [default to Prefix]<br />**Values**: Equals, RegEx, Contains, Prefix, LessThan, LessThanEqualTo, GreaterThan, GreaterThanEqualTo, BeginsWith, EndsWith |
**name** | **String**| Name | [optional] |
**sort_by** | **String**| Sort by | [optional] |
**sort_order** | **String**| Sort order | [optional] [default to a]<br />**Values**: ascending, descending |
{: class="table table-striped"}
@@ -5540,10 +6147,140 @@
- **Content-Type**: application/json
- **Accept**: application/json
+<a name="post_outbound_messagingcampaigns"></a>
+
+## [**MessagingCampaign**](MessagingCampaign.html) post_outbound_messagingcampaigns(body)
+
+
+
+Create a Messaging Campaign
+
+
+
+Wraps POST /api/v2/outbound/messagingcampaigns
+
+Requires ANY permissions:
+
+* outbound:messagingCampaign:add
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+body = PureCloud::MessagingCampaign.new # MessagingCampaign | Messaging Campaign
+
+
+begin
+ #Create a Messaging Campaign
+ result = api_instance.post_outbound_messagingcampaigns(body)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->post_outbound_messagingcampaigns: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **body** | [**MessagingCampaign**](MessagingCampaign.html)| Messaging Campaign | |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**MessagingCampaign**](MessagingCampaign.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+<a name="post_outbound_messagingcampaigns_progress"></a>
+
+## [**Array<CampaignProgress>**](CampaignProgress.html) post_outbound_messagingcampaigns_progress(body)
+
+
+
+Get progress for a list of messaging campaigns
+
+
+
+Wraps POST /api/v2/outbound/messagingcampaigns/progress
+
+Requires ANY permissions:
+
+* outbound:messagingCampaign:view
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+body = [PureCloud::Array<String>.new] # Array<String> | Messaging Campaign IDs
+
+
+begin
+ #Get progress for a list of messaging campaigns
+ result = api_instance.post_outbound_messagingcampaigns_progress(body)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->post_outbound_messagingcampaigns_progress: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **body** | **Array<String>**| Messaging Campaign IDs | |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**Array<CampaignProgress>**](CampaignProgress.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
<a name="post_outbound_rulesets"></a>
## [**RuleSet**](RuleSet.html) post_outbound_rulesets(body)
@@ -6347,9 +7084,77 @@
### Return type
[**DncList**](DncList.html)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+<a name="put_outbound_messagingcampaign"></a>
+
+## [**MessagingCampaign**](MessagingCampaign.html) put_outbound_messagingcampaign(messaging_campaign_id, body)
+
+
+
+Update an Outbound Messaging Campaign
+
+
+
+Wraps PUT /api/v2/outbound/messagingcampaigns/{messagingCampaignId}
+
+Requires ANY permissions:
+
+* outbound:messagingCampaign:edit
+
+
+### Example
+```{"language":"ruby"}
+# load the gem
+require 'purecloudplatformclientv2'
+# setup authorization
+@secret = ENV['PURECLOUD_SECRET']
+@id = ENV['PURECLOUD_CLIENT_ID']
+environment = "mypurecloud.com"
+
+@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
+
+PureCloud.configure do |config|
+ config.access_token = @authToken
+end
+
+api_instance = PureCloud::OutboundApi.new
+
+messaging_campaign_id = "messaging_campaign_id_example" # String | The Messaging Campaign ID
+
+body = PureCloud::MessagingCampaign.new # MessagingCampaign | MessagingCampaign
+
+
+begin
+ #Update an Outbound Messaging Campaign
+ result = api_instance.put_outbound_messagingcampaign(messaging_campaign_id, body)
+ p result
+rescue PureCloud::ApiError => e
+ puts "Exception when calling OutboundApi->put_outbound_messagingcampaign: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **messaging_campaign_id** | **String**| The Messaging Campaign ID | |
+ **body** | [**MessagingCampaign**](MessagingCampaign.html)| MessagingCampaign | |
+{: class="table table-striped"}
+
+
+### Return type
+
+[**MessagingCampaign**](MessagingCampaign.html)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json