POST api/vender/stockinglist

库存列表,data里填写品种id,全部为0

Request Information

URI Parameters

None.

Body Parameters

ApiPageOfInt32
NameDescriptionTypeAdditional information
data

integer

None.

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:
{
  "data": 1,
  "PageIndex": 2,
  "PageSize": 3
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseCountPageOfListOfApiCommonDisplayModel
NameDescriptionTypeAdditional information
totalCount

integer

None.

totalPrice

decimal number

None.

isLastPage

boolean

None.

totalItem

integer

None.

data

Collection of ApiCommonDisplayModel

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "totalCount": 1,
  "totalPrice": 2.0,
  "isLastPage": true,
  "totalItem": 4,
  "data": [
    {
      "Title": "sample string 1",
      "VenderName": "sample string 2",
      "ProductVarietyName": "sample string 3",
      "ProductClassName": "sample string 4",
      "TheTime": "2025-12-26T20:16:13.3885123+08:00",
      "Count": 5,
      "Price": 6.0
    },
    {
      "Title": "sample string 1",
      "VenderName": "sample string 2",
      "ProductVarietyName": "sample string 3",
      "ProductClassName": "sample string 4",
      "TheTime": "2025-12-26T20:16:13.3885123+08:00",
      "Count": 5,
      "Price": 6.0
    }
  ],
  "errcode": "sample string 5",
  "errmsg": "sample string 6"
}

application/xml, text/xml

Sample:
<ResponseCountPageOfArrayOfApiCommonDisplayModelUJ8Augit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 5</errcode>
  <errmsg>sample string 6</errmsg>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Response">
    <d2p1:ApiCommonDisplayModel>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:Price>6</d2p1:Price>
      <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
      <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
      <d2p1:TheTime>2025-12-26T20:16:13.3885123+08:00</d2p1:TheTime>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:VenderName>sample string 2</d2p1:VenderName>
    </d2p1:ApiCommonDisplayModel>
    <d2p1:ApiCommonDisplayModel>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:Price>6</d2p1:Price>
      <d2p1:ProductClassName>sample string 4</d2p1:ProductClassName>
      <d2p1:ProductVarietyName>sample string 3</d2p1:ProductVarietyName>
      <d2p1:TheTime>2025-12-26T20:16:13.3885123+08:00</d2p1:TheTime>
      <d2p1:Title>sample string 1</d2p1:Title>
      <d2p1:VenderName>sample string 2</d2p1:VenderName>
    </d2p1:ApiCommonDisplayModel>
  </data>
  <isLastPage>true</isLastPage>
  <totalItem>4</totalItem>
  <totalCount>1</totalCount>
  <totalPrice>2</totalPrice>
</ResponseCountPageOfArrayOfApiCommonDisplayModelUJ8Augit>