POST jxc_api/ShelfLifeAlert/Search

Request Information

URI Parameters

None.

Body Parameters

ShelfLifeAlertConditions
NameDescriptionTypeAdditional information
IsAp

boolean

None.

ShowDisabled

boolean

None.

IsShowSubTotal

boolean

None.

Keywords

string

None.

ExpirationDateStart

date

None.

ExpirationDateEnd

date

None.

ForewarningTypes

Collection of integer

None.

DaysRemaining

integer

None.

WhIds

Collection of integer

None.

ProdIds

Collection of integer

None.

PageIndex

integer

None.

PageSize

integer

None.

RBtype

Collection of integer

None.

RDetailIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsAp": true,
  "ShowDisabled": true,
  "IsShowSubTotal": true,
  "Keywords": "sample string 4",
  "ExpirationDateStart": "2024-11-25 02:59:47",
  "ExpirationDateEnd": "2024-11-25 02:59:47",
  "ForewarningTypes": [
    1,
    2
  ],
  "DaysRemaining": 1,
  "WhIds": [
    1,
    2
  ],
  "ProdIds": [
    1,
    2
  ],
  "PageIndex": 5,
  "PageSize": 6,
  "RBtype": [
    1,
    2
  ],
  "RDetailIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<ShelfLifeAlertConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Stock">
  <DaysRemaining>1</DaysRemaining>
  <ExpirationDateEnd>2024-11-25T02:59:47.5051365+08:00</ExpirationDateEnd>
  <ExpirationDateStart>2024-11-25T02:59:47.5051365+08:00</ExpirationDateStart>
  <ForewarningTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ForewarningTypes>
  <IsAp>true</IsAp>
  <IsShowSubTotal>true</IsShowSubTotal>
  <Keywords>sample string 4</Keywords>
  <PageIndex>5</PageIndex>
  <PageSize>6</PageSize>
  <ProdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProdIds>
  <RBtype xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </RBtype>
  <RDetailIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </RDetailIds>
  <ShowDisabled>true</ShowDisabled>
  <WhIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </WhIds>
</ShelfLifeAlertConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfShelfLifeAlertModel
NameDescriptionTypeAdditional information
Items

Collection of ShelfLifeAlertModel

None.

SumModel

ShelfLifeAlertModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

UsePager

boolean

None.

CategoriesFounded

Collection of integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Index": 1,
      "ProdId": 2,
      "Image": "sample string 3",
      "ProdNo": "sample string 4",
      "ProdName": "sample string 5",
      "CatName": "sample string 6",
      "ProdSpec": "sample string 7",
      "ApId": 8,
      "ApName": "sample string 9",
      "Brand": "sample string 10",
      "Location": "sample string 11",
      "BillNo": "sample string 12",
      "BType": 13,
      "BillType": "sample string 14",
      "BillDetails": [
        {
          "Item1": 1,
          "Item2": 2
        },
        {
          "Item1": 1,
          "Item2": 2
        }
      ],
      "WhId": 15,
      "WhName": "sample string 16",
      "BaseUnitName": "sample string 17",
      "BaseQTY": 18.0,
      "UnitName": "sample string 19",
      "Qty": 20.0,
      "AvailableQty": 21.0,
      "Price": 22.0,
      "PriceTax": 23.0,
      "DiscAmount": 24.0,
      "Amount": 25.0,
      "Tax": 26.0,
      "TaxAmount": 27.0,
      "UnitCost": 28.0,
      "Cost": 29.0,
      "BatchNo": "sample string 30",
      "ProductionDate": "sample string 31",
      "LifeTime": 32,
      "LifeTimeUnit": 1010,
      "LifeTimeUnitName": "sample string 33",
      "ExpirationDate": "2024-11-25 02:59:47",
      "ExpirationDateString": "2024-11-25",
      "WarningDaysAdvance": "sample string 35",
      "DaysRemaining": 36,
      "AlertDate": "sample string 37",
      "ForewarningType": [
        1,
        2
      ],
      "IsCountRow": true
    },
    {
      "Index": 1,
      "ProdId": 2,
      "Image": "sample string 3",
      "ProdNo": "sample string 4",
      "ProdName": "sample string 5",
      "CatName": "sample string 6",
      "ProdSpec": "sample string 7",
      "ApId": 8,
      "ApName": "sample string 9",
      "Brand": "sample string 10",
      "Location": "sample string 11",
      "BillNo": "sample string 12",
      "BType": 13,
      "BillType": "sample string 14",
      "BillDetails": [
        {
          "Item1": 1,
          "Item2": 2
        },
        {
          "Item1": 1,
          "Item2": 2
        }
      ],
      "WhId": 15,
      "WhName": "sample string 16",
      "BaseUnitName": "sample string 17",
      "BaseQTY": 18.0,
      "UnitName": "sample string 19",
      "Qty": 20.0,
      "AvailableQty": 21.0,
      "Price": 22.0,
      "PriceTax": 23.0,
      "DiscAmount": 24.0,
      "Amount": 25.0,
      "Tax": 26.0,
      "TaxAmount": 27.0,
      "UnitCost": 28.0,
      "Cost": 29.0,
      "BatchNo": "sample string 30",
      "ProductionDate": "sample string 31",
      "LifeTime": 32,
      "LifeTimeUnit": 1010,
      "LifeTimeUnitName": "sample string 33",
      "ExpirationDate": "2024-11-25 02:59:47",
      "ExpirationDateString": "2024-11-25",
      "WarningDaysAdvance": "sample string 35",
      "DaysRemaining": 36,
      "AlertDate": "sample string 37",
      "ForewarningType": [
        1,
        2
      ],
      "IsCountRow": true
    }
  ],
  "SumModel": {
    "Index": 1,
    "ProdId": 2,
    "Image": "sample string 3",
    "ProdNo": "sample string 4",
    "ProdName": "sample string 5",
    "CatName": "sample string 6",
    "ProdSpec": "sample string 7",
    "ApId": 8,
    "ApName": "sample string 9",
    "Brand": "sample string 10",
    "Location": "sample string 11",
    "BillNo": "sample string 12",
    "BType": 13,
    "BillType": "sample string 14",
    "BillDetails": [
      {
        "Item1": 1,
        "Item2": 2
      },
      {
        "Item1": 1,
        "Item2": 2
      }
    ],
    "WhId": 15,
    "WhName": "sample string 16",
    "BaseUnitName": "sample string 17",
    "BaseQTY": 18.0,
    "UnitName": "sample string 19",
    "Qty": 20.0,
    "AvailableQty": 21.0,
    "Price": 22.0,
    "PriceTax": 23.0,
    "DiscAmount": 24.0,
    "Amount": 25.0,
    "Tax": 26.0,
    "TaxAmount": 27.0,
    "UnitCost": 28.0,
    "Cost": 29.0,
    "BatchNo": "sample string 30",
    "ProductionDate": "sample string 31",
    "LifeTime": 32,
    "LifeTimeUnit": 1010,
    "LifeTimeUnitName": "sample string 33",
    "ExpirationDate": "2024-11-25 02:59:47",
    "ExpirationDateString": "2024-11-25",
    "WarningDaysAdvance": "sample string 35",
    "DaysRemaining": 36,
    "AlertDate": "sample string 37",
    "ForewarningType": [
      1,
      2
    ],
    "IsCountRow": true
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true,
  "CategoriesFounded": [
    1,
    2
  ],
  "RDocumentStartDate": "sample string 5",
  "RDocumentEndDate": "sample string 6",
  "RDeliveryStartDate": "sample string 7",
  "RDeliveryEndDate": "sample string 8"
}