SaveAction

Defines how upsert acts on nested objects for Create and Update methods. You can apply SaveAction to Subscriber, List, DataExtension, Role, and Send objects.

The Default property indicates whether the object uses the default action when saving an object. In general, the default action is the same as the method being called. If the Create method is called, the object is inserted into the system if it doesn't exist. If it does exist, an error returns stating that the object already exists. If the Update method is called, the object is updated in the system if it already exists. If it doesn't exist, an error returns stating that the object doesn't exist.

Properties

Name Data Type Description
AddOnly Enumeration Indicates that data is only added and not updated during a save action.
Default Enumeration Specifies the default source of a salutation when building an email.
Delete Enumeration Indicates whether an object is deleted.
Nothing Enumeration Indicates that nothing is saved.
UpdateAdd Enumeration Indicates an UpdateAdd type for a save action. If this property is specified, the save action updates existing information and adds new information.
UpdateOnly Enumeration Indicates an UpdateOnly type for a save action. If this property is specified, the save action updates existing information only.

Related Items