Add a new contact to the Constant Contact account
Namespace: CTCT.ServicesAssembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Contact AddContact(
string accessToken,
string apiKey,
Contact contact,
bool actionByVisitor
)
Contact AddContact(
string accessToken,
string apiKey,
Contact contact,
bool actionByVisitor
)
Function AddContact ( _
accessToken As String, _
apiKey As String, _
contact As Contact, _
actionByVisitor As Boolean _
) As Contact
Function AddContact ( _
accessToken As String, _
apiKey As String, _
contact As Contact, _
actionByVisitor As Boolean _
) As Contact
Contact^ AddContact(
String^ accessToken,
String^ apiKey,
Contact^ contact,
bool actionByVisitor
)
Contact^ AddContact(
String^ accessToken,
String^ apiKey,
Contact^ contact,
bool actionByVisitor
)
abstract AddContact :
accessToken : string *
apiKey : string *
contact : Contact *
actionByVisitor : bool -> Contact
abstract AddContact :
accessToken : string *
apiKey : string *
contact : Contact *
actionByVisitor : bool -> Contact
Parameters
- accessToken
- Type: System String
Constant Contact OAuth2 access token.
- apiKey
- Type: System String
The API key for the application
- contact
- Type: CTCT.Components.Contacts Contact
Contact to add.
- actionByVisitor
- Type: System Boolean
Set to true if action by visitor.
Return Value
Returns the newly created contact.