---
schema_version: "1"
id: d92a48583e58b277a74e1c76fa177bf447cba11082d74b19f05d4293adeb2f1f
title: Triggering the CSV Export Process
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/rtr_triggering_csv_export_process.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_triggering_csv_export_process.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4cc3dc12b5db78d82e9bdb998f24b2867019d638d0a1d4bfe8a7d1afa74b9289
description: The CSV export for a configured integration metadata report is triggered with endpoints provided by the RTR gateway. When the CSV export process is finished, the CSV file can be downloaded through the integration API endpoints.
---
# Triggering the CSV Export Process

The CSV export for a configured integration metadata report is triggered with endpoints provided by the RTR gateway. When the CSV export process is finished, the CSV file can be downloaded through the integration API endpoints.

<table class="editionTable" border="0" summary="Salesforce editions needed for the documented functionality" width="100%"><tbody class="tbody"><tr><td class="subHead">Available in: Lightning Experience in <strong class="ph b">Enterprise</strong> and <strong class="ph b">Unlimited</strong> Editions that have Consumer Goods Cloud Trade Promotion Management enabled.</td></tr></tbody></table>

  

- **[Abort Export Process](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/apex_tpm_abort_export.htm)**  
    Sets the state of a CSV export process to Aborted. When a CSV export process is running for a longer duration than expected, it consumes resources and blocks the scheduling of new exports. The following Abort Export code snippet unblocks the scheduling by aborting the export process.
- **[Triggering CSV Export](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_triggering_csv_export.htm)**  
    This Apex call expects the mandatory values of the business year, the actual name of the RTR report config record, and the sales org that must be exported.
- **[Checking CSV Export Status](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_checking_csv_export_status.htm)**  
    The next step is to check the status of this export.
- **[Committing CSV Export](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_commiting_csv_export.htm)**  
    This Apex call commits a full or delta CSV export.
- **[Retrieving CSV Export](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_history_csv_export.htm)**  
    You can fetch the history of the CSV export by making an Apex call.
- **[Getting Access Token for the User](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_getting_access_token.htm)**
- **[Getting CSV Full Export](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_getting_csv_full_export.htm)**
- **[Getting CSV Delta Export](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_getting_csv_delta_export.htm)**
- **[Get Measure Exports](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/apex_tpm_get_measure_export.htm)**  
    Retrieves the list of the exports scheduled for a particular period. This list provides an overview of the scheduled exports and identifies the exports to be aborted.