lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-34.0.0 vs lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-35.0.0

- old
+ new

@@ -1801,10 +1801,11 @@ # @option opts [Integer] :page_size Page size (default to 25) # @option opts [Integer] :page_number Page number (default to 1) # @option opts [String] :sort_by Sort by (default to name) # @option opts [String] :name Name # @option opts [BOOLEAN] :active Active + # @option opts [Array<String>] :division_id Division ID(s) # @return [QueueEntityListing] def get_routing_queues(opts = {}) data, _status_code, _headers = get_routing_queues_with_http_info(opts) return data end @@ -1815,10 +1816,11 @@ # @option opts [Integer] :page_size Page size # @option opts [Integer] :page_number Page number # @option opts [String] :sort_by Sort by # @option opts [String] :name Name # @option opts [BOOLEAN] :active Active + # @option opts [Array<String>] :division_id Division ID(s) # @return [Array<(QueueEntityListing, Fixnum, Hash)>] QueueEntityListing data, response status code and response headers def get_routing_queues_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RoutingApi.get_routing_queues ..." end @@ -1851,19 +1853,26 @@ + + + + + + # resource path local_var_path = "/api/v2/routing/queues".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[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by'] query_params[:'name'] = opts[:'name'] if opts[:'name'] query_params[:'active'] = opts[:'active'] if opts[:'active'] + query_params[:'divisionId'] = @api_client.build_collection_param(opts[:'division_id'], :multi) if opts[:'division_id'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)