---
title: "Import a file with the order importer."
method: POST
path: "/order_importer/import_file"
tags: ["Orders|Order importer"]
---

# Import a file with the order importer.

`POST /order_importer/import_file`

This method allows you to upload a base64 encoded file. You need to provide the `filename` including the filetype
and the file as base64 encoded string as `data`.

The order importer in geoCapture is a feature that facilitates the efficient import of orders into the system.
This tool has been optimized to facilitate the addition of multiple orders, including service requests and
delivery tasks. This is achieved by its capability to import from a range of file formats such as PDFs, CSVs,
Excel and .eml, thus reducing administrative tasks and promoting efficiency. This eliminates the need for manual
entry, resulting in significant time and effort savings and improved data accuracy. For instance, a business can
utilize the order importer to rapidly upload a week's worth of delivery orders, seamlessly integrating them into
the geoCapture system for instant processing and scheduling. The orders will be imported using the regulations
specified in an order importer definition that These rules can be adjusted within the geoCapture application. As
a response, you will receive a `jobId`. The job status can be requested at the Miscellaneous|Job endpoint.

## Request body

- StandardOrderImporterImportFileRequest
  - `filename` string — Filename with file extension (required)
  - `data` string — base64 encoded File (required)

## Response `200`

Success Response:

- StandardOrderImporterImportFileResponse
  - `id` integer — The internal ID of the import job.

---

[API](https://skmtc.net/geocapture/apis/geocapture-api.md) · [All operations](https://skmtc.net/geocapture/apis/geocapture-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geocapture/geocapture-api/versions/869b05603541/schema)
