确认领料出库任务
POST
/api/open/v3/inventory/task/picking/materialTask/confirm
请求参数
Body 参数application/json
body
object (InventoryMaterialTaskConfirmV3Params)
必需
records
array[object (InventoryMaterialTaskRecord) {8}]
出入库明细
comment
string
备注信息
<= 150 字符
示例
{
"body": {
"records": [
{
"code": "IC-CHIP-7NM",
"warehouseCode": "WH-CHIP-N2",
"locationCode": "CRYO-BIN-07",
"batchNumber": "BATCH-202410-7NM-01",
"snNumber": "SN-CHIP-202410-0001/SN-CHIP-202410-0128",
"quantity": 1,
"assistQuantity": 1,
"comment": "7nm EUV工艺芯片 | 氦气环境运输 | 静电屏蔽包装"
},
{
"code": "PCB-6G-HDI",
"warehouseCode": "WH-PCB-V3",
"locationCode": "DRY-BIN-12",
"batchNumber": "PCB-LOT-202410-HDI",
"quantity": 800,
"assistQuantity": 24,
"comment": "6层任意阶HDI板 | 阻抗控制±8% | 真空包装"
},
{
"code": "THERMAL-PAD",
"warehouseCode": "WH-CHEM-TH",
"locationCode": "COOL-BIN-05",
"batchNumber": "TP-LOT-202410-03",
"snNumber": "SN-TP-202410-0001~0010",
"quantity": 1,
"assistQuantity": 1,
"comment": "相变材料(PCM)| 导热系数8W/mK | 冷藏运输(0-5℃)"
}
],
"comment": "小米14 Ultra主板生产备料 | 工单:WO-202410-8801 | AGV路径:PATH-7N"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sit.newcoretech.com/api/open/v3/inventory/task/picking/materialTask/confirm' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"records": [
{
"code": "IC-CHIP-7NM",
"warehouseCode": "WH-CHIP-N2",
"locationCode": "CRYO-BIN-07",
"batchNumber": "BATCH-202410-7NM-01",
"snNumber": "SN-CHIP-202410-0001/SN-CHIP-202410-0128",
"quantity": 1,
"assistQuantity": 1,
"comment": "7nm EUV工艺芯片 | 氦气环境运输 | 静电屏蔽包装"
},
{
"code": "PCB-6G-HDI",
"warehouseCode": "WH-PCB-V3",
"locationCode": "DRY-BIN-12",
"batchNumber": "PCB-LOT-202410-HDI",
"quantity": 800,
"assistQuantity": 24,
"comment": "6层任意阶HDI板 | 阻抗控制±8% | 真空包装"
},
{
"code": "THERMAL-PAD",
"warehouseCode": "WH-CHEM-TH",
"locationCode": "COOL-BIN-05",
"batchNumber": "TP-LOT-202410-03",
"snNumber": "SN-TP-202410-0001~0010",
"quantity": 1,
"assistQuantity": 1,
"comment": "相变材料(PCM)| 导热系数8W/mK | 冷藏运输(0-5℃)"
}
],
"comment": "小米14 Ultra主板生产备料 | 工单:WO-202410-8801 | AGV路径:PATH-7N"
}
}'
返回响应
🟢200成功
application/json
Body
com.xinheyun.model.response.BaseResponse
code
integer
可选
message
string
可选
示例
{
"code": 0,
"message": ""
}