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": "9c144553-eb52-45dd-a976-564a9aa3447a",
    "iProuductId": 1,
    "iOpenInventory": 1,
    "iCurrentInventory": 1,
    "dtCreateTIme": "2021-10-28T13:36:36.1187162+08:00",
    "dtStockTime": "2021-10-28T13:36:36.1187162+08:00",
    "iBrandId": 1,
    "iStoreHouseId": 1,
    "iVirtualInventory": 1,
    "Remark": "sample string 2"
  },
  {
    "id": 1,
    "iStoreId": "9c144553-eb52-45dd-a976-564a9aa3447a",
    "iProuductId": 1,
    "iOpenInventory": 1,
    "iCurrentInventory": 1,
    "dtCreateTIme": "2021-10-28T13:36:36.1187162+08:00",
    "dtStockTime": "2021-10-28T13:36:36.1187162+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
}