POST jxc_api/Inventory/SearchData

Request Information

URI Parameters

None.

Body Parameters

ScCondition
NameDescriptionTypeAdditional information
SearchText

string

None.

StartDate

date

None.

EndDate

date

None.

WhId

Collection of integer

None.

WhCatId

integer

None.

ChangeStatus

integer

None.

Date

date

None.

CatId

Collection of integer

None.

Id

integer

None.

Ids

Collection of integer

None.

IsZeroProd

boolean

None.

ProdIds

Collection of integer

None.

Brand

string

None.

ShowDisabled

boolean

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:
{
  "SearchText": "sample string 1",
  "StartDate": "2024-11-24 17:01:15",
  "EndDate": "2024-11-24 17:01:15",
  "WhId": [
    1,
    2
  ],
  "WhCatId": 4,
  "ChangeStatus": 5,
  "Date": "2024-11-24 17:01:15",
  "CatId": [
    1,
    2
  ],
  "Id": 7,
  "Ids": [
    1,
    2
  ],
  "IsZeroProd": true,
  "ProdIds": [
    1,
    2
  ],
  "Brand": "sample string 9",
  "ShowDisabled": true,
  "PageIndex": 11,
  "PageSize": 12,
  "UsePager": true,
  "CurrUserSn": 14,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 17,
  "DocumentDateArr": [
    "2024-11-24 17:01:15",
    "2024-11-24 17:01:15"
  ],
  "DeliveryDateType": 18,
  "DeliveryDateArr": [
    "2024-11-24 17:01:15",
    "2024-11-24 17:01:15"
  ],
  "OffDateType": 19,
  "OffDateArr": [
    "2024-11-24 17:01:15",
    "2024-11-24 17:01:15"
  ],
  "InventoryDateType": 20,
  "InventoryDateArr": [
    "2024-11-24 17:01:15",
    "2024-11-24 17:01:15"
  ]
}

application/xml, text/xml

Sample:
<ScCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Stock">
  <_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-24T17:01:15.185485+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:01:15.185485+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">18</_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-24T17:01:15.185485+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:01:15.185485+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">17</_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-24T17:01:15.185485+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:01:15.185485+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">20</_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-24T17:01:15.185485+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:01:15.185485+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">19</_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">14</_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 xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">11</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">12</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_Brand_x003E_k__BackingField>sample string 9</_x003C_Brand_x003E_k__BackingField>
  <_x003C_CatId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CatId_x003E_k__BackingField>
  <_x003C_ChangeStatus_x003E_k__BackingField>5</_x003C_ChangeStatus_x003E_k__BackingField>
  <_x003C_Date_x003E_k__BackingField>2024-11-24T17:01:15.185485+08:00</_x003C_Date_x003E_k__BackingField>
  <_x003C_EndDate_x003E_k__BackingField>2024-11-24T17:01:15.185485+08:00</_x003C_EndDate_x003E_k__BackingField>
  <_x003C_Id_x003E_k__BackingField>7</_x003C_Id_x003E_k__BackingField>
  <_x003C_Ids_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Ids_x003E_k__BackingField>
  <_x003C_IsZeroProd_x003E_k__BackingField>true</_x003C_IsZeroProd_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_SearchText_x003E_k__BackingField>sample string 1</_x003C_SearchText_x003E_k__BackingField>
  <_x003C_ShowDisabled_x003E_k__BackingField>true</_x003C_ShowDisabled_x003E_k__BackingField>
  <_x003C_StartDate_x003E_k__BackingField>2024-11-24T17:01:15.185485+08:00</_x003C_StartDate_x003E_k__BackingField>
  <_x003C_WhCatId_x003E_k__BackingField>4</_x003C_WhCatId_x003E_k__BackingField>
  <_x003C_WhId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WhId_x003E_k__BackingField>
</ScCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfScProdQtyModel
NameDescriptionTypeAdditional information
Items

Collection of ScProdQtyModel

None.

SumModel

ScProdQtyModel

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": [
    {
      "ScId": 1,
      "WhId": 2,
      "WhName": "sample string 3",
      "CatId": 4,
      "CatName": "sample string 5",
      "ProdId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Brand": "sample string 9",
      "ProdLocation": "sample string 10",
      "ApId": 11,
      "ApName": "sample string 12",
      "Spec": "sample string 13",
      "UnitId": 14,
      "UnitName": "sample string 15",
      "Note": "sample string 16",
      "QTY": 17.0,
      "StQTY": 18.0,
      "Image": "sample string 19",
      "SerialEnabled": true,
      "BatchEnabled": true,
      "LifeTimeEnabled": true,
      "Change": 23.0,
      "IsSave": true,
      "WhCatId": 25,
      "WhCatName": "sample string 26",
      "UseMultiUnits": true,
      "UseAp": true
    },
    {
      "ScId": 1,
      "WhId": 2,
      "WhName": "sample string 3",
      "CatId": 4,
      "CatName": "sample string 5",
      "ProdId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Brand": "sample string 9",
      "ProdLocation": "sample string 10",
      "ApId": 11,
      "ApName": "sample string 12",
      "Spec": "sample string 13",
      "UnitId": 14,
      "UnitName": "sample string 15",
      "Note": "sample string 16",
      "QTY": 17.0,
      "StQTY": 18.0,
      "Image": "sample string 19",
      "SerialEnabled": true,
      "BatchEnabled": true,
      "LifeTimeEnabled": true,
      "Change": 23.0,
      "IsSave": true,
      "WhCatId": 25,
      "WhCatName": "sample string 26",
      "UseMultiUnits": true,
      "UseAp": true
    }
  ],
  "SumModel": {
    "ScId": 1,
    "WhId": 2,
    "WhName": "sample string 3",
    "CatId": 4,
    "CatName": "sample string 5",
    "ProdId": 6,
    "ProdNo": "sample string 7",
    "ProdName": "sample string 8",
    "Brand": "sample string 9",
    "ProdLocation": "sample string 10",
    "ApId": 11,
    "ApName": "sample string 12",
    "Spec": "sample string 13",
    "UnitId": 14,
    "UnitName": "sample string 15",
    "Note": "sample string 16",
    "QTY": 17.0,
    "StQTY": 18.0,
    "Image": "sample string 19",
    "SerialEnabled": true,
    "BatchEnabled": true,
    "LifeTimeEnabled": true,
    "Change": 23.0,
    "IsSave": true,
    "WhCatId": 25,
    "WhCatName": "sample string 26",
    "UseMultiUnits": true,
    "UseAp": 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"
}