What is the createTargetWithCommunicationDetailsAndAddToTargetList Method?

This method will generate a new marketing target in the Targets App. Provide all target details, including a target name, contact details and the target list they belong to. Commonly used for newsletter or email marketing registration forms.

Method Definition

@WebMethod(action = "createTargetWithCommunicationDetailsAndAddToTargetList", operationName = "createTargetWithCommunicationDetailsAndAddToTargetList")
public MethodResponse createTargetWithCommunicationDetailsAndAddToTargetList(String siteAuthenticationKey, String accessKey, String targetListName, String firstName, String lastName, String emailId, String comments, String userId, AppParam[] appParams)

Expected Response

stdClass Object
[return] => stdClass Object
[existsAlready] =>
[newsLetterSubscribed] => 1
[statusCode] => 1000
[statusMessage] => You have successfully subscribed to our Newsletter
[success] =>
[targetId] => 23668
[targetListId] => 10405


Back to API reference.