---
title: "Creates and executes export task"
method: POST
path: "/v1/customer/delivery_details/export/tasks"
tags: ["uncategorized"]
---

# Creates and executes export task

`POST /v1/customer/delivery_details/export/tasks`

## Query parameters

- `async` boolean

## Request body

- DeliveryDetailsExportRequestDto
  - `query` string — FIQL/RSQL query string
  - `sort` string — Sorts response by given fields
  - `page` integer — Request a specific page
  - `size` integer — Sets size of a page
  - `format` string — Export format (pdf, csv, xsl)
  - `from` string — Start date
  - `to` string — End date
  - `filters` string — Filters
  - `regionCodes` string — Region Codes
  - `search` string — Search

## Response `200`

OK

- DeliveryDetailsExportResponseDto
  - `query` string — FIQL/RSQL query string
  - `sort` string — Sorts response by given fields
  - `page` integer — Request a specific page
  - `size` integer — Sets size of a page
  - `format` string — Export format (pdf, csv, xsl)
  - `from` string — Start date
  - `to` string — End date
  - `filters` string — Filters
  - `regionCodes` string — Region Codes
  - `search` string — Search
  - `id` integer, required — id
  - `state` AsyncState
    - `done` boolean — task done?
    - `progress` integer — progress in percentage
    - `error` boolean — task error?
  - `links` Link[] — links
    - `rel` string
    - `href` string

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.dev/linkmobility/apis/untitled-api.md) · [All operations](https://skmtc.dev/linkmobility/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/linkmobility/untitled-api/revisions/db84f79799b9/schema)
