POST api/WareHouse/WareHouseList

Request Information

URI Parameters

None.

Body Parameters

ReadDTOOfReadWareHouse
NameDescriptionTypeAdditional information
data

ReadWareHouse

None.

PageSize

integer

None.

PageIndex

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "data": {
    "ware_name": "sample string 1",
    "ware_address": "sample string 2",
    "statue": "sample string 3"
  },
  "PageSize": 1,
  "PageIndex": 2
}

application/xml, text/xml

Sample:
<ReadDTOOfReadWareHousecc8wrA37 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ReadModels">
    <d2p1:statue>sample string 3</d2p1:statue>
    <d2p1:ware_address>sample string 2</d2p1:ware_address>
    <d2p1:ware_name>sample string 1</d2p1:ware_name>
  </data>
</ReadDTOOfReadWareHousecc8wrA37>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultDTOOfListOfResult_WareHouse
NameDescriptionTypeAdditional information
code

integer

None.

data

Collection of Result_WareHouse

None.

msg

string

None.

Exception

Object

None.

Exception1

Object

None.

count

integer

None.

PageSize

integer

None.

PageIndex

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "data": [
    {
      "ware_code": 1,
      "ware_name": "sample string 2",
      "ware_address": "sample string 3",
      "statue": 4,
      "statueName": "sample string 5",
      "remark": "sample string 6",
      "stock_min": 7.0
    },
    {
      "ware_code": 1,
      "ware_name": "sample string 2",
      "ware_address": "sample string 3",
      "statue": 4,
      "statueName": "sample string 5",
      "remark": "sample string 6",
      "stock_min": 7.0
    }
  ],
  "msg": "sample string 2",
  "Exception": {},
  "Exception1": {},
  "count": 5,
  "PageSize": 6,
  "PageIndex": 7
}

application/xml, text/xml

Sample:
<ResultDTOOfArrayOfResult_WareHouse3G4q1gKH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
  <Exception />
  <Exception1 />
  <PageIndex>7</PageIndex>
  <PageSize>6</PageSize>
  <code>1</code>
  <count>5</count>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ResultModels">
    <d2p1:Result_WareHouse>
      <d2p1:remark>sample string 6</d2p1:remark>
      <d2p1:statue>4</d2p1:statue>
      <d2p1:statueName>sample string 5</d2p1:statueName>
      <d2p1:stock_min>7</d2p1:stock_min>
      <d2p1:ware_address>sample string 3</d2p1:ware_address>
      <d2p1:ware_code>1</d2p1:ware_code>
      <d2p1:ware_name>sample string 2</d2p1:ware_name>
    </d2p1:Result_WareHouse>
    <d2p1:Result_WareHouse>
      <d2p1:remark>sample string 6</d2p1:remark>
      <d2p1:statue>4</d2p1:statue>
      <d2p1:statueName>sample string 5</d2p1:statueName>
      <d2p1:stock_min>7</d2p1:stock_min>
      <d2p1:ware_address>sample string 3</d2p1:ware_address>
      <d2p1:ware_code>1</d2p1:ware_code>
      <d2p1:ware_name>sample string 2</d2p1:ware_name>
    </d2p1:Result_WareHouse>
  </data>
  <msg>sample string 2</msg>
</ResultDTOOfArrayOfResult_WareHouse3G4q1gKH>