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.

Ftype

integer

None.

Keywords

string

None.

LoadStockData

boolean

None.

FilterSpecialProd

boolean

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,
  "Ftype": 1040,
  "Keywords": "sample string 5",
  "LoadStockData": true,
  "FilterSpecialProd": true,
  "CategoryKeyword": "sample string 8",
  "PageIndex": 9,
  "PageSize": 10,
  "UsePager": true,
  "CurrUserSn": 12,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 15,
  "DocumentDateArr": [
    "2024-04-25 13:40:57",
    "2024-04-25 13:40:57"
  ],
  "DeliveryDateType": 16,
  "DeliveryDateArr": [
    "2024-04-25 13:40:57",
    "2024-04-25 13:40:57"
  ],
  "OffDateType": 17,
  "OffDateArr": [
    "2024-04-25 13:40:57",
    "2024-04-25 13:40:57"
  ],
  "InventoryDateType": 18,
  "InventoryDateArr": [
    "2024-04-25 13:40:57",
    "2024-04-25 13:40:57"
  ]
}

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.