Retrieve Content Area 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 content areas.
Documentation for the Fuel Java SDK can be found at http://salesforce-marketingcloud.github.io/FuelSDK-Java/
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:
- RowObjectID
- ObjectID
- ID
- CustomerKey
- Client.ID
- ModifiedDate
- CreatedDate
- CategoryID
- Name
- Layout
- IsDynamicContent
- Content
- IsSurvey
- IsBlank
- Key
Documentation for the Fuel Java SDK can be found at http://salesforce-marketingcloud.github.io/FuelSDK-Java/
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:
-
Property: Any of the properties that can be returned for a content area
-
SimpleOperator: Valid simple operators include the following:
- equals
- notEquals
- greaterThan
- lessThan
-
Value/DateValue: Use DateValue to match values when using a Date datatype. Otherwise, use Value.