ReportImportContactDetail

The ReportImportContactDetail method retrieves a collection of import contacts for a specified import file. This method gives users access to the report data available through the drill-through reports in the application’s Import Summary Report. Users can specify an ImportFileID as well as the ImportResult (Invalid, All, Subscribed, Unsubscribed, AlreadySubscribed, AlreadyUnsubscribed, Suppressed, Banned). The method will return the contacts (ContactID and EmailAddress) from the specified import file who match the selected import result. Selecting the All import result will return all the contacts in the specified import file.

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

<?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>
    <ReportImportContactDetail xmlns="http://webservices.listrak.com/v31/">
      <ImportFileID>int</ImportFileID>
      <Page>int</Page>
      <ImportResult>Invalid or All or Subscribed or UnSubscribed or AlreadySubscribed or AlreadyUnSubscribed or Suppressed or Banned or Skipped</ImportResult>
      <WSException>
        <SoapMethod>string</SoapMethod>
        <DateTime>dateTime</DateTime>
        <Description>string</Description>
      </WSException>
    </ReportImportContactDetail>
  </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>
    <ReportImportContactDetailResponse xmlns="http://webservices.listrak.com/v31/">
      <ReportImportContactDetailResult>
        <WSImportContact>
          <EmailAddress>string</EmailAddress>
          <ContactID>int</ContactID>
        </WSImportContact>
        <WSImportContact>
          <EmailAddress>string</EmailAddress>
          <ContactID>int</ContactID>
        </WSImportContact>
      </ReportImportContactDetailResult>
      <WSException>
        <SoapMethod>string</SoapMethod>
        <DateTime>dateTime</DateTime>
        <Description>string</Description>
      </WSException>
    </ReportImportContactDetailResponse>
  </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>
    <ReportImportContactDetail xmlns="http://webservices.listrak.com/v31/">
      <ImportFileID>int</ImportFileID>
      <Page>int</Page>
      <ImportResult>Invalid or All or Subscribed or UnSubscribed or AlreadySubscribed or AlreadyUnSubscribed or Suppressed or Banned or Skipped</ImportResult>
      <WSException>
        <SoapMethod>string</SoapMethod>
        <DateTime>dateTime</DateTime>
        <Description>string</Description>
      </WSException>
    </ReportImportContactDetail>
  </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>
    <ReportImportContactDetailResponse xmlns="http://webservices.listrak.com/v31/">
      <ReportImportContactDetailResult>
        <WSImportContact>
          <EmailAddress>string</EmailAddress>
          <ContactID>int</ContactID>
        </WSImportContact>
        <WSImportContact>
          <EmailAddress>string</EmailAddress>
          <ContactID>int</ContactID>
        </WSImportContact>
      </ReportImportContactDetailResult>
      <WSException>
        <SoapMethod>string</SoapMethod>
        <DateTime>dateTime</DateTime>
        <Description>string</Description>
      </WSException>
    </ReportImportContactDetailResponse>
  </soap12:Body>
</soap12:Envelope>