{
"body": {
"autoAccess": true,
"code": "TRN-202410-001",
"department": "Logistics Dept",
"approveProcessCode": "TRN-APPROVE-01",
"warehouseCodeIn": "WH-SH-NEW",
"inLocationCode": "A-01-01",
"warehouseCodeOut": "WH-SH-OLD",
"outLocationCode": "C-03-02",
"comments": "仓库扩容搬迁 | 批次重组优化",
"businessType": "WAREHOUSE_UPGRADE",
"enterprise": {
"type": "SUPPLIER",
"code": "INT-SH-2024"
},
"customizeFields": {
"dangerousGoodsCert": "DG-202410-LI",
"logisticsProvider": "SF-EXPRESS"
},
"details": [
{
"itemCode": "IC-CHIP-5NM",
"quantity": 1000,
"assistQuantity": 10,
"batchNumber": "BATCH-202409-01",
"outWarehouseCode": "WH-SH-OLD",
"outLocationCode": "C-03-02",
"inWarehouseCode": "WH-SH-NEW",
"inLocationCode": "A-01-01",
"inQuality": "QUALIFIED",
"outQuality": "QUALIFIED",
"configurableSpecs": [
{
"name": "MSL等级",
"code": "MSL_LEVEL",
"value": "2A"
}
],
"comment": "防静电包装运输",
"extendedFieldList": [
{
"name": "温控要求",
"value": "15-25℃"
}
]
}
]
}
}
curl --location --request POST '/api/open/v3/inventory/requisition/transfer/create' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"autoAccess": true,
"code": "TRN-202410-001",
"department": "Logistics Dept",
"approveProcessCode": "TRN-APPROVE-01",
"warehouseCodeIn": "WH-SH-NEW",
"inLocationCode": "A-01-01",
"warehouseCodeOut": "WH-SH-OLD",
"outLocationCode": "C-03-02",
"comments": "仓库扩容搬迁 | 批次重组优化",
"businessType": "WAREHOUSE_UPGRADE",
"enterprise": {
"type": "SUPPLIER",
"code": "INT-SH-2024"
},
"customizeFields": {
"dangerousGoodsCert": "DG-202410-LI",
"logisticsProvider": "SF-EXPRESS"
},
"details": [
{
"itemCode": "IC-CHIP-5NM",
"quantity": 1000,
"assistQuantity": 10,
"batchNumber": "BATCH-202409-01",
"outWarehouseCode": "WH-SH-OLD",
"outLocationCode": "C-03-02",
"inWarehouseCode": "WH-SH-NEW",
"inLocationCode": "A-01-01",
"inQuality": "QUALIFIED",
"outQuality": "QUALIFIED",
"configurableSpecs": [
{
"name": "MSL等级",
"code": "MSL_LEVEL",
"value": "2A"
}
],
"comment": "防静电包装运输",
"extendedFieldList": [
{
"name": "温控要求",
"value": "15-25℃"
}
]
}
]
}
}'
{
"code": 0,
"message": ""
}