- Retrieve your
ObjectID
:Retrieve your
ObjectID
:<Body> <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> <RetrieveRequest> <ObjectType>Program</ObjectType> <Properties>Program.ObjectID</Properties> <Properties>Name</Properties> <Filter xsi:type="SimpleFilterPart"> <Property>Name</Property> <SimpleOperator>equals</SimpleOperator> <Value>[my automation name]</Value> </Filter> </RetrieveRequest> </RetrieveRequestMsg> </Body>
Retrieve your activities, filtering on your
ObjectID
:<Body> <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> <RetrieveRequest> <ObjectType>Activity</ObjectType> <Properties>Name</Properties> <Properties>Description</Properties> <Properties>ObjectID</Properties> <Properties>Step</Properties> <Filter xsi:type="SimpleFilterPart"> <Property>Program.ObjectID</Property> <SimpleOperator>equals</SimpleOperator> <Value>[objectid from step 1]</Value> </Filter> </RetrieveRequest> </RetrieveRequestMsg> </Body>
<Body>
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<RetrieveRequest>
<ObjectType>Program</ObjectType>
<Properties>Program.ObjectID</Properties>
<Properties>Name</Properties>
<Filter xsi:type="SimpleFilterPart">
<Property>Name</Property>
<SimpleOperator>equals</SimpleOperator>
<Value>[my automation name]</Value>
</Filter>
</RetrieveRequest>
</RetrieveRequestMsg>
</Body>
- Retrieve your activities, filtering on your
ObjectID
:
<Body>
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<RetrieveRequest>
<ObjectType>Activity</ObjectType>
<Properties>Name</Properties>
<Properties>Description</Properties>
<Properties>ObjectID</Properties>
<Properties>Step</Properties>
<Filter xsi:type="SimpleFilterPart">
<Property>Program.ObjectID</Property>
<SimpleOperator>equals</SimpleOperator>
<Value>[objectid from step 1]</Value>
</Filter>
</RetrieveRequest>
</RetrieveRequestMsg>
</Body>