I am looking for documentation or an example for how to create a SOAP request for the following Automation Studio tasks:
- Data Extract
- SQL Query
- Send Email
- Transfer File
I've been able to work through creating send email task using example sample SOAP request documented here.
I have also attempted to request definition of tasks (from an existing Automation created in Automation Canvas) using the following SOAP envelope request. The issue is that the response does not include an ActivityObject
element identifying the type of task.
<soap:Body>
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<RetrieveRequest>
<ObjectType>Automation</ObjectType>
<Properties>ProgramID</Properties>
<Properties>Name</Properties>
<Properties>Description</Properties>
<Properties>CustomerKey</Properties>
<Properties>IsActive</Properties>
<Properties>CreatedDate</Properties>
<Properties>ModifiedDate</Properties>
<Properties>Status</Properties>
<Filter xsi:type="SimpleFilterPart">
<Property>CustomerKey</Property>
<SimpleOperator>equals</SimpleOperator>
<Value>SOMEKEYHERE</Value>
</Filter>
</RetrieveRequest>
</RetrieveRequestMsg>
</soap:Body>