ModernWMS 2.0
  1. Stockprocess
ModernWMS 2.0
  • Account
    • login
      POST
    • get a new token
      POST
    • /hello-world
      POST
  • Category
    • get all records
      GET
    • get a record by id
      GET
    • add a new record
      POST
    • update a record
      PUT
    • delete a record
      DELETE
  • Company
    • Get all records
      GET
    • get a record by id
      GET
    • add a new record
      POST
    • update a record
      PUT
    • delete a record
      DELETE
  • Customer
    • page search
      POST
    • Get all records
      GET
    • get a record by id
      GET
    • add a new record
      POST
    • update a record
      PUT
    • delete a record
      DELETE
    • import customers by excel
      POST
  • Freightfee
    • page search
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
    • import freight fee by excel
  • Goodslocation
    • get select items
    • page search
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
  • Goodsowner
    • page search
    • Get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
    • import goodsowners by excel
  • Rolemenu
    • Get menu's authority by user role id
    • get all records
    • Get all menus
    • get a record by id
    • add a new record
    • update a record
    • delete a record
  • Spu
    • page search
    • get a record by id
    • add a new record
    • update a record
    • delete a record
    • get sku info by sku_id
    • get sku info by bar_code
    • add or update sku_safety_stock
  • Supplier
    • page search
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
    • import suppliers by excel
  • User
    • get select items
    • page search
    • Get all records
    • Get a record by id
    • add a new record
    • update a record
    • delete a record
    • register a new tenant
    • import users by excel
    • reset password
    • change password
  • Userrole
    • save all records
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
  • Warehouse
    • get select items
    • page search
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
    • import warehouses by excel
  • Warehousearea
    • get warehousearea select items by warehouse_id
    • page search
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
  • Action_log
    • page search
  • Asn
    • Arrival list
    • get Arrival list
    • add a new record
    • update record
    • delete a record
    • page search, sqlTitle input asn_status:0 ~ 4
    • get a record by id
    • add a new record
    • update a record
    • delete a record
    • Bulk modify Goodsowner
    • Confirm Delivery change the asn_status from 0 to 1
    • Cancel confirm, change asn_status 1 to 0
    • Unload change the asn_status from 1 to 2
    • Cancel unload change the asn_status from 2 to 1
    • sorting, add a new asnsort record and update asn sorted_qty
    • get asnsorts list by asn_id
    • update or delete asnsorts data
    • Sorted change the asn_status from 2 to 3
    • Cancel sorted change the asn_status from 3 to 2
    • get pending putaway data by asn_id
    • PutAway
  • Dispatchlist
    • page search
    • advanced dispatch order page search
    • add a new record
    • update dispatchlist with same dispatch_no
    • delete a record
    • get dispatchlist by dispatch_no
    • get Dispatchlist details with available stock
    • get pick list by dispatch_id
    • Confirm orders and create dispatchpicklist
    • confirm dispatchpicklist picked by dispatch_no
    • package dispatchpicklist
    • weight dispatchpicklist
    • dispatchpicklist outbound delivery
    • set dispatchlist freightfee
    • sign for arrival
    • cancel order opration
    • cancel dispatchlist detail opration
  • PrintSolution
    • page search
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
    • get a record by path
  • Stock
    • stock details page search
    • safety stock page search
    • location stock page search
    • page search select
    • sku page search select
    • get stock infomation by phone
    • delivery statistic
  • Stockadjust
    • page search
  • Stockfreeze
    • page search
    • get all records
    • get a record by id
    • add a new record
    • update a record
    • delete a record
  • Stockmove
    • page search
    • get all records
    • get a record by id
    • add a new record
    • confirm move
    • delete a record
  • Stockprocess
    • page search
      POST
    • get all records
      GET
    • get a record by id
      GET
    • add a new record
      POST
    • update a record
      PUT
    • delete a record
      DELETE
    • confirm processing
      PUT
    • confirm adjustment
      PUT
  • Stocktaking
    • page search
    • get a record by id
    • add a new record
    • Confirm a record
    • delete a record
    • confrim a record and change stock and add to stockadjust
  1. Stockprocess

