The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

Perform

Use the Perform method to manage asynchronous processes, like sending email, importing subscribers, or starting an import definition.

When you use the Perform method as part of an email send definition, you can override certain aspects of the SenderProfile object.

PerformResult[] perform = Perform(Options, Action, Definitions, OverallStatus, OverallStatusMessage, RequestID)

NameData TypeDescription
ActionStringSpecifies an action to perform on one or many objects. See the table below for supported perform actions.
DefinitionsAPIObject[]Specifies a collection of interactions to act upon.
OptionsPerformOptionsOptionally specifies more processing options.
OverallStatusStringSpecifies the overall status of the request.
OverallStatusMessageStringSpecifies the overall status message of the request.
RequestIDStringA unique identifier for the request.
  • AudienceDefinition

    • build
    • clone
    • totalcount
    • count
  • AudienceSegmentDefinition

    • Count
  • Campaign

    • start
    • stop
    • cancel (reserved for future use)
    • pause (reserved for future use)
  • ContentValidation

    • validate
  • DataExtractActivity

    • start
  • EmailSendDefinition

    • start
    • test
    • GetMaxCount
    • stop (reserved for future use)
    • pause (reserved for future use)
    • restart (reserved for future use)
  • ExtractDefinition

    • start
  • FileTransferActivity

    • start
  • FileTrigger

    • start
  • FilterActivity

    • start
  • GroupDefinition

    • start
  • ImportDefinition

    • start
  • MessageSendActivity

    • start
  • PlatformApplication

    • publish
    • deploy
  • ProgramManifestTemplate

    • start
  • Send

    • If ID property is specified

      • pause
      • resume
      • cancel
    • If no ID property is specified, the API ignores the Action parameter.

  • SMSSendActivity

    • start
  • SystemEntityOperation

    • start

SenderProfile Object