Quantcast
Channel: Topliners: Message List
Viewing all articles
Browse latest Browse all 3460

How to fetch Campaign details from Activity

$
0
0

Hi,

 

Does anyone know how to fetch the Campaign details from the Activity.

When query for Activity for particular contact, we got below response :

 

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

   <s:Header>

      <ActivityId CorrelationId="40763918-c4d1-4c2e-8a14-d6e291eedc8b" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">9c2973db-db8f-40d6-8572-8500663ee694</ActivityId>

      <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

         <u:Timestamp u:Id="_0">

            <u:Created>2014-02-11T05:35:53.988Z</u:Created>

            <u:Expires>2014-02-11T05:40:53.988Z</u:Expires>

         </u:Timestamp>

      </o:Security>

   </s:Header>

   <s:Body>

      <GetActivitiesResponse xmlns="https://secure.eloqua.com/API/1.2">

         <GetActivitiesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

            <DynamicActivity>

               <ActivityType>EmailSend</ActivityType>

               <Date>2014-02-03T11:24:27.907</Date>

               <DynamicAsset>

                  <AssetType>

                     <ID>57</ID>

                     <Name i:nil="true"/>

                     <Type>Email</Type>

                  </AssetType>

                  <FieldValueCollection/>

                  <Id>57</Id>

               </DynamicAsset>

               <DynamicEntity i:nil="true"/>

               <FieldValueCollection>

                  <ActivityFields>

                     <InternalName>EmailWebLink</InternalName>

                     <Value/>

                  </ActivityFields>

                  <ActivityFields>

                     <InternalName>EmailName</InternalName>

                     <Value>Demo eBay Offer</Value>

                  </ActivityFields>

                  <ActivityFields>

                     <InternalName>EmailRecipientID</InternalName>

                     <Value>2c88fba9-5804-4c79-8cc8-00a94fd12abb</Value>

                  </ActivityFields>

                  <ActivityFields>

                     <InternalName>SubjectLine</InternalName>

                     <Value>The Best of Mobile deals + 7% off coupon inside!</Value>

                  </ActivityFields>

               </FieldValueCollection>

               <Id>2</Id>

            </DynamicActivity>

            <DynamicActivity>

               <ActivityType>EmailSubscribe</ActivityType>

               <Date>2014-01-31T06:00:34.813</Date>

               <DynamicAsset>

                  <AssetType>

                     <ID>0</ID>

                     <Name i:nil="true"/>

                     <Type>Email</Type>

                  </AssetType>

                  <FieldValueCollection/>

                  <Id>0</Id>

               </DynamicAsset>

               <DynamicEntity i:nil="true"/>

               <FieldValueCollection/>

               <Id>2</Id>

            </DynamicActivity>

         </GetActivitiesResult>

      </GetActivitiesResponse>

   </s:Body>

</s:Envelope>

 

Now, we need to know, for which Campaign these activities were performed.

 

How to get those details ?

 

Thanks


Viewing all articles
Browse latest Browse all 3460

Trending Articles