update a record

PUT
/stockprocess
Stockprocess

请求参数

Body 参数application/json
stockprocess viewModel
id
integer <int32>
id
可选
job_code
string  | null 
job_code
可选
<= 32 字符
job_type
boolean 
job_type
可选
process_status
boolean 
可选
process_status
processor
string  | null 
processor
可选
<= 64 字符
process_time
string <date-time>
可选
process_time
creator
string  | null 
creator
可选
<= 64 字符
create_time
string <date-time>
可选
create_time
last_update_time
string <date-time>
可选
last_update_time
tenant_id
integer <int64>
tenant_id
可选
detailList
array[object (StockprocessdetailViewModel) {16}]  | null 
可选
detail table
id
integer <int32>
id
可选
stock_process_id
integer <int32>
可选
stock_process_id
sku_id
integer <int32>
sku_id
可选
goods_owner_id
integer <int32>
可选
goods_owner_id
goods_location_id
integer <int32>
可选
goods_location_id
qty
integer <int32>
qty
可选
last_update_time
string <date-time>
可选
last_update_time
tenant_id
integer <int64>
tenant_id
可选
is_source
boolean 
is_source
可选
spu_code
string  | null 
spu_code
可选
spu_name
string  | null 
spu_name
可选
sku_code
string  | null 
sku_code
可选
unit
string  | null 
unit
可选
is_update_stock
boolean 
可选
is_update_stock
location_name
string  | null 
可选
goods location name
series_number
string  | null 
可选
series_number
<= 64 字符
示例
{
    "id": 0,
    "job_code": "string",
    "job_type": true,
    "process_status": true,
    "processor": "string",
    "process_time": "2019-08-24T14:15:22Z",
    "creator": "string",
    "create_time": "2019-08-24T14:15:22Z",
    "last_update_time": "2019-08-24T14:15:22Z",
    "tenant_id": 0,
    "detailList": [
        {
            "id": 0,
            "stock_process_id": 0,
            "sku_id": 0,
            "goods_owner_id": 0,
            "goods_location_id": 0,
            "qty": 0,
            "last_update_time": "2019-08-24T14:15:22Z",
            "tenant_id": 0,
            "is_source": true,
            "spu_code": "string",
            "spu_name": "string",
            "sku_code": "string",
            "unit": "string",
            "is_update_stock": true,
            "location_name": "string",
            "series_number": "string"
        }
    ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/stockprocess' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 0,
    "job_code": "string",
    "job_type": true,
    "process_status": true,
    "processor": "string",
    "process_time": "2019-08-24T14:15:22Z",
    "creator": "string",
    "create_time": "2019-08-24T14:15:22Z",
    "last_update_time": "2019-08-24T14:15:22Z",
    "tenant_id": 0,
    "detailList": [
        {
            "id": 0,
            "stock_process_id": 0,
            "sku_id": 0,
            "goods_owner_id": 0,
            "goods_location_id": 0,
            "qty": 0,
            "last_update_time": "2019-08-24T14:15:22Z",
            "tenant_id": 0,
            "is_source": true,
            "spu_code": "string",
            "spu_name": "string",
            "sku_code": "string",
            "unit": "string",
            "is_update_stock": true,
            "location_name": "string",
            "series_number": "string"
        }
    ]
}'

返回响应

🟢200Success
application/json
Body
http response viewmodel
isSuccess
boolean 
可选
is request success
code
integer <int32>
可选
status code
errorMessage
string  | null 
可选
error message
data
boolean 
data
可选
示例
{
    "isSuccess": true,
    "code": 0,
    "errorMessage": "string",
    "data": true
}
修改于 2023-10-11 06:40:59
上一页
add a new record
下一页
delete a record
Built with