POST jxc_api/HomePage/GetInventWarnList

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-11-25 02:26:45",
  "CurrUserSn": 8,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 11,
  "DocumentDateArr": [
    "2024-11-25 02:26:45",
    "2024-11-25 02:26:45"
  ],
  "DeliveryDateType": 12,
  "DeliveryDateArr": [
    "2024-11-25 02:26:45",
    "2024-11-25 02:26:45"
  ],
  "OffDateType": 13,
  "OffDateArr": [
    "2024-11-25 02:26:45",
    "2024-11-25 02:26:45"
  ],
  "InventoryDateType": 14,
  "InventoryDateArr": [
    "2024-11-25 02:26:45",
    "2024-11-25 02:26:45"
  ]
}

application/xml, text/xml

Sample:
<WhWarnSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.DashBoard">
  <_x003C_DeliveryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
  </_x003C_DeliveryDateArr_x003E_k__BackingField>
  <_x003C_DeliveryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</_x003C_DeliveryDateType_x003E_k__BackingField>
  <_x003C_DocumentDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
  </_x003C_DocumentDateArr_x003E_k__BackingField>
  <_x003C_DocumentDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">11</_x003C_DocumentDateType_x003E_k__BackingField>
  <_x003C_InventoryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
  </_x003C_InventoryDateArr_x003E_k__BackingField>
  <_x003C_InventoryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">14</_x003C_InventoryDateType_x003E_k__BackingField>
  <_x003C_OffDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:26:45.12065+08:00</d2p1:dateTime>
  </_x003C_OffDateArr_x003E_k__BackingField>
  <_x003C_OffDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">13</_x003C_OffDateType_x003E_k__BackingField>
  <_x003C_CanOpeAllWh_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanOpeAllWh_x003E_k__BackingField>
  <_x003C_CanViewAllBill_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanViewAllBill_x003E_k__BackingField>
  <_x003C_CurrUserSn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">8</_x003C_CurrUserSn_x003E_k__BackingField>
  <_x003C_OpeWhList_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_OpeWhList_x003E_k__BackingField>
  <_x003C_CatId_x003E_k__BackingField>2</_x003C_CatId_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 4</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>5</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>6</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ProdIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProdIds_x003E_k__BackingField>
  <_x003C_WarnType_x003E_k__BackingField>3</_x003C_WarnType_x003E_k__BackingField>
  <_x003C_WarningDate_x003E_k__BackingField>2024-11-25T02:26:45.1201392+08:00</_x003C_WarningDate_x003E_k__BackingField>
  <_x003C_WhId_x003E_k__BackingField>1</_x003C_WhId_x003E_k__BackingField>
</WhWarnSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DashboardModel
NameDescriptionTypeAdditional information
InventWarnList

Collection of InventWarnModel

None.

InventWarnListCount

integer

None.

UndeliveredSales

decimal number

None.

DateStartA

date

None.

DateEndA

date

None.

UnwarePurchase

decimal number

None.

ReceivableCount

decimal number

None.

PayableCount

integer

None.

DateStartB

date

None.

DateEndB

date

None.

UnCheckSale

decimal number

None.

DateEndC

date

None.

DateStartC

date

None.

UnCheckPurchase

decimal number

None.

DateEndD

date

None.

DateStartD

date

None.

SellDeliveryCount

integer

None.

PurchaseDeliveryCount

integer

None.

PurchaseBillStartDate

date

None.

PurchaseBillEndDate

date

None.

PurchaseDeliveryStartDate

date

None.

PurchaseDeliveryEndDate

date

None.

SellBillStartDate

date

None.

SellBillEndDate

date

None.

SellDeliveryStartDate

date

None.

SellDeliveryEndDate

date

None.

ShelfLifeAlertCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "InventWarnList": [
    {
      "ProdId": 1,
      "WhId": 2,
      "ApId": 3,
      "AQty": 4.0,
      "OutQty": 5.0,
      "Qty": 6.0,
      "Min": 1.0,
      "Max": 1.0,
      "ProdName": "sample string 7",
      "Spec": "sample string 8",
      "Note": "sample string 9",
      "ApName": "sample string 10",
      "WhName": "sample string 11",
      "CatName": "sample string 12",
      "UnitName": "sample string 13",
      "ProdNo": "sample string 14",
      "UnitId": 15,
      "CatId": 16
    },
    {
      "ProdId": 1,
      "WhId": 2,
      "ApId": 3,
      "AQty": 4.0,
      "OutQty": 5.0,
      "Qty": 6.0,
      "Min": 1.0,
      "Max": 1.0,
      "ProdName": "sample string 7",
      "Spec": "sample string 8",
      "Note": "sample string 9",
      "ApName": "sample string 10",
      "WhName": "sample string 11",
      "CatName": "sample string 12",
      "UnitName": "sample string 13",
      "ProdNo": "sample string 14",
      "UnitId": 15,
      "CatId": 16
    }
  ],
  "InventWarnListCount": 1,
  "UndeliveredSales": 2.0,
  "DateStartA": "2024-11-25 02:26:45",
  "DateEndA": "2024-11-25 02:26:45",
  "UnwarePurchase": 5.0,
  "ReceivableCount": 6.0,
  "PayableCount": 7,
  "DateStartB": "2024-11-25 02:26:45",
  "DateEndB": "2024-11-25 02:26:45",
  "UnCheckSale": 10.0,
  "DateEndC": "2024-11-25 02:26:45",
  "DateStartC": "2024-11-25 02:26:45",
  "UnCheckPurchase": 13.0,
  "DateEndD": "2024-11-25 02:26:45",
  "DateStartD": "2024-11-25 02:26:45",
  "SellDeliveryCount": 16,
  "PurchaseDeliveryCount": 17,
  "PurchaseBillStartDate": "2024-11-25 02:26:45",
  "PurchaseBillEndDate": "2024-11-25 02:26:45",
  "PurchaseDeliveryStartDate": "2024-11-25 02:26:45",
  "PurchaseDeliveryEndDate": "2024-11-25 02:26:45",
  "SellBillStartDate": "2024-11-25 02:26:45",
  "SellBillEndDate": "2024-11-25 02:26:45",
  "SellDeliveryStartDate": "2024-11-25 02:26:45",
  "SellDeliveryEndDate": "2024-11-25 02:26:45",
  "ShelfLifeAlertCount": 26
}

application/xml, text/xml

