---
title: "downloadScheduledExport"
method: GET
path: "/scheduledexport/v1/downloadScheduledExport"
tags: ["Scheduled Export Service"]
---

# downloadScheduledExport

`GET /scheduledexport/v1/downloadScheduledExport`

Download Scheduled Exports. To ensure the highest stability and data integrity for your API integration, we strongly recommend using a sequential or "low-parallelism" pattern when downloading scheduled exports from the Crunchtime API. Because these exports often involve large datasets, initiating multiple concurrent downloads can lead to resource contention, resulting in throttled throughput or connection timeouts. By limiting your process to a single active download at a time, you allow the platform to provide a steady, high-speed data stream without the overhead of managing competing requests. This "one-at-a-time" approach is the most reliable way to ensure your files are delivered completely and efficiently, preventing the need for complex error handling or manual restarts.

## Query parameters

- `batchNumber` string, required
- `exportType` string, required
- `extractHistoryId` string, required
- `includeVendorOrderAttachments` boolean
- `includeNull` boolean

## Headers

- `authenticationtoken` string, required
- `password` string, required
- `sitename` string, required
- `userid` string, required
- `X-B3-TraceId` string

## Response `200`

Success

- ExportFile[]
  - `exportType` 'EMPLOYEE_MAINTENANCE' | 'EPICOR_PLATINUM' | 'INVENTORY_TOTALS' | 'MAPPABLE_AP_TRANS_TYPE' | 'MAPPABLE_AR_TRANS_TYPE' | 'MAPPABLE_CUSTOM_TRANS_TYPE' | 'MAPPABLE_EMPLOYEE_POS_TYPE' | 'MAPPABLE_INVENTORY_DELTA_TYPE' | 'MAPPABLE_INVENTORY_TOTALS_TYPE' | 'MAPPABLE_LABOR_SCHEDULE_TYPE' | 'MAPPABLE_LOC_TRANSFERS_TYPE' | 'MAPPABLE_PAYROLL_TYPE' | 'MAPPABLE_SALES_TYPE' | 'MAPPABLE_STANDARD_AP_TYPE' | 'PAYROLL' | 'SALES' | 'STANDARD_AP' | 'STANDARD_INVENTORY_DELTA' | 'STANDARD_LOCATION_TRANSFERS' | 'USER_DEFINED' — "exportType" from scheduled export
  - `extractHistoryId` integer — "extractHistoryId" from scheduled export
  - `fileContent` string — "fileContent" from scheduled export
  - `fileJson` object[]
  - `fileName` string — "fileName" from scheduled export
  - `vendorOrderAttachments` VendorOrderAttachmentsDto — Vendor order attachments related to the extract being downloaded. Subject to includeVendorOrderAttachments set to true.
    - `extractHistoryId` integer — ID of the extract
    - `vendorOrderAttachmentList` VendorOrderAttachment[]
      - `fileContent` string, byte — Base64 encoded data representing binary byte file.
      - `fileName` string — File name associated to the attachment.
      - `vendorCode` string — Customer: Customer "Code" (negative for hybrid Customers){R}Vendor: Vendor "Code" {R}(`MASTER` for Master Order Vendor, `REQSN` for Requisition Vendor that are created when "Allow creation of Master Orders based on Company Product" Purchasing Preference is selected and saved)
      - `vendorInvoiceNumber` string — Vendor Invoice/Reference Number.
      - `locationExportCode` string — Location Export Code.
      - `vendorExportCode` string — Vendor Export Code.

## Other responses

- `400` — Validation Error
- `401` — Authorization
- `404` — Scheduled export not found
- `429` — Too Many Requests
- `500` — Unexpected Error
- `503` — System under maintenance
- `504` — Timeout

---

[API](https://skmtc.net/crunchtime/apis/inventory-labor.md) · [All operations](https://skmtc.net/crunchtime/apis/inventory-labor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crunchtime/inventory-labor/revisions/0af8e380ff2c/schema)
