POST api/store/storagelist

分页获取当前仓库的入库记录

Request Information

URI Parameters

None.

Body Parameters

分页数量

ApiPageBase
NameDescriptionTypeAdditional information
PageIndex

页面起始项的索引,如{PageIndex=0,PageSize=10}:取0~9项(前十项);{PageIndex=10,PageSize=10}:取10~19项

integer

None.

PageSize

获取数量

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PageIndex": 1,
  "PageSize": 2
}

application/xml, text/xml

Sample:
<ApiPageBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Request">
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
</ApiPageBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfListOfStorageModel
NameDescriptionTypeAdditional information
data

Collection of StorageModel

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "Id": 1,
      "VenderName": "sample string 2",
      "ProductVarietyName": "sample string 3",
      "ProductClassName": "sample string 4",
      "Count": 5,
      "StorageTime": "2025-12-26T20:14:34.3170684+08:00"
    },
    {
      "Id": 1,
      "VenderName": "sample string 2",
      "ProductVarietyName": "sample string 3",
      "ProductClassName": "sample string 4",
      "Count": 5,
      "StorageTime": "2025-12-26T20:14:34.3170684+08:00"
    }
  ],
  "errcode": "sample string 1",
  "errmsg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfStorageModelFwZiAx9o 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>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModel.Api.Store">
    <d2p1:StorageModel>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
      <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
      <d2p1:StorageTime>2025-12-26T20:14:34.3170684+08:00</d2p1:StorageTime>
      <d2p1:VenderName>sample string 2</d2p1:VenderName>
    </d2p1:StorageModel>
    <d2p1:StorageModel>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
      <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
      <d2p1:StorageTime>2025-12-26T20:14:34.3170684+08:00</d2p1:StorageTime>
      <d2p1:VenderName>sample string 2</d2p1:VenderName>
    </d2p1:StorageModel>
  </data>
</ResponseOfArrayOfStorageModelFwZiAx9o>