Guest User

Untitled

a guest
Jan 18th, 2018
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. <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">
  2. <soapenv:Header>
  3. <wsse:Security soapenv:mustUnderstand="1">
  4. <wsse:UsernameToken>
  5. <wsse:Username>testuser@sfdc.com</wsse:Username>
  6. <wsse:Password>xxxxxxxx</wsse:Password>
  7. </wsse:UsernameToken>
  8. </wsse:Security>
  9. </soapenv:Header>
  10. <soapenv:Body>
  11. <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
  12. <Options/>
  13. <Objects xsi:type="Automation">
  14. <Client>
  15. <ID>7208433</ID>
  16. </Client>
  17. <Name>myautos</Name>
  18. <CustomerKey>7567544333</CustomerKey>
  19. <AutomationTasks>
  20. <AutomationTask>
  21. <PartnerKey xsi:nil="true"/>
  22. <ObjectID xsi:nil="true"/>
  23. <Activities>
  24. <Activity>
  25. <PartnerKey xsi:nil="true"/>
  26. <Name>Query</Name><!-- Name of Activity -->
  27. <CustomerKey>5467777</CustomerKey>
  28. <!--<Definition>
  29. <PartnerKey xsi:nil="true"/>
  30. <ObjectID xsi:nil="true"/>
  31. </Definition>-->
  32. <ActivityObject xsi:type="QueryDefinition">
  33. <PartnerKey xsi:nil="true"/>
  34. <CustomerKey>5467777</CustomerKey><!-- CustomerKey of Query -->
  35. <Name>joinmultiple</Name><!-- Name of Query -->
  36. </ActivityObject>
  37. </Activity>
  38. </Activities>
  39. </AutomationTask>
  40. </AutomationTasks>
  41. <AutomationType>Scheduled</AutomationType>
  42. </Objects>
  43. </CreateRequest>
  44. </soapenv:Body>
  45. </soapenv:Envelope>
Add Comment
Please, Sign In to add comment