Method: IntegrationApi::UtilsApi#get_audit_log_all_using_get_with_http_info
- Defined in:
- lib/integration_api/api/utils_api.rb
#get_audit_log_all_using_get_with_http_info(opts = {}) ⇒ Array<(Pageobject, Fixnum, Hash)>
Gel all audit log
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'lib/integration_api/api/utils_api.rb', line 165 def get_audit_log_all_using_get_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: UtilsApi.get_audit_log_all_using_get ...' end # resource path local_var_path = '/audit_log' # query parameters query_params = {} query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil? query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil? query_params[:'event'] = opts[:'event'] if !opts[:'event'].nil? query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil? query_params[:'is_request'] = opts[:'is_request'] if !opts[:'is_request'].nil? query_params[:'nucleus_client_id'] = opts[:'nucleus_client_id'] if !opts[:'nucleus_client_id'].nil? query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil? query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil? query_params[:'request_type'] = opts[:'request_type'] if !opts[:'request_type'].nil? query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil? query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil? query_params[:'vendor_name'] = opts[:'vendor_name'] if !opts[:'vendor_name'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Pageobject') if @api_client.config.debugging @api_client.config.logger.debug "API called: UtilsApi#get_audit_log_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |