POST api/vender/stockingrequest/Request

基地预约入库申请.不填写基地信息Vender参数

Request Information

URI Parameters

None.

Body Parameters

VenderStockingRequestModel
NameDescriptionTypeAdditional information
Vender

来源基地(基地)

string

None.

StockTime

入库时间

date

None.

VenderStockingProducts

入库商品清单

Collection of VenderStockingProductModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Vender": "sample string 1",
  "StockTime": "2025-12-26T20:11:57.0301122+08:00",
  "VenderStockingProducts": [
    {
      "ProductVarietyId": 1,
      "ProductClassId": 2,
      "Count": 3
    },
    {
      "ProductVarietyId": 1,
      "ProductClassId": 2,
      "Count": 3
    }
  ]
}

application/xml, text/xml

Sample:
<VenderStockingRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel">
  <StockTime>2025-12-26T20:11:57.0301122+08:00</StockTime>
  <Vender>sample string 1</Vender>
  <VenderStockingProducts>
    <VenderStockingProductModel>
      <Count>3</Count>
      <ProductClassId>2</ProductClassId>
      <ProductVarietyId>1</ProductVarietyId>
    </VenderStockingProductModel>
    <VenderStockingProductModel>
      <Count>3</Count>
      <ProductClassId>2</ProductClassId>
      <ProductVarietyId>1</ProductVarietyId>
    </VenderStockingProductModel>
  </VenderStockingProducts>
</VenderStockingRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

返回ResponseBase

ResponseOfInt32
NameDescriptionTypeAdditional information
data

integer

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": 1,
  "errcode": "sample string 2",
  "errmsg": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 2</errcode>
  <errmsg>sample string 3</errmsg>
  <data>1</data>
</ResponseOfint>