(enrich)
- list_enrich_companies - Retrieve enrichment information for a company
- list_enrich_people - Retrieve enrichment information for a person
Retrieve enrichment information for a company
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
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 |
T.nilable(::UnifiedRubySDK::Operations::ListEnrichCompaniesResponse)
Retrieve enrichment information for a person
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
Parameter | Type | Required | Description |
---|---|---|---|
request |
::UnifiedRubySDK::Operations::ListEnrichPeopleRequest | ✔️ | The request object to use for the request. |
T.nilable(::UnifiedRubySDK::Operations::ListEnrichPeopleResponse)