ScheduleSendListMessageWithProfileFilter

Schedules the supplied message to be sent at a future time and returns a newly assigned MsgID for this send request. All dates and times are relative to the EST time zone.

<< 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/ScheduleSendListMessageWithProfileFilter"

<?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>
    <ScheduleSendListMessageWithProfileFilter xmlns="http://webservices.listrak.com/v31/">
      <WSMessage>
        <ListID>int</ListID>
        <ListCampaignID>int</ListCampaignID>
        <ToName>string</ToName>
        <ReplyEmailAddress>string</ReplyEmailAddress>
        <FromName>string</FromName>
        <FromEmailAddress>string</FromEmailAddress>
        <Subject>string</Subject>
        <EnablePassalong>boolean</EnablePassalong>
        <EnableTracking>boolean</EnableTracking>
        <HTMLBody>string</HTMLBody>
        <TextBody>string</TextBody>
        <CharacterSetID>int</CharacterSetID>
        <GoogleAnalyticsCampaignName>string</GoogleAnalyticsCampaignName>
        <GoogleAnalyticsCampaignContent>string</GoogleAnalyticsCampaignContent>
      </WSMessage>
      <ProfileFilter>
        <WSProfileFilter>
          <AttributeID>int</AttributeID>
          <ProfileCompareType>EQUALS or NOTEQUALS or CONTAINS or NOTCONTAINS or CHECKED or NOTCHECKED or RADIOON or RADIOOFF or ABOVE or ABOVEOREQUAL or BELOW or BELOWOREQUAL or INCOMMALIST or NOTINCOMMALIST or ISEMPTY or ISNOTEMPTY</ProfileCompareType>
          <Value>string</Value>
          <JoinType>AND or ANDNOT or OR or ORNOT or END</JoinType>
        </WSProfileFilter>
        <WSProfileFilter>
          <AttributeID>int</AttributeID>
          <ProfileCompareType>EQUALS or NOTEQUALS or CONTAINS or NOTCONTAINS or CHECKED or NOTCHECKED or RADIOON or RADIOOFF or ABOVE or ABOVEOREQUAL or BELOW or BELOWOREQUAL or INCOMMALIST or NOTINCOMMALIST or ISEMPTY or ISNOTEMPTY</ProfileCompareType>
          <Value>string</Value>
          <JoinType>AND or ANDNOT or OR or ORNOT or END</JoinType>
        </WSProfileFilter>
      </ProfileFilter>
      <SendDateTime>dateTime</SendDateTime>
    </ScheduleSendListMessageWithProfileFilter>
  </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>
    <ScheduleSendListMessageWithProfileFilterResponse xmlns="http://webservices.listrak.com/v31/">
      <ScheduleSendListMessageWithProfileFilterResult>int</ScheduleSendListMessageWithProfileFilterResult>
      <SendDateTime>dateTime</SendDateTime>
    </ScheduleSendListMessageWithProfileFilterResponse>
  </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>
    <ScheduleSendListMessageWithProfileFilter xmlns="http://webservices.listrak.com/v31/">
      <WSMessage>
        <ListID>int</ListID>
        <ListCampaignID>int</ListCampaignID>
        <ToName>string</ToName>
        <ReplyEmailAddress>string</ReplyEmailAddress>
        <FromName>string</FromName>
        <FromEmailAddress>string</FromEmailAddress>
        <Subject>string</Subject>
        <EnablePassalong>boolean</EnablePassalong>
        <EnableTracking>boolean</EnableTracking>
        <HTMLBody>string</HTMLBody>
        <TextBody>string</TextBody>
        <CharacterSetID>int</CharacterSetID>
        <GoogleAnalyticsCampaignName>string</GoogleAnalyticsCampaignName>
        <GoogleAnalyticsCampaignContent>string</GoogleAnalyticsCampaignContent>
      </WSMessage>
      <ProfileFilter>
        <WSProfileFilter>
          <AttributeID>int</AttributeID>
          <ProfileCompareType>EQUALS or NOTEQUALS or CONTAINS or NOTCONTAINS or CHECKED or NOTCHECKED or RADIOON or RADIOOFF or ABOVE or ABOVEOREQUAL or BELOW or BELOWOREQUAL or INCOMMALIST or NOTINCOMMALIST or ISEMPTY or ISNOTEMPTY</ProfileCompareType>
          <Value>string</Value>
          <JoinType>AND or ANDNOT or OR or ORNOT or END</JoinType>
        </WSProfileFilter>
        <WSProfileFilter>
          <AttributeID>int</AttributeID>
          <ProfileCompareType>EQUALS or NOTEQUALS or CONTAINS or NOTCONTAINS or CHECKED or NOTCHECKED or RADIOON or RADIOOFF or ABOVE or ABOVEOREQUAL or BELOW or BELOWOREQUAL or INCOMMALIST or NOTINCOMMALIST or ISEMPTY or ISNOTEMPTY</ProfileCompareType>
          <Value>string</Value>
          <JoinType>AND or ANDNOT or OR or ORNOT or END</JoinType>
        </WSProfileFilter>
      </ProfileFilter>
      <SendDateTime>dateTime</SendDateTime>
    </ScheduleSendListMessageWithProfileFilter>
  </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>
    <ScheduleSendListMessageWithProfileFilterResponse xmlns="http://webservices.listrak.com/v31/">
      <ScheduleSendListMessageWithProfileFilterResult>int</ScheduleSendListMessageWithProfileFilterResult>
      <SendDateTime>dateTime</SendDateTime>
    </ScheduleSendListMessageWithProfileFilterResponse>
  </soap12:Body>
</soap12:Envelope>