CreateObject
This function instantiates the specified Marketing Cloud API Object.
NOTE: Instantiated objects do not persist after the first subsequent Invoke function call (for example,InvokeRetrieve()
,InvokeUpdate()
, etc.).
Argument
CreateObject(1)
Ordinal | Type | Required | Description |
---|---|---|---|
1 | String | True | The name of the API Object to instantiate |
Example
The following example retrieves all of the DataExtenion
objects in a specific DataFolder (CategoryID
). The CreateObject()
line specifies the object to instantiate.