lib/purecloudplatformclientv2/api/outbound_api.rb in purecloudplatformclientv2-24.0.0 vs lib/purecloudplatformclientv2/api/outbound_api.rb in purecloudplatformclientv2-25.0.0
- old
+ new
@@ -4813,12 +4813,13 @@
# Add contacts to a contact list.
#
# @param contact_list_id Contact List ID
# @param body Contact
# @param [Hash] opts the optional parameters
- # @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will be dialed next, false means the contact will go to the end of the contact queue.
- # @option opts [BOOLEAN] :clear_system_data Clear system data. True means the system data stored on the contact will be cleared if the contact already exists (attempts, callable status, etc), false means it won't.
+ # @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will be dialed next; false means the contact will go to the end of the contact queue.
+ # @option opts [BOOLEAN] :clear_system_data Clear system data. True means the system columns (attempts, callable status, etc) stored on the contact will be cleared if the contact already exists; false means they won't.
+ # @option opts [BOOLEAN] :do_not_queue Do not queue. True means that updated contacts will not have their positions in the queue altered, so contacts that have already been dialed will not be redialed; False means that updated contacts will be requeued, according to the 'priority' parameter.
# @return [Array<DialerContact>]
def post_outbound_contactlist_contacts(contact_list_id, body, opts = {})
data, _status_code, _headers = post_outbound_contactlist_contacts_with_http_info(contact_list_id, body, opts)
return data
end
@@ -4826,12 +4827,13 @@
# Add contacts to a contact list.
#
# @param contact_list_id Contact List ID
# @param body Contact
# @param [Hash] opts the optional parameters
- # @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will be dialed next, false means the contact will go to the end of the contact queue.
- # @option opts [BOOLEAN] :clear_system_data Clear system data. True means the system data stored on the contact will be cleared if the contact already exists (attempts, callable status, etc), false means it won't.
+ # @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will be dialed next; false means the contact will go to the end of the contact queue.
+ # @option opts [BOOLEAN] :clear_system_data Clear system data. True means the system columns (attempts, callable status, etc) stored on the contact will be cleared if the contact already exists; false means they won't.
+ # @option opts [BOOLEAN] :do_not_queue Do not queue. True means that updated contacts will not have their positions in the queue altered, so contacts that have already been dialed will not be redialed; False means that updated contacts will be requeued, according to the 'priority' parameter.
# @return [Array<(Array<DialerContact>, Fixnum, Hash)>] Array<DialerContact> data, response status code and response headers
def post_outbound_contactlist_contacts_with_http_info(contact_list_id, body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: OutboundApi.post_outbound_contactlist_contacts ..."
end
@@ -4862,16 +4864,23 @@
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/outbound/contactlists/{contactListId}/contacts".sub('{format}','json').sub('{' + 'contactListId' + '}', contact_list_id.to_s)
# query parameters
query_params = {}
query_params[:'priority'] = opts[:'priority'] if opts[:'priority']
query_params[:'clearSystemData'] = opts[:'clear_system_data'] if opts[:'clear_system_data']
+ query_params[:'doNotQueue'] = opts[:'do_not_queue'] if opts[:'do_not_queue']
# header parameters
header_params = {}
# HTTP header 'Accept' (if needed)