个人项目
  1. 物料转换
个人项目
  • 🦊一分钟,了解 Apifox !
  • 示例项目
    • 查询宠物详情
      GET
    • 新建宠物信息
      POST
    • 修改宠物信息
      PUT
    • 删除宠物信息
      DELETE
    • 根据状态查找宠物列表
      GET
  • WMS
    • 物料转换
      • 创建物料转换单据
        POST
      • 执行物料转换
        POST
      • 设置物料转换单据状态
        POST
      • 获取物料转换单据
        GET
  • 基础服务
    • 仓库业务类型
      • 获取仓库业务类型-活动控件元素定义列表(不分页)
      • 获取仓库业务类型列表-分页
      • 根据业务类型Id和控件代码判断是否已存在
      • 获取仓库业务类型列表-不分页
      • 禁用/启用仓库业务类型
      • 新增仓库业务类型
      • 编辑仓库业务类型
      • 根据编码获取单个仓库业务类型
  • 物料转换
  • 入库上架
    • 新增入库上架执行单
      POST
    • 执行扫码
      POST
    • 变更条码货位
      POST
    • 扫码回退
      POST
    • 获取单据信息
      GET
    • 分页获取单据条码明细
      GET
    • 设置单据状态
      POST
  1. 物料转换

创建物料转换单据

POST
/WmsMaterialConversion/add

请求参数

Body 参数application/json
businessCategoryId
integer  | null 
仓库业务类型ID
必需
applyReason
string  | null 
申请原因
必需
accountingDate
string  | null 
记账日期
必需
onhandId
integer  | null 
库存ID
必需
inStorageWarehouseId
integer  | null 
转入库仓库ID
必需
inStorageDistrictId
integer  | null 
转入库货区ID
必需
inStorageLocationId
integer  | null 
转入库货位ID
必需
transitionMitemId
integer  | null 
转换后物料ID
可选
transitionInvBatchNo
string  | null 
转换后库存批次
可选
默认值:
*
freeItem1
string  | null 
自由项1
可选
默认值:
*
freeItem2
string  | null 
自由项2
可选
默认值:
*
freeItem3
string  | null 
自由项3
可选
默认值:
*
freeItem4
string  | null 
自由项4
可选
默认值:
*
freeItem5
string  | null 
自由项5
可选
默认值:
*
freeItem6
string  | null 
自由项6
可选
默认值:
*
freeItem7
string  | null 
自由项7
可选
默认值:
*
freeItem8
string  | null 
自由项8
可选
默认值:
*
remark
string  | null 
备注
可选
示例
{
    "businessCategoryId": 0,
    "applyReason": "string",
    "accountingDate": "string",
    "onhandId": 0,
    "inStorageWarehouseId": 0,
    "inStorageDistrictId": 0,
    "inStorageLocationId": 0,
    "transitionMitemId": 0,
    "transitionInvBatchNo": "*",
    "freeItem1": "*",
    "freeItem2": "*",
    "freeItem3": "*",
    "freeItem4": "*",
    "freeItem5": "*",
    "freeItem6": "*",
    "freeItem7": "*",
    "freeItem8": "*",
    "remark": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/WmsMaterialConversion/add' \
--header 'Content-Type: application/json' \
--data-raw '{
    "businessCategoryId": 0,
    "applyReason": "string",
    "accountingDate": "string",
    "onhandId": 0,
    "inStorageWarehouseId": 0,
    "inStorageDistrictId": 0,
    "inStorageLocationId": 0,
    "transitionMitemId": 0,
    "transitionInvBatchNo": "*",
    "freeItem1": "*",
    "freeItem2": "*",
    "freeItem3": "*",
    "freeItem4": "*",
    "freeItem5": "*",
    "freeItem6": "*",
    "freeItem7": "*",
    "freeItem8": "*",
    "remark": "string"
}'

返回响应

🟢200成功
application/json
Body
code
string  | null 
可选
响应码,成功0,其他均为失败
message
string  | null 
响应描述信息
可选
data
object (MaterialConversionAddRespDTO) 
响应结果
可选
applyBillId
integer  | null 
申请单ID
必需
applyBillNo
string  | null 
单据号
必需
示例
{
  "code": "",
  "message": "",
  "data": {
    "applyBillId": 0,
    "applyBillNo": ""
  }
}
上一页
根据状态查找宠物列表
下一页
执行物料转换
Built with