POST jxc_api/Storage/SearchInventWarns

Request Information

URI Parameters

None.

Body Parameters

WhWarnSearchConditions
NameDescriptionTypeAdditional information
WhId

integer

None.

CatId

integer

None.

WarnType

integer

None.

ProdIds

Collection of integer

None.

Keywords

string

None.

PageIndex

integer

None.

PageSize

integer

None.

WarningDate

date

None.

CurrUserSn

integer

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

DocumentDateType

integer

None.

DocumentDateArr

Collection of date

None.

DeliveryDateType

integer

None.

DeliveryDateArr

Collection of date

None.

OffDateType

integer

None.

OffDateArr

Collection of date

None.

InventoryDateType

integer

None.

InventoryDateArr

Collection of date

None.

Request Formats

application/json, text/json

Sample:
{
  "WhId": 1,
  "CatId": 2,
  "WarnType": 3,
  "ProdIds": [
    1,
    2
  ],
  "Keywords": "sample string 4",
  "PageIndex": 5,
  "PageSize": 6,
  "WarningDate": "2024-05-03 17:31:03",
  "CurrUserSn": 8,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 11,
  "DocumentDateArr": [
    "2024-05-03 17:31:03",
    "2024-05-03 17:31:03"
  ],
  "DeliveryDateType": 12,
  "DeliveryDateArr": [
    "2024-05-03 17:31:03",
    "2024-05-03 17:31:03"
  ],
  "OffDateType": 13,
  "OffDateArr": [
    "2024-05-03 17:31:03",
    "2024-05-03 17:31:03"
  ],
  "InventoryDateType": 14,
  "InventoryDateArr": [
    "2024-05-03 17:31:03",
    "2024-05-03 17:31:03"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of InventWarnListModel
NameDescriptionTypeAdditional information
ProdId

integer

None.

WhId

integer

None.

WhName

string

None.

ApId

integer

None.

APName

string

None.

AQty

decimal number

None.

OutQty

decimal number

None.

Qty

decimal number

None.

Min

decimal number

None.

Max

decimal number

None.

ProdNo

string

None.

ProdName

string

None.

Image

string

None.

Spec

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProdId": 1,
    "WhId": 2,
    "WhName": "sample string 3",
    "ApId": 4,
    "APName": "sample string 5",
    "AQty": 6.0,
    "OutQty": 7.0,
    "Qty": 8.0,
    "Min": 1.0,
    "Max": 1.0,
    "ProdNo": "sample string 9",
    "ProdName": "sample string 10",
    "Image": "sample string 11",
    "Spec": "sample string 12"
  },
  {
    "ProdId": 1,
    "WhId": 2,
    "WhName": "sample string 3",
    "ApId": 4,
    "APName": "sample string 5",
    "AQty": 6.0,
    "OutQty": 7.0,
    "Qty": 8.0,
    "Min": 1.0,
    "Max": 1.0,
    "ProdNo": "sample string 9",
    "ProdName": "sample string 10",
    "Image": "sample string 11",
    "Spec": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInventWarnListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Mobile.Models">
  <InventWarnListModel>
    <APName>sample string 5</APName>
    <AQty>6</AQty>
    <ApId>4</ApId>
    <Image>sample string 11</Image>
    <Max>1</Max>
    <Min>1</Min>
    <OutQty>7</OutQty>
    <ProdId>1</ProdId>
    <ProdName>sample string 10</ProdName>
    <ProdNo>sample string 9</ProdNo>
    <Qty>8</Qty>
    <Spec>sample string 12</Spec>
    <WhId>2</WhId>
    <WhName>sample string 3</WhName>
  </InventWarnListModel>
  <InventWarnListModel>
    <APName>sample string 5</APName>
    <AQty>6</AQty>
    <ApId>4</ApId>
    <Image>sample string 11</Image>
    <Max>1</Max>
    <Min>1</Min>
    <OutQty>7</OutQty>
    <ProdId>1</ProdId>
    <ProdName>sample string 10</ProdName>
    <ProdNo>sample string 9</ProdNo>
    <Qty>8</Qty>
    <Spec>sample string 12</Spec>
    <WhId>2</WhId>
    <WhName>sample string 3</WhName>
  </InventWarnListModel>
</ArrayOfInventWarnListModel>