JDBC Driver for Google Contacts

Build 22.0.8462

CopyOtherContactsToMyContacts

Copies an 'Other contact' to a new contact in the user's 'myContacts' group

Stored Procedure Specific Information

Process of Copy Other Contacts To My Contacts

GoogleContacts allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. The available columns for CopyOtherContactsToMyContacts are Id, FieldsToCopy and Sources. For example:

EXECUTE CopyOtherContactsToMyContacts Id = 'c2583603548064626314', FieldsToCopy = 'emailAddresses,names,phoneNumbers', Sources = 'READ_SOURCE_TYPE_CONTACT'

Input

Name Type Required Description
Id String True The Id of the 'Other contact' to copy.
FieldsToCopy String True The fields to restrict which fields are copied into the new contact. Valid values are: emailAddresses,names,phoneNumbers
Sources String True A mask of what source types to return. Valid values are: READ_SOURCE_TYPE_UNSPECIFIED, READ_SOURCE_TYPE_PROFILE, READ_SOURCE_TYPE_CONTACT, READ_SOURCE_TYPE_DOMAIN_CONTACT

Result Set Columns

Name Type Description
Success String Returns True if contact group has been modified.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462