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

编辑仓库业务类型

POST
/businessCategory/edit

请求参数

Body 参数application/json
id
integer  | null 
数据行 id 号
可选
erpTransactionCode
string  | null 
ERP 事务代码
可选
reportTitle
string  | null 
可选
单据标题(用于在制单时打印在单上的标题。)
state
boolean  | null 
必需
有效性(1-有效,0-无效,null-全部)
sourceBusinessCategoryId
integer  | null 
可选
来源申请单类型 ID
businessCategoryUse
string  | null 
可选
用途分组 来自系统参数【BUSINESS_CATEGORY_USE_TO】
erpTransactionCodeTwo
string  | null 
ERP 事务代码2
可选
businessCategoryErpPort
string  | null 
必需
是否同步调用ERP接口:0:否,1:是
businessCategoryApi
string  | null 
API
可选
businessCategoryControlReqDTOS
array[object (BusinessCategoryControlReqDTO) {6}]  | null 
活动控件元素定义
可选
id
integer  | null 
数据行 id 号
可选
businessCategoryId
integer  | null 
业务类型ID
必需
controlCode
string  | null 
控件代码
必需
controlName
string  | null 
控件名称
必需
isRequired
boolean  | null 
是否必填
必需
remark
string  | null 
备注
可选
delBusinessCategoryControlReqDTOS
array[object (BusinessCategoryControlReqDTO) {6}]  | null 
可选
活动控件元素定义(删除标记数组)
id
integer  | null 
数据行 id 号
可选
businessCategoryId
integer  | null 
业务类型ID
必需
controlCode
string  | null 
控件代码
必需
controlName
string  | null 
控件名称
必需
isRequired
boolean  | null 
是否必填
必需
remark
string  | null 
备注
可选
示例
{
    "id": 0,
    "erpTransactionCode": "string",
    "reportTitle": "string",
    "state": true,
    "sourceBusinessCategoryId": 0,
    "businessCategoryUse": "string",
    "erpTransactionCodeTwo": "string",
    "businessCategoryErpPort": "string",
    "businessCategoryApi": "string",
    "businessCategoryControlReqDTOS": [
        {
            "id": 0,
            "businessCategoryId": 0,
            "controlCode": "string",
            "controlName": "string",
            "isRequired": true,
            "remark": "string"
        }
    ],
    "delBusinessCategoryControlReqDTOS": [
        {
            "id": 0,
            "businessCategoryId": 0,
            "controlCode": "string",
            "controlName": "string",
            "isRequired": true,
            "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 '/businessCategory/edit' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 0,
    "erpTransactionCode": "string",
    "reportTitle": "string",
    "state": true,
    "sourceBusinessCategoryId": 0,
    "businessCategoryUse": "string",
    "erpTransactionCodeTwo": "string",
    "businessCategoryErpPort": "string",
    "businessCategoryApi": "string",
    "businessCategoryControlReqDTOS": [
        {
            "id": 0,
            "businessCategoryId": 0,
            "controlCode": "string",
            "controlName": "string",
            "isRequired": true,
            "remark": "string"
        }
    ],
    "delBusinessCategoryControlReqDTOS": [
        {
            "id": 0,
            "businessCategoryId": 0,
            "controlCode": "string",
            "controlName": "string",
            "isRequired": true,
            "remark": "string"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
code
string  | null 
可选
响应码,成功0,其他均为失败
message
string  | null 
响应描述信息
可选
data
boolean  | null 
响应结果
可选
示例
{
  "code": "",
  "message": "",
  "data": false
}
上一页
新增仓库业务类型
下一页
根据编码获取单个仓库业务类型
Built with