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

# downloadScheduledExportV2

`GET /scheduledexport/v2/downloadScheduledExport`

## Request

- Base URL: `//webservices-test.net-chef.com` (relative, and the document’s source URL is not known)
- URL: `//webservices-test.net-chef.com/scheduledexport/v2/downloadScheduledExport`
- Auth: none declared. Required headers: `authenticationtoken`, `password`, `sitename`, `userid`

Download Scheduled Exports.

## Query parameters

- `batchNumber` string
- `exportType` string
- `extractHistoryId` string, required
- `include` 'EXPORT' | 'ATTACHMENT' | 'BOTH'
- `includeFileContent` boolean
- `includeFileJson` boolean
- `includeNull` boolean

## Headers

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

## Response `200`

Success

- ScheduledExportFileV2: ExportFile description
  - `extractHistoryId` integer: "extractHistoryId" from scheduled export
  - `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
  - `fileName` string: "fileName" from scheduled export
  - `fileJson` object[]: Export file content parsed as a structured JSON. Returned when `includeFileJson` is `true`.
  - `attachments` VendorOrderAttachmentV2[]: Attachments applicable to the export. Returned when `include` is `ATTACHMENT` or `BOTH`.
    - `fileName` string: File name associated to the attachment.
    - `fileDescription` string: File description associated to the attachment.
    - `fileContent` string, byte: Base64 encoded data representing binary byte file. Only one of fileContent or fileUrl will be populated in the response.
    - `fileUrl` string: Downloadable file url starts with `https://download.net-chef.com/`. This url expires 5 minutes after it is generated; call the endpoint again to generate a new link if the file still needs to be downloaded. Only one of fileContent or fileUrl will be populated in the response.
    - `vendorInvoiceNumber` string: Vendor Invoice/Reference Number.
    - `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)
    - `locationExportCode` string: Location Export Code.
    - `vendorExportCode` string: Vendor Export Code.
  - `fileContent` string: "fileContent" from scheduled export. Returned when `includeFileContent` is `true`.

## Other responses

- `400`: Validation Error
- `401`: Authorization
- `404`: Scheduled export not found
- `500`: Unexpected Error
- `503`: System under maintenance
- `504`: Timeout

## Changes

- **2026-11-03** `fff247a87cc9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crunchtime/apis/inventory-labor/changes/scheduledexport/v2/downloadScheduledExport/get.md)

---

[API](https://skmtc.dev/crunchtime/apis/inventory-labor.md) - [All operations](https://skmtc.dev/crunchtime/apis/inventory-labor/llms.txt) - [OpenAPI document](https://skmtc.dev/crunchtime/apis/inventory-labor/revisions/fff247a87cc9?raw)
