---
title: "POST /api/app/purchase-returns-query/download-csv"
method: POST
path: "/api/app/purchase-returns-query/download-csv"
tags: ["PurchaseReturnsQuery"]
---

# POST /api/app/purchase-returns-query/download-csv

`POST /api/app/purchase-returns-query/download-csv`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/app/purchase-returns-query/download-csv`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body

- KhaasFoodPurchaseReturnsDtosPurchaseReturnFilterInputDto
  - `maxResultCount` integer
  - `skipCount` integer
  - `sorting` string, nullable
  - `keyword` string, nullable
  - `warehouseId` string, uuid, nullable
  - `state` 0 | 1 | 2
  - `transferStage` integer
  - `startDate` string, date-time, nullable
  - `endDate` string, date-time, nullable

## Response `200`

Success

- string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

---

[API](https://skmtc.dev/khaasfood/apis/khaasfood-api.md) - [All operations](https://skmtc.dev/khaasfood/apis/khaasfood-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khaasfood/apis/khaasfood-api/revisions/149b6034bea9?raw)
