Guest User

Untitled

a guest
Jan 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  2. <s:Header>
  3. <a:Action s:mustUnderstand="1">Create</a:Action>
  4. <a:MessageID>urn:uuid:7e0cca04-57bd-4481-864c-6ea8039d2ea0</a:MessageID>
  5. <a:To s:mustUnderstand="1">{{soapEndPoint}}</a:To>
  6. <h:fueloauth xmlns="http://exacttarget.com"
  7. xmlns:h="http://exacttarget.com">{{accessToken}}</h:fueloauth>
  8. </s:Header>
  9. <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  10. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  11. <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
  12. <Options>
  13. </Options>
  14. <Objects xsi:type="QueryDefinition">
  15. <PartnerKey xsi:nil="true">
  16. </PartnerKey>
  17. <ObjectID xsi:nil="true">
  18. </ObjectID>
  19. <CustomerKey>Testing_Counts</CustomerKey>
  20. <Name>RP_API_Query</Name>
  21. <Description>genertedbyAPI</Description>
  22. <QueryText>Select count(SubscriberId) as Counts from [_Subscribers]</QueryText>
  23. <TargetType>DE</TargetType>
  24. <DataExtensionTarget>
  25. <PartnerKey xsi:nil="true">
  26. </PartnerKey>
  27. <ObjectID xsi:nil="true">
  28. </ObjectID>
  29. <CustomerKey>DE_Unique</CustomerKey>
  30. <Name>Solution_Data_DE_Count</Name>
  31. </DataExtensionTarget>
  32. <TargetUpdateType>Overwrite</TargetUpdateType>
  33. </Objects>
Add Comment
Please, Sign In to add comment