---
title: "Get a DM Export File"
method: POST
path: "/datamart.fetchexportfile/{fileName}"
tags: ["Data Manager"]
---

# Get a DM Export File

`POST /datamart.fetchexportfile/{fileName}`

## Request

- Base URL: `https://companynode.pricefx.com/pricefx/companypartition`
- URL: `https://companynode.pricefx.com/pricefx/companypartition/datamart.fetchexportfile/{fileName}`
- Auth: one of:
  - HTTP basic
  - API key in header `X-PriceFx-jwt`
- TypeScript: <https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/docs/datamart.fetchexportfile/:fileName/post.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the file created using `/datamart.export` endpoint. Get the file name via `datamart.getactionstatus/{actionUUID}` endpoint.

## Response `200`

OK

---

[API](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api.md) - [All operations](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/revisions/23d941b00ac0?raw)
