---
title: "Derive Capacity"
method: POST
path: "/api/sw/capacity"
tags: ["standard-work"]
---

# Derive Capacity

`POST /api/sw/capacity`

## 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/sw/capacity`
- Auth: none declared

## Request body

- AbsCoreApiRoutersSwFormsCapacityRequest
  - `observation_id` integer, required
  - `part_no` string, required
  - `operating_time_per_shift_sec` number, required
  - `daily_demand` integer, required
  - `steps` CapacityStep[], required
    - `step_no` integer, required
    - `process_description` string, nullable
    - `machine_no` string, nullable
    - `manual_time_sec` number, nullable: 不给则取观测表该步的调整后时间
    - `machine_time_sec` number
    - `pieces_per_change` integer, nullable
    - `replacement_time_sec` number, 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)
