POST ActionApi/T_Inventory/SaveTInventory

保存虚拟库存

Request Information

URI Parameters

None.

Body Parameters

Collection of T_Inventory
NameDescriptionTypeAdditional information
id

串号

integer

None.

iStoreId

门店id

globally unique identifier

None.

iProuductId

商品id

integer

None.

iOpenInventory

期初库存

integer

None.

iCurrentInventory

当前库存

integer

None.

dtCreateTIme

建立日期

date

None.

dtStockTime

最近盘点日期

date

None.

iBrandId

品牌ID

integer

None.

iStoreHouseId

门店仓ID

integer

None.

iVirtualInventory

虚拟库存量

integer

None.

Remark

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "iStoreId": "695823bb-b575-487c-97b8-67a7f325d4aa",
    "iProuductId": 1,
    "iOpenInventory": 1,
    "iCurrentInventory": 1,
    "dtCreateTIme": "2023-03-23T16:36:59.3412429+08:00",
    "dtStockTime": "2023-03-23T16:36:59.3412429+08:00",
    "iBrandId": 1,
    "iStoreHouseId": 1,
    "iVirtualInventory": 1,
    "Remark": "sample string 2"
  },
  {
    "id": 1,
    "iStoreId": "695823bb-b575-487c-97b8-67a7f325d4aa",
    "iProuductId": 1,
    "iOpenInventory": 1,
    "iCurrentInventory": 1,
    "dtCreateTIme": "2023-03-23T16:36:59.3412429+08:00",
    "dtStockTime": "2023-03-23T16:36:59.3412429+08:00",
    "iBrandId": 1,
    "iStoreHouseId": 1,
    "iVirtualInventory": 1,
    "Remark": "sample string 2"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

保存虚拟库存

ReturnMsg
NameDescriptionTypeAdditional information
Msg

返回结果

string

None.

Code

响应编码

string

None.

success

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "Code": "sample string 2",
  "success": true
}