Skip to content

/AWS1/CL_SE2=>UPDATECONTACT()

About UpdateContact

Updates a contact's preferences for a list.

You must specify all existing topic preferences in the TopicPreferences object, not just the ones that need updating; otherwise, all your existing preferences will be removed.

Method Signature

IMPORTING

Required arguments:

IV_CONTACTLISTNAME TYPE /AWS1/SE2CONTACTLISTNAME /AWS1/SE2CONTACTLISTNAME

The name of the contact list.

IV_EMAILADDRESS TYPE /AWS1/SE2EMAILADDRESS /AWS1/SE2EMAILADDRESS

The contact's email address.

Optional arguments:

IT_TOPICPREFERENCES TYPE /AWS1/CL_SE2TOPICPREFERENCE=>TT_TOPICPREFERENCELIST TT_TOPICPREFERENCELIST

The contact's preference for being opted-in to or opted-out of a topic.

IV_UNSUBSCRIBEALL TYPE /AWS1/SE2UNSUBSCRIBEALL /AWS1/SE2UNSUBSCRIBEALL

A boolean value status noting if the contact is unsubscribed from all contact list topics.

IV_ATTRIBUTESDATA TYPE /AWS1/SE2ATTRIBUTESDATA /AWS1/SE2ATTRIBUTESDATA

The attribute data attached to a contact.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SE2UPDATECONTACTRSP /AWS1/CL_SE2UPDATECONTACTRSP