Scenarios

Sample Code for Marketing Cloud for AppExchange API Calls

This section provides sample code related to Marketing Cloud for AppExchange API.

Sample Create Call

This code sample represents the create call, and it executes one Salesforce send. Note the following aspects about this call:

  • Default CreationOptions properties are used.
  • One or many SalesforceSend or Email objects can be created with a single Create call.
  • One CreateResult object is associated with one APIObject - in this case, a SalesforceSend object.
  • Returned "out" parameters are subject to your development environment. In .NET, they are exposed as parameters on the Create call.

Sample Re-subscribe Call

Sample SOAP API Call