Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <s:Header>
- <a:Action s:mustUnderstand="1">Create</a:Action>
- <a:MessageID>urn:uuid:7e0cca04-57bd-4481-864c-6ea8039d2ea0</a:MessageID>
- <a:To s:mustUnderstand="1">{{soapEndPoint}}</a:To>
- <h:fueloauth xmlns="http://exacttarget.com"
- xmlns:h="http://exacttarget.com">{{accessToken}}</h:fueloauth>
- </s:Header>
- <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
- <Options>
- </Options>
- <Objects xsi:type="QueryDefinition">
- <PartnerKey xsi:nil="true">
- </PartnerKey>
- <ObjectID xsi:nil="true">
- </ObjectID>
- <CustomerKey>Testing_Counts</CustomerKey>
- <Name>RP_API_Query</Name>
- <Description>genertedbyAPI</Description>
- <QueryText>Select count(SubscriberId) as Counts from [_Subscribers]</QueryText>
- <TargetType>DE</TargetType>
- <DataExtensionTarget>
- <PartnerKey xsi:nil="true">
- </PartnerKey>
- <ObjectID xsi:nil="true">
- </ObjectID>
- <CustomerKey>DE_Unique</CustomerKey>
- <Name>Solution_Data_DE_Count</Name>
- </DataExtensionTarget>
- <TargetUpdateType>Overwrite</TargetUpdateType>
- </Objects>
Add Comment
Please, Sign In to add comment