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: 8.2.23
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also