---
schema_version: "1"
id: 22589a1fe142f0523f48fd110d0528cf1b5e347dd7b03685ca6b32b1de849423
title: Triggering CSV Exports
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/rtr_triggering_csv_exports.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_triggering_csv_exports.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 866c0167c3e9c0d6960baf4060306fc2164625b3241cb24a704b47c8711f7722
description: Use the Triggering CSV Exports API to trigger CSV exports simultaneously. The CSV exports are generated asynchronously.
---
# Triggering CSV Exports

Use the Triggering CSV Exports API to trigger CSV exports simultaneously. The CSV exports are generated asynchronously.

![Note](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/images/icon_note.png)

#### Note

Account Plan measure exports include data from weekly account and promotion writebacks. For promotion writebacks, if a product moves to a new category and promotions reference both the old and new categories, the export shows separate rows for each category for the same product and measure code.

## Resource

/services/apexrest/cgcloud/measures/export/schedule

## Method

POST

## Request Parameters

| Parameter | Mandatory | Type | Description |
| --- | --- | --- | --- |
| businessyear | Yes only if calendaryear is not provided as an input. | Integer | Enter the business year for which the CSV export must be triggered. It is used when the write-back datasource is exported. |
| calendaryear | Yes only if businessyear is not provided as an input. | Integer | Enter the calendar year for which the CSV export must be triggered. It is used for inbound integration data sources. |
| metaname | Yes | String | Enter the Internal Name of the RTR Report Configuration. |
| salesorg | Yes | String | Enter the Salesorg name. |

## Sample Request Body

{
    "salesorg": "0001",
    "metaname": "IntegrationExportPromotion",
    "businessyear": 2024
}

## Sample Response Body

{
  "csvGuid": "94f49a3f-37bc-4794-8051-123456789"
}