Get Measure Exports

Uses the GET method to retrieve 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. It takes Days and State as the query parameters.

Resource
/measures/exports?days=<days>&state=<states>
Available Version
65.0 and later
HTTP Method
GET
Query Parameters
Parameter Type Description Required or Optional Available Version
days String Enter the number of days between 1 and 7 to retrieve the list of exports. The API request uses this input as a reference point to calculate start date and the day request is being sent as a reference point for end date. Required 65.0
state String Enter the CSV export's state. For multiple states, provide the inputs in comma-separated values (CSV) format. The supported values are:
  • Queued
  • InProgress
  • Aborted
  • Ready
  • Error
Required 65.0
Response Body
1[
2    {
3        "Status": "Ready",
4        "RequestDate": "2025-03-19T06:35:04.000Z",
5        "csvGuid": "25439edc-3b83-44ed-a15c-f122af21335c",
6        "salesorg": "0001",
7        "MetaName": "PromotionDataExportCustom",
8        "BusinessYear": 2024,
9        "Statistics": {
10            "csvGuid": "25439edc-3b83-44ed-a15c-f122af21335c",
11            "jobStartTime": "Wed, 19 Mar 2025 12:05:30 GMT",
12            "hasDelta": false,
13            "deltaToCsvGuid": null,
14            "metaName": "PromotionDataExportCustom",
15            "metaVersion": 3,
16            "totalAccounts": 1,
17            "totalCategories": 6,
18            "dimDataRetrievalDuration": 557,
19            "numRecords": 1554,
20            "numAccountCategoryKeys": 6,
21            "runDuration": 1016,
22            "processedAccountCategories": 6,
23            "jobCompletionTime": "Wed, 19 Mar 2025 12:05:32 GMT",
24            "jobDuration": 2255
25        },
26        "FullExport": "full/25439edc-3b83-44ed-a15c-f122af21335c.csv.gz",
27        "DeltaExport": "delta/25439edc-3b83-44ed-a15c-f122af21335c.csv.gz"
28    },
29    {
30        "Status": "Queued",
31        "RequestDate": "2025-03-19T09:01:50.000Z",
32        "MetaName": "PromotionDataExportCustom",
33        "csvGuid": "25439edc-3b83-44ed-a15c-f122af21335c",
34        "salesorg": "0001",
35        "BusinessYear": 2024,
36        "Statistics": null
37    }
38]