lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-10.0.0 vs lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-11.0.0
- old
+ new
@@ -1889,10 +1889,11 @@
# Get list of wrapup codes.
#
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size (default to 25)
# @option opts [Integer] :page_number Page number (default to 1)
+ # @option opts [String] :name Name
# @option opts [String] :sort_by Sort by (default to name)
# @return [WrapupCodeEntityListing]
def get_routing_wrapupcodes(opts = {})
data, _status_code, _headers = get_routing_wrapupcodes_with_http_info(opts)
return data
@@ -1901,10 +1902,11 @@
# Get list of wrapup codes.
#
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
+ # @option opts [String] :name Name
# @option opts [String] :sort_by Sort by
# @return [Array<(WrapupCodeEntityListing, Fixnum, Hash)>] WrapupCodeEntityListing data, response status code and response headers
def get_routing_wrapupcodes_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.get_routing_wrapupcodes ..."
@@ -1926,16 +1928,23 @@
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/routing/wrapupcodes".sub('{format}','json')
# query parameters
query_params = {}
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
+ query_params[:'name'] = opts[:'name'] if opts[:'name']
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
# header parameters
header_params = {}