# Exported data sets (IRPCExportedDataSets)

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/

Reads the exported data sets of the vault and reports their export status (M-Files Reporting).

- **gRPC service:** `MFiles.IRPCExportedDataSets`
- **Book and level:** [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md), standard
- **Methods:** 7
- **Proto file:** [`mfiles/IRPCExportedDataSets.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/IRPCExportedDataSets.proto)

<a id="overview"></a>

## Overview

An exported data set describes which objects and properties M-Files Reporting copies from the
vault to an external reporting database. The data sets are created and changed with the
administration service [IRPCExportedDataSetsAdmin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/index.md);
this service lets a vault session read them, start an export and follow its progress.

- **Read the data sets**:
  [GetExportedDataSets](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetExportedDataSets/index.md),
  [GetExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetExportedDataSet/index.md).
- **Start an export now** and watch it:
  [TriggerExportedDataSetRefresh](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/TriggerExportedDataSetRefresh/index.md),
  then [GetDataSetExportingStatusBasic](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetExportingStatusBasic/index.md).
- **Used by the export process itself**:
  [GetDataSetAuxiliaryExecutionControlState](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetAuxiliaryExecutionControlState/index.md),
  [GetDataSetExportingReferenceTimestamp](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetExportingReferenceTimestamp/index.md)
  and [UpdateExportedDataSetExecutionStatus](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/UpdateExportedDataSetExecutionStatus/index.md).
  Applications rarely need them.

**Prerequisites.** Every method needs a vault session. All methods except
[GetDataSetExportingReferenceTimestamp](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetExportingReferenceTimestamp/index.md)
need the Reporting module in the server or vault license; without it they fail with a "no
license for reporting" error, except
[GetExportedDataSets](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetExportedDataSets/index.md), which returns an
empty list. Data set IDs that do not exist fail with "Not found.".

The objects and values that an export reads are available to any session through
[IRPCDataExport](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDataExport/index.md).

<a id="methods"></a>

## Methods

| Method | Summary | Facts |
|---|---|---|
| [GetDataSetAuxiliaryExecutionControlState](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetAuxiliaryExecutionControlState/index.md) | Gets when an export of the data set was last requested or cancelled by hand. Used by the export process. | `read` `session` `idempotent` |
| [GetDataSetExportingReferenceTimestamp](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetExportingReferenceTimestamp/index.md) | Gets the current server time, as the reference time for data set synchronization. | `read` `session` `idempotent` |
| [GetDataSetExportingStatusBasic](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetDataSetExportingStatusBasic/index.md) | Tells whether a data set is being exported right now and when its export status last changed. | `read` `session` `idempotent` |
| [GetExportedDataSet](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetExportedDataSet/index.md) | Gets one exported data set by ID. | `read` `session` `idempotent` |
| [GetExportedDataSets](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/GetExportedDataSets/index.md) | Gets all exported data sets of the vault. | `read` `session` `idempotent` |
| [TriggerExportedDataSetRefresh](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/TriggerExportedDataSetRefresh/index.md) | Asks for an export of the data set to start now, outside its schedule. | `write` `session` `idempotent` |
| [UpdateExportedDataSetExecutionStatus](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSets/UpdateExportedDataSetExecutionStatus/index.md) | Stores the progress of an export. Reserved for the M-Files Reporting export process. | `write` `session` `idempotent` |
