POST jxc_api/SimpleResource/GetSimpleProducts

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-24 01:41:20",
    "2024-11-24 01:41:20"
  ],
  "DeliveryDateType": 17,
  "DeliveryDateArr": [
    "2024-11-24 01:41:20",
    "2024-11-24 01:41:20"
  ],
  "OffDateType": 18,
  "OffDateArr": [
    "2024-11-24 01:41:20",
    "2024-11-24 01:41:20"
  ],
  "InventoryDateType": 19,
  "InventoryDateArr": [
    "2024-11-24 01:41:20",
    "2024-11-24 01:41:20"
  ]
}

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-24T01:41:20.0387186+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T01:41:20.0387186+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-24T01:41:20.0387186+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T01:41:20.0387186+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-24T01:41:20.0387186+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T01:41:20.0387186+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-24T01:41:20.0387186+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T01:41:20.0387186+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

Collection of SimpleProduct
NameDescriptionTypeAdditional information
ProdId

integer

None.

ProdNo

string

None.

ProdName

string

None.

TaxRate

decimal number

None.

Spec

string

None.

Brand

string

None.

ProdLocation

string

None.

Note

string

None.

UnitId

integer

None.

UnitName

string

None.

PurUnitId

integer

None.

PurUnitName

string

None.

SaleUnitId

integer

None.

SaleUnitName

string

None.

StockUnitId

integer

None.

StockUnitName

string

None.

WhId

integer

None.

WhName

string

None.

CategoryId

integer

None.

CategoryName

string

None.

ApId

integer

None.

ApName

string

None.

PricePur

decimal number

None.

PriceRet

decimal number

None.

PriceWS

decimal number

None.

PriceVip

decimal number

None.

QTY

decimal number

None.

AvailableQTY

decimal number

None.

UseMultiUnits

boolean

None.

UseAp

boolean

None.

Image

string

None.

Stocks

Collection of SimpleProductStock

None.

Prices

Collection of SimpleProductPrice

None.

ApPrices

Collection of SimpleProductApPrice

None.

ProdPrices

Collection of ProductPriceSimpleModel

None.

MultiUnits

Collection of UnitModel

None.

BatchEnabled

boolean

None.

SerialEnabled

boolean

None.

LifeTimeEnabled

boolean

None.

BillDirection

ProductTransferAction

None.

BatchNo

string

None.

SerialNoItems

Collection of ProductSerialNoViewModel

None.

ProductionDate

string

None.

LifeTime

integer

None.

LifeTimeUnit

integer

None.

LifeTimeUnitName

string

None.

ExpirationDate

string

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.