Last active
December 8, 2019 13:08
-
-
Save MamaiRachid/29659febd75aae46683d52ef89b9d844 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<soapenv:Header> | |
<wsse:Security soapenv:mustUnderstand="1"> | |
<wsse:UsernameToken> | |
<wsse:Username>username</wsse:Username> | |
<wsse:Password>password</wsse:Password> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soapenv:Header> | |
<soapenv:Body> | |
<CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI"> | |
<Options/> | |
<Objects xsi:type="Automation"> | |
<Client> | |
<ID>1234567</ID> | |
</Client> | |
<Name>AUT_ONEOFF</Name> | |
<CustomerKey>AUT_ONEOFF</CustomerKey> | |
<Description>AUT_ONEOFF</Description> | |
<!--<CategoryID>74052</CategoryID>--> | |
<!--<Notifications> DOES NOT WORK | |
<Notification> | |
<Address>swhitmore@salesforce.com</Address> | |
<NotificationType>-1</NotificationType> | |
</Notification> | |
</Notifications>--> | |
<AutomationTasks> | |
<AutomationTask> | |
<PartnerKey xsi:nil="true"/> | |
<ObjectID xsi:nil="true"/> | |
<Name>Task 1</Name> | |
<Activities> | |
<Activity> | |
<PartnerKey xsi:nil="true"/> | |
<ObjectID>c7ccca24-4567-4317-b8d0-3874d69c130c</ObjectID><!-- ObjectID of Query --> | |
<Name>Query 1</Name><!-- Name of Activity --> | |
<!--<Definition> | |
<PartnerKey xsi:nil="true"/> | |
<ObjectID xsi:nil="true"/> | |
</Definition>--> | |
<ActivityObject xsi:type="QueryDefinition"> | |
<PartnerKey xsi:nil="true"/> | |
<ObjectID>c7ccca24-4567-4317-b8d0-3874d69c130c</ObjectID><!-- ObjectID of Query --> | |
<CustomerKey>546012e7-4438-4526-9e6c-5ec73939848b</CustomerKey><!-- CustomerKey of Query --> | |
<Name>BrowseAbandon_US_Unica_Sendable_Audience_Approved</Name><!-- Name of Query --> | |
</ActivityObject> | |
</Activity> | |
</Activities> | |
</AutomationTask> | |
</AutomationTasks> | |
<AutomationType>scheduled</AutomationType> | |
</Objects> | |
</CreateRequest> | |
</soapenv:Body> | |
</soapenv:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment