---
schema_version: "1"
id: c7274ecf887dab6462255ccffb99cfa597ff716857b4a836069559cf31877268
title: Checking CSV Export Status
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/rtr_checking_csv_export_status.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_checking_csv_export_status.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 66fc23e70c7bad8bf8529679797849ee9055925e7a8c65269f27ba971a3519ce
description: The next step is to check the status of this export.
---
# Checking CSV Export Status

The next step is to check the status of this export.

As soon as it's ready (that is, "Status" = "Ready"), you can continue with the actual download of the file.

## Sample Apex Request:

<namespace>.OffPlatformCallout request = new <namespace>.OffPlatformCallout('GET\_RTR\_EXPORT\_STATUS','0001');
Map<String, String> params = new Map<String, String>();
params.put('csvGuid', '<CSV Guid received as response from Triggering CSV Export>');
<namespace>.OffPlatformCalloutResponse response = request.execute(<namespace>.TransactionHandler.getTransactionIdentifier(), params, null);

## Sample Response

{
  "Status": "Ready",
  "RequestDate": "2021-09-14T13:33:29.000Z",
  "MetaName": "AccountAndPromotionMeasures",
  "BusinessYear": 2020,
  "Statistics": {
    "csvGuid": "94f49a3f-37bc-4794-8051-123456789",
    "jobStartTime": "Tue, 14 Sep 2021 13:34:02 GMT",
    "hasDelta": false,
    "deltaToCsvGuid": null,
    "metaName": "AccountAndPromotionMeasures",
    "metaVersion": 8,
    "totalAccounts": 1,
    "totalCategories": 6,
    "dimDataRetrievalDuration": 1188,
    "numRecords": 0,
    "numAccountCategoryKeys": 6,
    "runDuration": 1592,
    "processedAccountCategories": 6,
    "jobCompletionTime": "Tue, 14 Sep 2021 13:34:06 GMT",
    "jobDuration": 4734
  },
  "FullExport": "tpm/long/export/full/94f49a3f-37bc-4794-8051-396f545500eb.csv.gz",
  "DeltaExport": "tpm/long/export/delta/94f49a3f-37bc-4794-8051-396f545500eb.csv.gz"
}