---
updatedAt: 2026-06-30T19:18:18.000Z
agentTools:
  projectIndex: https://developer.crunchtime.com/llms.txt
---

# 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.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Swagger documentation supporting mobile development of Crunchtime.",
    "version": "3.05",
    "title": "Cruise Platform",
    "termsOfService": "http://springfox.io",
    "contact": {
      "name": "Crunchtime Development Team",
      "url": "http://www.crunchtime.com",
      "email": "apiquestions@crunchtime.com"
    },
    "license": {
      "name": "Apache License Version 2.0",
      "url": "https://github.com/springfox/springfox/blob/master/LICENSE"
    }
  },
  "tags": [
    {
      "name": "Scheduled Export Service",
      "description": "The Scheduled Export service is an API that Crunchtime customers can use to download export files that have been generated via Scheduled Events in Enterprise Manager and convert the file content to JSON."
    }
  ],
  "paths": {
    "/cruise/scheduledexport/v1/downloadScheduledExport": {
      "get": {
        "tags": [
          "Scheduled Export Service"
        ],
        "summary": "downloadScheduledExport",
        "description": "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.",
        "operationId": "downloadScheduledExportsV1UsingGET",
        "parameters": [
          {
            "name": "authenticationtoken",
            "in": "header",
            "description": "Secure token for API authentication.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "batchNumber",
            "in": "query",
            "description": "Batch Number of the export file to download. Obtained from ‘getAllScheduledExports’.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "exportType",
            "in": "query",
            "description": "Export file type of the export file to download. Obtained from ‘getAllScheduledExports’. ",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "extractHistoryId",
            "in": "query",
            "description": "Unique file identifier of the export file to download. Obtained from ‘getAllScheduledExports’.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeVendorOrderAttachments",
            "in": "query",
            "description": "Output includes Vendor Order and Purchase by Invoice file attachments (invoices, images) when true, for Accounts Payable files only (exportType = MAPPABLE_AP_TRANS_TYPE). \n File attachments are downloaded in base64 format. Note that file attachments will not be available for files after “Undo” in Outbound Integrations.",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true
            }
          },
          {
            "name": "password",
            "in": "header",
            "description": "Password for the Crunchtime Application User.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sitename",
            "in": "header",
            "description": "Crunchtime site identifier. (test or production)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userid",
            "in": "header",
            "description": "User ID for the Crunchtime Application User.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-B3-TraceId",
            "in": "header",
            "description": "Optional trace identifier for troubleshooting.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeNull",
            "in": "query",
            "description": "Specify 'true' to output null data elements.",
            "required": false,
            "allowEmptyValue": true,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "*/*": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExportFile"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExportFile"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Validation Error",
            "content": {
              "*/*": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ObjectError"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ObjectError"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authorization",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Scheduled export not found",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected Error",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "503": {
            "description": "System under maintenance",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "504": {
            "description": "Timeout",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "externalDocs": {
    "description": "Using CrunchTime APIs Documentation",
    "url": "https://links.crunchtime.com/SG-UsingCrunchtimeAPIs?pd01=api"
  },
  "servers": [
    {
      "url": "//webservices-test.net-chef.com"
    }
  ],
  "components": {
    "schemas": {
      "ObjectError": {
        "type": "object",
        "properties": {
          "arguments": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "code": {
            "type": "string"
          },
          "codes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "defaultMessage": {
            "type": "string"
          },
          "objectName": {
            "type": "string"
          }
        },
        "title": "ObjectError"
      },
      "ExportFile": {
        "type": "object",
        "properties": {
          "exportType": {
            "type": "string",
            "example": "MAPPABLE_AP_TRANS_TYPE",
            "description": "\"exportType\" from scheduled export",
            "enum": [
              "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"
            ]
          },
          "extractHistoryId": {
            "type": "integer",
            "format": "int64",
            "example": 1122349,
            "description": "\"extractHistoryId\" from scheduled export"
          },
          "fileContent": {
            "type": "string",
            "example": "Ww0KICAgIHs",
            "description": "\"fileContent\" from scheduled export"
          },
          "fileJson": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "object"
              }
            }
          },
          "fileName": {
            "type": "string",
            "example": "NSAPSUPERSET,06302023,052420.txt",
            "description": "\"fileName\" from scheduled export"
          },
          "vendorOrderAttachments": {
            "$ref": "#/components/schemas/VendorOrderAttachmentsDto"
          }
        },
        "title": "ExportFile",
        "description": "ExportFile description"
      },
      "VendorOrderAttachment": {
        "type": "object",
        "properties": {
          "fileContent": {
            "type": "string",
            "format": "byte",
            "description": "Base64 encoded data representing binary byte file."
          },
          "fileName": {
            "type": "string",
            "example": "IMG_6717.JPG",
            "description": "File name associated to the attachment."
          },
          "vendorCode": {
            "type": "string",
            "example": "KATSIR",
            "description": "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": {
            "type": "string",
            "example": 91,
            "description": "Vendor Invoice/Reference Number."
          },
          "locationExportCode": {
            "type": "string",
            "example": "0409",
            "description": "Location Export Code."
          },
          "vendorExportCode": {
            "type": "string",
            "example": "VREIN15",
            "description": "Vendor Export Code."
          }
        },
        "title": "VendorOrderAttachment",
        "description": "Vendor order files/attachments applicable to export."
      },
      "VendorOrderAttachmentsDto": {
        "type": "object",
        "properties": {
          "extractHistoryId": {
            "type": "integer",
            "format": "int64",
            "example": 123,
            "description": "ID of the extract"
          },
          "vendorOrderAttachmentList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VendorOrderAttachment"
            }
          }
        },
        "title": "VendorOrderAttachmentsDto",
        "description": "Vendor order attachments related to the extract being downloaded.  Subject to includeVendorOrderAttachments set to true."
      }
    }
  }
}
```