Method: ElasticEmail::VerificationsApi#verifications_files_result_get_with_http_info

Defined in:
lib/ElasticEmail/api/verifications_api.rb

#verifications_files_result_get_with_http_info(opts = {}) ⇒ Array<(Array<VerificationFileResult>, Integer, Hash)>

Get Files Verification Results Returns a list of uploaded files, their statuses and results. Required Access Level: VerifyEmails

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Array<VerificationFileResult>, Integer, Hash)>)

    Array<VerificationFileResult> data, response status code and response headers



541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
# File 'lib/ElasticEmail/api/verifications_api.rb', line 541

def verifications_files_result_get_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: VerificationsApi.verifications_files_result_get ...'
  end
  # resource path
  local_var_path = '/verifications/files/result'

  # query parameters
  query_params = opts[:query_params] || {}

  # header parameters
  header_params = opts[:header_params] || {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = opts[:form_params] || {}

  # http body (model)
  post_body = opts[:debug_body]

  # return_type
  return_type = opts[:debug_return_type] || 'Array<VerificationFileResult>'

  # auth_names
  auth_names = opts[:debug_auth_names] || ['apikey']

  new_options = opts.merge(
    :operation => :"VerificationsApi.verifications_files_result_get",
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => return_type
  )

  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: VerificationsApi#verifications_files_result_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end