GetMessageAnalyticsInformation

Provides message analytics information for messages that have been sent. This method has a limit of 2,500 messages per call as of 4/5/2016.

<< Back to Method List

SOAP 1.1 Request

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /v31/IntegrationService.asmx HTTP/1.1
Host: webservices.listrak.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.listrak.com/v31/GetMessageAnalyticsInformation"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <WSUser xmlns="http://webservices.listrak.com/v31/">
      <UserName>string</UserName>
      <Password>string</Password>
    </WSUser>
  </soap:Header>
  <soap:Body>
    <GetMessageAnalyticsInformation xmlns="http://webservices.listrak.com/v31/">
      <MsgIDs>
        <int>int</int>
        <int>int</int>
      </MsgIDs>
    </GetMessageAnalyticsInformation>
  </soap:Body>
</soap:Envelope>

SOAP 1.1 Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMessageAnalyticsInformationResponse xmlns="http://webservices.listrak.com/v31/">
      <GetMessageAnalyticsInformationResult>
        <WSMessageAnalyticsInformation>
          <CampaignID>int</CampaignID>
          <CampaignName>string</CampaignName>
          <GoogleAnalyticsCampaignContent>string</GoogleAnalyticsCampaignContent>
          <GoogleAnalyticsCampaignName>string</GoogleAnalyticsCampaignName>
          <ListrakAnalyticsCampaignName>string</ListrakAnalyticsCampaignName>
          <ListrakAnalyticsModuleName>string</ListrakAnalyticsModuleName>
          <ListrakAnalyticsVersion>string</ListrakAnalyticsVersion>
          <ListID>int</ListID>
          <MsgID>int</MsgID>
          <SendDate>dateTime</SendDate>
          <Subject>string</Subject>
        </WSMessageAnalyticsInformation>
        <WSMessageAnalyticsInformation>
          <CampaignID>int</CampaignID>
          <CampaignName>string</CampaignName>
          <GoogleAnalyticsCampaignContent>string</GoogleAnalyticsCampaignContent>
          <GoogleAnalyticsCampaignName>string</GoogleAnalyticsCampaignName>
          <ListrakAnalyticsCampaignName>string</ListrakAnalyticsCampaignName>
          <ListrakAnalyticsModuleName>string</ListrakAnalyticsModuleName>
          <ListrakAnalyticsVersion>string</ListrakAnalyticsVersion>
          <ListID>int</ListID>
          <MsgID>int</MsgID>
          <SendDate>dateTime</SendDate>
          <Subject>string</Subject>
        </WSMessageAnalyticsInformation>
      </GetMessageAnalyticsInformationResult>
    </GetMessageAnalyticsInformationResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2 Request

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /v31/IntegrationService.asmx HTTP/1.1
Host: webservices.listrak.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <WSUser xmlns="http://webservices.listrak.com/v31/">
      <UserName>string</UserName>
      <Password>string</Password>
    </WSUser>
  </soap12:Header>
  <soap12:Body>
    <GetMessageAnalyticsInformation xmlns="http://webservices.listrak.com/v31/">
      <MsgIDs>
        <int>int</int>
        <int>int</int>
      </MsgIDs>
    </GetMessageAnalyticsInformation>
  </soap12:Body>
</soap12:Envelope>

SOAP 1.2 Response

HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMessageAnalyticsInformationResponse xmlns="http://webservices.listrak.com/v31/">
      <GetMessageAnalyticsInformationResult>
        <WSMessageAnalyticsInformation>
          <CampaignID>int</CampaignID>
          <CampaignName>string</CampaignName>
          <GoogleAnalyticsCampaignContent>string</GoogleAnalyticsCampaignContent>
          <GoogleAnalyticsCampaignName>string</GoogleAnalyticsCampaignName>
          <ListrakAnalyticsCampaignName>string</ListrakAnalyticsCampaignName>
          <ListrakAnalyticsModuleName>string</ListrakAnalyticsModuleName>
          <ListrakAnalyticsVersion>string</ListrakAnalyticsVersion>
          <ListID>int</ListID>
          <MsgID>int</MsgID>
          <SendDate>dateTime</SendDate>
          <Subject>string</Subject>
        </WSMessageAnalyticsInformation>
        <WSMessageAnalyticsInformation>
          <CampaignID>int</CampaignID>
          <CampaignName>string</CampaignName>
          <GoogleAnalyticsCampaignContent>string</GoogleAnalyticsCampaignContent>
          <GoogleAnalyticsCampaignName>string</GoogleAnalyticsCampaignName>
          <ListrakAnalyticsCampaignName>string</ListrakAnalyticsCampaignName>
          <ListrakAnalyticsModuleName>string</ListrakAnalyticsModuleName>
          <ListrakAnalyticsVersion>string</ListrakAnalyticsVersion>
          <ListID>int</ListID>
          <MsgID>int</MsgID>
          <SendDate>dateTime</SendDate>
          <Subject>string</Subject>
        </WSMessageAnalyticsInformation>
      </GetMessageAnalyticsInformationResult>
    </GetMessageAnalyticsInformationResponse>
  </soap12:Body>
</soap12:Envelope>