---
title: "Creates and executes export task for account"
method: POST
path: "/v1/customer/delivery_details/accounts/{id}/export/tasks"
tags: ["uncategorized"]
---

# Creates and executes export task for account

`POST /v1/customer/delivery_details/accounts/{id}/export/tasks`

## Request

- Base URL: `https://apiv1.linkmobility.eu/api`
- URL: `https://apiv1.linkmobility.eu/api/v1/customer/delivery_details/accounts/{id}/export/tasks`
- Auth: none declared

## Path parameters

- `id` integer, required

## 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.dev/linkmobility/apis/untitled-api/revisions/b8670bbd80db?raw)
