Click or drag to resize
DataComClient Class
Provides access to Data.com contacts and companies via REST API.
Inheritance Hierarchy
SystemObject
  CMS.DataComDataComClient

Namespace: CMS.DataCom
Assembly: CMS.DataCom (in CMS.DataCom.dll) Version: 10.0.0
Syntax
C#
public sealed class DataComClient : IDataComClient

The DataComClient type exposes the following members.

Constructors
  NameDescription
Public methodDataComClient
Initializes a new instance of the DataComClient class that uses the specified HTTP resource provider and token to access the REST service.
Top
Methods
  NameDescription
Public methodGetCompany
Searches Data.com for a company with the specified identifier and returns the result.
Public methodGetCompanyStructure
Searches Data.com for a company with the specified identifier and returns its organizational structure.
Public methodGetContact
Searches Data.com for a contact with the specified identifier and returns the result using the Data.com user account with given credential.
Public methodGetContacts
Searches Data.com for contacts with the specified identifiers and returns the result using the Data.com user account with given credential.
Public methodGetCurrentPartner
Gets the Data.com partner account information using the given access token.
Public methodGetPartnerContact
Searches Data.com for a contact with the specified identifier and returns the result using the Data.com partner account with given access token.
Public methodGetPartnerContacts
Searches Data.com for contacts with the specified identifiers and returns the result using the Data.com partner account with given access token.
Public methodGetUser
Gets the Data.com user account information using the given credential.
Public methodSearchCompanies
Searches Data.com for companies that match the specified filter and returns the specified page from the list of search results.
Public methodSearchContacts(ContactFilter, Int32, Int32)
Searches Data.com for contacts that match the specified filter and returns the specified page from the result.
Public methodSearchContacts(ContactFilter, Int32, Int32, NetworkCredential)
Searches Data.com for contacts that match the specified filter and returns the specified page from the result.
Public methodSearchPartnerContacts
Searches Data.com for contacts that match the specified filter and returns the specified page from the result.
Public methodUserIsValid
Checks if given Data.com user is valid.
Top
See Also