POST jxc_api/Product/Search

Request Information

URI Parameters

None.

Body Parameters

ProductCondition
NameDescriptionTypeAdditional information
WhId

integer

None.

CatIds

Collection of integer

None.

ShowZeroQTY

boolean

None.

IsAp

boolean

None.

ShowDisabled

boolean

None.

ShowDisabledExt

integer

None.

Ftype

integer

None.

Keywords

string

None.

LoadStockData

boolean

None.

FilterSpecialProd

boolean

None.

ShowDisabledApProd

boolean

None.

scene

SimpleProdcutScene

None.

CategoryKeyword

string

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

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,
  "CatIds": [
    1,
    2
  ],
  "ShowZeroQTY": true,
  "IsAp": true,
  "ShowDisabled": true,
  "ShowDisabledExt": 1,
  "Ftype": 1040,
  "Keywords": "sample string 5",
  "LoadStockData": true,
  "FilterSpecialProd": true,
  "ShowDisabledApProd": true,
  "scene": 0,
  "CategoryKeyword": "sample string 9",
  "PageIndex": 10,
  "PageSize": 11,
  "UsePager": true,
  "CurrUserSn": 13,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 16,
  "DocumentDateArr": [
    "2024-11-25 01:23:52",
    "2024-11-25 01:23:52"
  ],
  "DeliveryDateType": 17,
  "DeliveryDateArr": [
    "2024-11-25 01:23:52",
    "2024-11-25 01:23:52"
  ],
  "OffDateType": 18,
  "OffDateArr": [
    "2024-11-25 01:23:52",
    "2024-11-25 01:23:52"
  ],
  "InventoryDateType": 19,
  "InventoryDateArr": [
    "2024-11-25 01:23:52",
    "2024-11-25 01:23:52"
  ]
}

application/xml, text/xml

Sample:
<ProductCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_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-25T01:23:52.9989707+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:23:52.9989707+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">17</_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-25T01:23:52.9989707+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:23:52.9989707+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">16</_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-25T01:23:52.9989707+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:23:52.9989707+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">19</_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-25T01:23:52.9989707+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:23:52.9989707+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">18</_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">13</_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_PageIndex_x003E_k__BackingField>10</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>11</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_CategoryKeyword_x003E_k__BackingField>sample string 9</_x003C_CategoryKeyword_x003E_k__BackingField>
  <_x003C_Ftype_x003E_k__BackingField>0</_x003C_Ftype_x003E_k__BackingField>
  <_x003C_CatIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CatIds_x003E_k__BackingField>
  <_x003C_FilterSpecialProd_x003E_k__BackingField>true</_x003C_FilterSpecialProd_x003E_k__BackingField>
  <_x003C_IsAp_x003E_k__BackingField>true</_x003C_IsAp_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 5</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_LoadStockData_x003E_k__BackingField>true</_x003C_LoadStockData_x003E_k__BackingField>
  <_x003C_ShowDisabledApProd_x003E_k__BackingField>true</_x003C_ShowDisabledApProd_x003E_k__BackingField>
  <_x003C_ShowDisabledExt_x003E_k__BackingField>1</_x003C_ShowDisabledExt_x003E_k__BackingField>
  <_x003C_ShowDisabled_x003E_k__BackingField>true</_x003C_ShowDisabled_x003E_k__BackingField>
  <_x003C_ShowZeroQTY_x003E_k__BackingField>true</_x003C_ShowZeroQTY_x003E_k__BackingField>
  <_x003C_WhId_x003E_k__BackingField>1</_x003C_WhId_x003E_k__BackingField>
  <_x003C_scene_x003E_k__BackingField>MANUAL</_x003C_scene_x003E_k__BackingField>
</ProductCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfProductDetailListModel
NameDescriptionTypeAdditional information
Items

Collection of ProductDetailListModel

None.

SumModel

