Perform a Data Extract

This page contains information about performing a data extract using the SOAP API.

Why Perform a Data Extract

You can use a data extract to pull information from your Marketing Cloud account and place it in a file on an FTP site for use in a different system (such as a web analytics tool).

How to Perform a Tracking Data Extract Activity

Use the code below as a model to construct your own API call. Note that the ExtractRequest ID can be obtained by performing a Retrieve call on the ExtractDescription object. This call returns all possible IDs for the extracts available to your account.

Sample .NET Code

Sample PHP Code

Sample Java Code (Axis 1.4)

Sample SOAP Envelope

How to Create a Data Extension Data Extract

Use the sample code below to construct a data extract to extract data from a data extension.

Sample .NET Code

Sample PHP Code

Sample SOAP Envelope