---
# System prepended metadata

title: 進出貨管理API
tags: [API Document]

---

# 進出貨管理API
指派：Linda
## API文件
進出貨
1. 新增進出貨資料 InAndOut/InsertAsync
* Rrequest Parameter
```json
{
    "date": "2024-01-01",
    "p_id": "2024_01_0001",
    "spec_id": 1,
    "action": 1, //1:IN, 2:Out, 3:Defective
    "count": 5,
}
```
* Response Json
```json
{
    "status": "success",
    "msg": "新增進出貨資料成功!",
    "rtn_page": "index",
}
```