ProductDetailListModel

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": [
    {
      "Id": 1,
      "No": "sample string 2",
      "Name": "sample string 3",
      "ApId": 4,
      "ApName": "sample string 5",
      "CatId": 6,
      "CatName": "sample string 7",
      "Spec": "sample string 8",
      "Brand": "sample string 9",
      "Location": "sample string 10",
      "TaxRate": 11.0,
      "UnitId": 12,
      "BaseUnitName": "sample string 13",
      "MulUnitName": "sample string 14",
      "PurUnitName": "sample string 15",
      "SaleUnitName": "sample string 16",
      "StockUnitName": "sample string 17",
      "MultiUnits": true,
      "QTY": 19.0,
      "BatchEnabled": true,
      "SerialEnabled": true,
      "LifeTimeEnabled": true,
      "LifeTime": 23,
      "LifeTimeUnitName": "sample string 24",
      "WarningDaysAdvance": 25,
      "Note": "sample string 26",
      "Status": true,
      "Image": "sample string 28",
      "PricePur": 29.0,
      "PriceRetail": 30.0,
      "PriceWholeSale": 31.0,
      "PriceVip": 32.0,
      "Prices": [
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        },
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        }
      ]
    },
    {
      "Id": 1,
      "No": "sample string 2",
      "Name": "sample string 3",
      "ApId": 4,
      "ApName": "sample string 5",
      "CatId": 6,
      "CatName": "sample string 7",
      "Spec": "sample string 8",
      "Brand": "sample string 9",
      "Location": "sample string 10",
      "TaxRate": 11.0,
      "UnitId": 12,
      "BaseUnitName": "sample string 13",
      "MulUnitName": "sample string 14",
      "PurUnitName": "sample string 15",
      "SaleUnitName": "sample string 16",
      "StockUnitName": "sample string 17",
      "MultiUnits": true,
      "QTY": 19.0,
      "BatchEnabled": true,
      "SerialEnabled": true,
      "LifeTimeEnabled": true,
      "LifeTime": 23,
      "LifeTimeUnitName": "sample string 24",
      "WarningDaysAdvance": 25,
      "Note": "sample string 26",
      "Status": true,
      "Image": "sample string 28",
      "PricePur": 29.0,
      "PriceRetail": 30.0,
      "PriceWholeSale": 31.0,
      "PriceVip": 32.0,
      "Prices": [
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        },
        {
          "ProdId": 1,
          "LevelId": 2,
          "LevelName": "sample string 3",
          "Price": "sample string 4",
          "UnitId": 5,
          "ApId": 6
        }
      ]
    }
  ],
  "SumModel": {
    "Id": 1,
    "No": "sample string 2",
    "Name": "sample string 3",
    "ApId": 4,
    "ApName": "sample string 5",
    "CatId": 6,
    "CatName": "sample string 7",
    "Spec": "sample string 8",
    "Brand": "sample string 9",
    "Location": "sample string 10",
    "TaxRate": 11.0,
    "UnitId": 12,
    "BaseUnitName": "sample string 13",
    "MulUnitName": "sample string 14",
    "PurUnitName": "sample string 15",
    "SaleUnitName": "sample string 16",
    "StockUnitName": "sample string 17",
    "MultiUnits": true,
    "QTY": 19.0,
    "BatchEnabled": true,
    "SerialEnabled": true,
    "LifeTimeEnabled": true,
    "LifeTime": 23,
    "LifeTimeUnitName": "sample string 24",
    "WarningDaysAdvance": 25,
    "Note": "sample string 26",
    "Status": true,
    "Image": "sample string 28",
    "PricePur": 29.0,
    "PriceRetail": 30.0,
    "PriceWholeSale": 31.0,
    "PriceVip": 32.0,
    "Prices": [
      {
        "ProdId": 1,
        "LevelId": 2,
        "LevelName": "sample string 3",
        "Price": "sample string 4",
        "UnitId": 5,
        "ApId": 6
      },
      {
        "ProdId": 1,
        "LevelId": 2,
        "LevelName": "sample string 3",
        "Price": "sample string 4",
        "UnitId": 5,
        "ApId": 6
      }
    ]
  },
  "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"
}