Newer Version Available
Get Measure Exports
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.
- Sample Apex Code Snippet
-
1OffPlatformCallout request = new OffPlatformCallout('GET_MEASURE_EXPORTS','0001'); 2Map<String, String> data = new Map<String, String>(); 3data.put('days','1'); 4data.put('state', 'Aborted'); 5OffPlatformCalloutResponse response = request.execute(TransactionHandler.getTransactionIdentifier(), data, null); 6System.debug(response);
- 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]