Skip to content

Latest commit

 

History

History
90 lines (55 loc) · 3.48 KB

README.md

File metadata and controls

90 lines (55 loc) · 3.48 KB

Enrich

(enrich)

Overview

Available Operations

list_enrich_companies

Retrieve enrichment information for a company

Example Usage

require 'unified_ruby_sdk'


s = ::UnifiedRubySDK::UnifiedTo.new
s.config_security(
  ::UnifiedRubySDK::Shared::Security.new(
    jwt: "<YOUR_API_KEY_HERE>",
  )
)

    
res = s.enrich.list_enrich_companies(connection_id="<id>", domain="distinct-wheel.info", name="<value>")

if ! res.enrich_company.nil?
  # handle response
end

Parameters

Parameter Type Required Description
connection_id ::String ✔️ ID of the connection
domain T.nilable(::String) The domain of the company to search
name T.nilable(::String) The name of the company to search

Response

T.nilable(::UnifiedRubySDK::Operations::ListEnrichCompaniesResponse)

list_enrich_people

Retrieve enrichment information for a person

Example Usage

require 'unified_ruby_sdk'


s = ::UnifiedRubySDK::UnifiedTo.new
s.config_security(
  ::UnifiedRubySDK::Shared::Security.new(
    jwt: "<YOUR_API_KEY_HERE>",
  )
)


req = ::UnifiedRubySDK::Operations::ListEnrichPeopleRequest.new(
  connection_id: "<id>",
)
    
res = s.enrich.list_enrich_people(req)

if ! res.enrich_person.nil?
  # handle response
end

Parameters

Parameter Type Required Description
request ::UnifiedRubySDK::Operations::ListEnrichPeopleRequest ✔️ The request object to use for the request.

Response

T.nilable(::UnifiedRubySDK::Operations::ListEnrichPeopleResponse)