---
title: "Kanban"
method: POST
path: "/api/pull/kanban"
tags: ["pull"]
---

# Kanban

`POST /api/pull/kanban`

## Request

- Base URL: `https://www.ucai.net` (the document declares no server; this is the origin it was published from)
- URL: `https://www.ucai.net/api/pull/kanban`
- Auth: none declared

按指定口径算看板数量。

## Request body

- KanbanRequest
  - `daily_demand` number, required: 日需求。没有它就不要推行看板
  - `lead_time_days` number, required
  - `container_qty` number, required
  - `safety_days` number
  - `safety_factor` number
  - `signal_on_empty` boolean: 箱内用完才发信号（影响教材12 口径的 +1）
  - `scrap_rate` number: 不良率：用量 = 需求 ×(1+不良率)
  - `formula` string, nullable: 不给则用默认口径

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ucai/apis/abs-core.md) · [All operations](https://skmtc.dev/ucai/apis/abs-core/llms.txt) · [OpenAPI document](https://skmtc.dev/ucai/apis/abs-core/revisions/1502a61b5620?raw)
