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

执行扫码

POST
/PutOnShelves/scan

请求参数

Body 参数application/json
billId
integer  | null 
单据ID
必需
onhandId
integer  | null 
可选
来源库存ID(无码时必填)
inStorageWarehouseId
integer  | null 
入库仓库ID
必需
inStorageDistrictId
integer  | null 
入库货区ID
必需
inStorageLocationId
integer  | null 
入库货位ID
必需
barcode
string  | null 
可选
条码号(无码时为空)
qty
number  | null 
数量(无码时必填)
可选
mitemId
integer  | null 
可选
物料ID(按明细扫码时必填)
ingredientsUom
string  | null 
辅单位
可选
ingredientsUomName
string  | null 
辅单位名称
可选
ingredientsQty
number  | null 
辅数量
可选
acton
integer  | null 
可选
行为(-1:删除;0:新增)
默认值:
0
示例
{
    "billId": 0,
    "onhandId": 0,
    "inStorageWarehouseId": 0,
    "inStorageDistrictId": 0,
    "inStorageLocationId": 0,
    "barcode": "string",
    "qty": 0,
    "mitemId": 0,
    "ingredientsUom": "string",
    "ingredientsUomName": "string",
    "ingredientsQty": 0,
    "acton": "0"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/PutOnShelves/scan' \
--header 'Content-Type: application/json' \
--data-raw '{
    "billId": 0,
    "onhandId": 0,
    "inStorageWarehouseId": 0,
    "inStorageDistrictId": 0,
    "inStorageLocationId": 0,
    "barcode": "string",
    "qty": 0,
    "mitemId": 0,
    "ingredientsUom": "string",
    "ingredientsUomName": "string",
    "ingredientsQty": 0,
    "acton": "0"
}'

返回响应

🟢200成功
application/json
Body
code
string  | null 
可选
响应码,成功0,其他均为失败
message
string  | null 
响应描述信息
可选
data
object (WmsBarcodeScanCommonResDTO) 
响应结果
可选
type
integer  | null 
可选
1、申请单;2、货位;3、标签
result
object (Object) 
结果集
可选
示例
{
  "code": "",
  "message": "",
  "data": {
    "type": 0,
    "result": {}
  }
}
上一页
新增入库上架执行单
下一页
变更条码货位
Built with