---
title: "POST /api/StockQuery/ProductionStocks"
method: POST
path: "/api/StockQuery/ProductionStocks"
tags: ["StockQuery"]
---

# POST /api/StockQuery/ProductionStocks

`POST /api/StockQuery/ProductionStocks`

## 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/StockQuery/ProductionStocks`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Request body

- KhaasFoodStocksDtosStockFilterInputDto
  - `maxResultCount` integer
  - `skipCount` integer
  - `sorting` string, nullable
  - `inStock` number, double
  - `available` number, double
  - `booked` number, double
  - `expectedAvaiable` number, double
  - `cost` number, double
  - `productDetailId` string, nullable
  - `warehouseType` 0 | 1 | 2 | 3 | 4 | 5 | 6
  - `warehouseId` string, uuid, nullable
  - `isRawProduct` boolean
  - `type` string, nullable
  - `keyword` string, nullable
  - `isGetAll` boolean

## Response `200`

Success

- VoloAbpApplicationDtosPagedResultDto1KhaasFoodStocksDtosFinishStockDtoKhaasFoodApplicationContractsVersion1000CultureNeutralPublicKeyTokenNull
  - `items` KhaasFoodStocksDtosFinishStockDto[], nullable
    - `warehouseId` string, uuid, nullable
    - `warehouseName` string, nullable
    - `stockIn` number, double
    - `stockOut` number, double
    - `onHand` number, double
    - `productDetailId` string, uuid, nullable
    - `productDetailName` string, nullable
  - `totalCount` integer

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