Retrieve Email Details

Marketing Cloud has a new model for storing, finding, managing, creating, sharing, and distributing all content-related objects. Access the objects created with the new Content Builder tools using the REST API. Your existing SOAP API integrations only function with the Classic tools in the user interface.

Use the Get method to return information about existing email messages.

Ruby

PHP

Python

CSharp

Java

Documentation for the Fuel Java SDK can be found at http://salesforce-marketingcloud.github.io/FuelSDK-Java/

Streamline Your usage of Get

Optionally, you can set the props property when using the Get method in order to limit the number of fields returned. If you don't define the props property, the call returns all fields. You can provide the props property as an array containing any combination of the following values:

  • ID
  • PartnerKey
  • CreatedDate
  • ModifiedDate
  • Client.ID
  • Name
  • Folder
  • CategoryID
  • HTMLBody
  • TextBody
  • Subject
  • IsActive
  • IsHTMLPaste
  • ClonedFromID
  • Status
  • EmailType
  • CharacterSet
  • HasDynamicSubjectLine
  • ContentCheckStatus
  • Client.PartnerClientKey
  • ContentAreas
  • CustomerKey

Ruby

PHP

Python

CSharp

Filter Get Requests

Optionally, you can set the filter property to limit the number of results returned. If you don't define the props property, the call returns all fields. A filter consists of three key/value pairs:

  1. Property: Any of the properties that can be returned for an email

  2. SimpleOperator: Valid simple operators include the following:

    • equals
    • notEquals
    • greaterThan
    • lessThan
  3. Value/DateValue: Use DateValue to match values when using a Date datatype. Otherwise, use Value.

Ruby

PHP

Python

CSharp