Sample:
<DashboardModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Dashboard">
  <_x003C_DateEndA_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateEndA_x003E_k__BackingField>
  <_x003C_DateEndB_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateEndB_x003E_k__BackingField>
  <_x003C_DateEndC_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateEndC_x003E_k__BackingField>
  <_x003C_DateEndD_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateEndD_x003E_k__BackingField>
  <_x003C_DateStartA_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateStartA_x003E_k__BackingField>
  <_x003C_DateStartB_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateStartB_x003E_k__BackingField>
  <_x003C_DateStartC_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateStartC_x003E_k__BackingField>
  <_x003C_DateStartD_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_DateStartD_x003E_k__BackingField>
  <_x003C_InventWarnListCount_x003E_k__BackingField>1</_x003C_InventWarnListCount_x003E_k__BackingField>
  <_x003C_InventWarnList_x003E_k__BackingField>
    <InventWarnModel>
      <_x003C_AQty_x003E_k__BackingField>4</_x003C_AQty_x003E_k__BackingField>
      <_x003C_ApId_x003E_k__BackingField>3</_x003C_ApId_x003E_k__BackingField>
      <_x003C_ApName_x003E_k__BackingField>sample string 10</_x003C_ApName_x003E_k__BackingField>
      <_x003C_CatId_x003E_k__BackingField>16</_x003C_CatId_x003E_k__BackingField>
      <_x003C_CatName_x003E_k__BackingField>sample string 12</_x003C_CatName_x003E_k__BackingField>
      <_x003C_Max_x003E_k__BackingField>1</_x003C_Max_x003E_k__BackingField>
      <_x003C_Min_x003E_k__BackingField>1</_x003C_Min_x003E_k__BackingField>
      <_x003C_Note_x003E_k__BackingField>sample string 9</_x003C_Note_x003E_k__BackingField>
      <_x003C_OutQty_x003E_k__BackingField>5</_x003C_OutQty_x003E_k__BackingField>
      <_x003C_ProdId_x003E_k__BackingField>1</_x003C_ProdId_x003E_k__BackingField>
      <_x003C_ProdName_x003E_k__BackingField>sample string 7</_x003C_ProdName_x003E_k__BackingField>
      <_x003C_ProdNo_x003E_k__BackingField>sample string 14</_x003C_ProdNo_x003E_k__BackingField>
      <_x003C_Qty_x003E_k__BackingField>6</_x003C_Qty_x003E_k__BackingField>
      <_x003C_Spec_x003E_k__BackingField>sample string 8</_x003C_Spec_x003E_k__BackingField>
      <_x003C_UnitId_x003E_k__BackingField>15</_x003C_UnitId_x003E_k__BackingField>
      <_x003C_UnitName_x003E_k__BackingField>sample string 13</_x003C_UnitName_x003E_k__BackingField>
      <_x003C_WhId_x003E_k__BackingField>2</_x003C_WhId_x003E_k__BackingField>
      <_x003C_WhName_x003E_k__BackingField>sample string 11</_x003C_WhName_x003E_k__BackingField>
    </InventWarnModel>
    <InventWarnModel>
      <_x003C_AQty_x003E_k__BackingField>4</_x003C_AQty_x003E_k__BackingField>
      <_x003C_ApId_x003E_k__BackingField>3</_x003C_ApId_x003E_k__BackingField>
      <_x003C_ApName_x003E_k__BackingField>sample string 10</_x003C_ApName_x003E_k__BackingField>
      <_x003C_CatId_x003E_k__BackingField>16</_x003C_CatId_x003E_k__BackingField>
      <_x003C_CatName_x003E_k__BackingField>sample string 12</_x003C_CatName_x003E_k__BackingField>
      <_x003C_Max_x003E_k__BackingField>1</_x003C_Max_x003E_k__BackingField>
      <_x003C_Min_x003E_k__BackingField>1</_x003C_Min_x003E_k__BackingField>
      <_x003C_Note_x003E_k__BackingField>sample string 9</_x003C_Note_x003E_k__BackingField>
      <_x003C_OutQty_x003E_k__BackingField>5</_x003C_OutQty_x003E_k__BackingField>
      <_x003C_ProdId_x003E_k__BackingField>1</_x003C_ProdId_x003E_k__BackingField>
      <_x003C_ProdName_x003E_k__BackingField>sample string 7</_x003C_ProdName_x003E_k__BackingField>
      <_x003C_ProdNo_x003E_k__BackingField>sample string 14</_x003C_ProdNo_x003E_k__BackingField>
      <_x003C_Qty_x003E_k__BackingField>6</_x003C_Qty_x003E_k__BackingField>
      <_x003C_Spec_x003E_k__BackingField>sample string 8</_x003C_Spec_x003E_k__BackingField>
      <_x003C_UnitId_x003E_k__BackingField>15</_x003C_UnitId_x003E_k__BackingField>
      <_x003C_UnitName_x003E_k__BackingField>sample string 13</_x003C_UnitName_x003E_k__BackingField>
      <_x003C_WhId_x003E_k__BackingField>2</_x003C_WhId_x003E_k__BackingField>
      <_x003C_WhName_x003E_k__BackingField>sample string 11</_x003C_WhName_x003E_k__BackingField>
    </InventWarnModel>
  </_x003C_InventWarnList_x003E_k__BackingField>
  <_x003C_PayableCount_x003E_k__BackingField>7</_x003C_PayableCount_x003E_k__BackingField>
  <_x003C_PurchaseBillEndDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_PurchaseBillEndDate_x003E_k__BackingField>
  <_x003C_PurchaseBillStartDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_PurchaseBillStartDate_x003E_k__BackingField>
  <_x003C_PurchaseDeliveryCount_x003E_k__BackingField>17</_x003C_PurchaseDeliveryCount_x003E_k__BackingField>
  <_x003C_PurchaseDeliveryEndDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_PurchaseDeliveryEndDate_x003E_k__BackingField>
  <_x003C_PurchaseDeliveryStartDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_PurchaseDeliveryStartDate_x003E_k__BackingField>
  <_x003C_ReceivableCount_x003E_k__BackingField>6</_x003C_ReceivableCount_x003E_k__BackingField>
  <_x003C_SellBillEndDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_SellBillEndDate_x003E_k__BackingField>
  <_x003C_SellBillStartDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_SellBillStartDate_x003E_k__BackingField>
  <_x003C_SellDeliveryCount_x003E_k__BackingField>16</_x003C_SellDeliveryCount_x003E_k__BackingField>
  <_x003C_SellDeliveryEndDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_SellDeliveryEndDate_x003E_k__BackingField>
  <_x003C_SellDeliveryStartDate_x003E_k__BackingField>2024-11-25T02:26:45.1211746+08:00</_x003C_SellDeliveryStartDate_x003E_k__BackingField>
  <_x003C_ShelfLifeAlertCount_x003E_k__BackingField>26</_x003C_ShelfLifeAlertCount_x003E_k__BackingField>
  <_x003C_UnCheckPurchase_x003E_k__BackingField>13</_x003C_UnCheckPurchase_x003E_k__BackingField>
  <_x003C_UnCheckSale_x003E_k__BackingField>10</_x003C_UnCheckSale_x003E_k__BackingField>
  <_x003C_UndeliveredSales_x003E_k__BackingField>2</_x003C_UndeliveredSales_x003E_k__BackingField>
  <_x003C_UnwarePurchase_x003E_k__BackingField>5</_x003C_UnwarePurchase_x003E_k__BackingField>
</DashboardModel>