---
title: "Export an Excel File"
method: POST
path: "/quotemanager.fetchxls/{uniqueName}"
tags: ["Quotes"]
---

# Export an Excel File

`POST /quotemanager.fetchxls/{uniqueName}`

## Request

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

Downloads the XLSX file of the specified quote.

Required Permission| Roles with the Required Permission |
---------|----------|
 QUOTE_FETCHFILTERED | View Quoting (`PRICESHOP_RO`), Investigate for Support (`SUPPORT`), Administer Plasma (`PLASMA`), Edit Quoting (`PRICESHOP_EDIT`), Administer Quoting (`PRICESHOP_QUOTEADMIN`), Manage Quoting (`PRICESHOP`), Manage Workflow Logics (`WF_BUILDER`)

## Query parameters

- `templateName` string
- `output` 'json' | 'xls' | 'csv' | 'pdf'

## Response `200`

OK - returns a file data.

---

[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)
