POST api/store/editandreceive

(约仓)修改并确认收货,货物与预约数量不一致时

Request Information

URI Parameters

None.

Body Parameters

VenderStockingRequestResponseModel
NameDescriptionTypeAdditional information
Id

约仓Id

integer

None.

RequestNo

订单编号

string

None.

VenderId

来源基地(基地)

string

None.

VenderName

基地名字

string

None.

StockTime

入库时间

date

None.

SaveDayCount

储存时间(天)

integer

None.

TakerPhone

取货人/菜车手电话

string

None.

VenderStockingProducts

入库商品清单

Collection of VenderStockingProductResponseModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RequestNo": "sample string 2",
  "VenderId": "sample string 3",
  "VenderName": "sample string 4",
  "StockTime": "2025-12-26T20:11:36.7784163+08:00",
  "SaveDayCount": 6,
  "TakerPhone": "sample string 7",
  "VenderStockingProducts": [
    {
      "Id": 1,
      "VarietyId": 2,
      "VarietyName": "sample string 3",
      "ProductClassId": 4,
      "ProductClassName": "sample string 5",
      "Count": 6,
      "Repository": {
        "Name": "sample string 1",
        "Address": "sample string 2",
        "Introduction": "sample string 3"
      },
      "ProductState": 0
    },
    {
      "Id": 1,
      "VarietyId": 2,
      "VarietyName": "sample string 3",
      "ProductClassId": 4,
      "ProductClassName": "sample string 5",
      "Count": 6,
      "Repository": {
        "Name": "sample string 1",
        "Address": "sample string 2",
        "Introduction": "sample string 3"
      },
      "ProductState": 0
    }
  ]
}

application/xml, text/xml

Sample:
<VenderStockingRequestResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel.Response.Vender">
  <Id>1</Id>
  <RequestNo>sample string 2</RequestNo>
  <SaveDayCount>6</SaveDayCount>
  <StockTime>2025-12-26T20:11:36.7784163+08:00</StockTime>
  <TakerPhone>sample string 7</TakerPhone>
  <VenderId>sample string 3</VenderId>
  <VenderName>sample string 4</VenderName>
  <VenderStockingProducts>
    <VenderStockingProductResponseModel>
      <Count>6</Count>
      <Id>1</Id>
      <ProductClassId>4</ProductClassId>
      <ProductClassName>sample string 5</ProductClassName>
      <ProductState>Requested</ProductState>
      <Repository>
        <Address>sample string 2</Address>
        <Introduction>sample string 3</Introduction>
        <Name>sample string 1</Name>
      </Repository>
      <VarietyId>2</VarietyId>
      <VarietyName>sample string 3</VarietyName>
    </VenderStockingProductResponseModel>
    <VenderStockingProductResponseModel>
      <Count>6</Count>
      <Id>1</Id>
      <ProductClassId>4</ProductClassId>
      <ProductClassName>sample string 5</ProductClassName>
      <ProductState>Requested</ProductState>
      <Repository>
        <Address>sample string 2</Address>
        <Introduction>sample string 3</Introduction>
        <Name>sample string 1</Name>
      </Repository>
      <VarietyId>2</VarietyId>
      <VarietyName>sample string 3</VarietyName>
    </VenderStockingProductResponseModel>
  </VenderStockingProducts>
</VenderStockingRequestResponseModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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