Datacloud Class
Purchase Data.com contact or company records, and retrieve purchase information.
When your Data.com Prospector or Data.com Clean contract expires, Data.com features, objects, and fields will be removed from your org.
To support customers’ needs around compliance and to remain a leader in trust and privacy, Salesforce removed all contact data from the Data.com service on February 1, 2021.
For more information, see Data.com Prospector and Clean Retirement.
-
These methods are for
Datacloud. All methods are static.
These methods are for Datacloud. All methods are static.
-
getCompaniesFromOrder(orderId, pageSize, page)
Get a list of purchased company records for an order.
-
Get a company record.
-
Get a contact.
-
getContactsFromOrder(orderId, page, pageSize)
Get a list of purchased contacts for an order.
-
Get an order.
-
Get purchase usage information for a user.
-
Purchase records that are listed in an input file.
Get a list of purchased company records for an order.
32.0
No
public static ConnectApi.DatacloudCompanies getCompaniesFromOrder(String orderId, String pageSize, String page)
- orderId
Type: String
ID of an order.
- page
Type: Integer
Number of the page that you want returned.
- pageSize
Type: Integer
Number of companies to show on a page. The default pageSize is 25.
Type: ConnectApi.DatacloudCompanies
Get a company record.
32.0
No
public static ConnectApi.DatacloudCompany getCompany(String companyId)
- companyId
Type: String
ID of a company in the Data.com database.
Type: ConnectApi.DatacloudCompany
Get a contact.
32.0
No
public static ConnectApi.DatacloudContact getContact(String contactId)
- contactId
Type: String
ID of a contact in the Data.com database.
Type: ConnectApi.DatacloudContact
Get a list of purchased contacts for an order.
32.0
No
public static ConnectApi.DatacloudContacts getContactsFromOrder(String orderId, String page, String pageSize)
- orderId
Type: String
ID of an order.
- page
Type: Integer
Number of the page that you want returned.
- pageSize
Type: Integer
Number of contacts to show on a page. The default pageSize is 25.
Type: ConnectApi.DatacloudContacts
Get an order.
32.0
No
public static ConnectApi.DatacloudOrder getOrder(String orderId)
- orderId
Type: String
ID of an order.
Type: ConnectApi.DatacloudOrder
Get purchase usage information for a user.
32.0
No
public static ConnectApi.DatacloudPurchaseUsage getUsage(String userId)
- userId
Type: String
ID of a user.
Type: ConnectApi.DatacloudPurchaseUsage
Purchase records that are listed in an input file.
32.0
No
public static ConnectApi.DatacloudOrder postOrder(ConnectApi.DatacloudOrderInput orderInput)
- orderInput
Type:
ConnectApi.DatacloudOrderInputA list that contains IDs for the contacts or companies that you want to see.
Type: ConnectApi.DatacloudOrder