POST jxc_api/InventoryList/Search

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-25 00:41:29",
  "EndDate": "2024-11-25 00:41:29",
  "WhId": [
    1,
    2
  ],
  "WhCatId": 4,
  "ChangeStatus": 5,
  "Date": "2024-11-25 00:41:29",
  "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-25 00:41:29",
    "2024-11-25 00:41:29"
  ],
  "DeliveryDateType": 18,
  "DeliveryDateArr": [
    "2024-11-25 00:41:29",
    "2024-11-25 00:41:29"
  ],
  "OffDateType": 19,
  "OffDateArr": [
    "2024-11-25 00:41:29",
    "2024-11-25 00:41:29"
  ],
  "InventoryDateType": 20,
  "InventoryDateArr": [
    "2024-11-25 00:41:29",
    "2024-11-25 00:41:29"
  ]
}

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-25T00:41:29.2402413+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T00:41:29.2402413+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-25T00:41:29.2402413+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T00:41:29.2402413+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-25T00:41:29.2402413+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T00:41:29.2402413+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-25T00:41:29.2402413+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T00:41:29.2402413+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-25T00:41:29.2402413+08:00</_x003C_Date_x003E_k__BackingField>
  <_x003C_EndDate_x003E_k__BackingField>2024-11-25T00:41:29.2402413+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-25T00:41:29.2402413+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

NewApiPagedListOfScListModel
NameDescriptionTypeAdditional information
Items

Collection of ScListModel

None.

SumModel

ScListModel

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,
      "Date": "sample string 2",
      "No": "sample string 3",
      "WhName": "sample string 4",
      "Items": [
        {
          "ScId": 1,
          "ScDataType": 2,
          "ScDataId": 3,
          "ScDataNo": "sample string 4"
        },
        {
          "ScId": 1,
          "ScDataType": 2,
          "ScDataId": 3,
          "ScDataNo": "sample string 4"
        }
      ],
      "ChangeStatus": true,
      "WhsNo": "sample string 6",
      "WhsBill": 7,
      "DoNo": "sample string 8",
      "DoBill": 9
    },
    {
      "Id": 1,
      "Date": "sample string 2",
      "No": "sample string 3",
      "WhName": "sample string 4",
      "Items": [
        {
          "ScId": 1,
          "ScDataType": 2,
          "ScDataId": 3,
          "ScDataNo": "sample string 4"
        },
        {
          "ScId": 1,
          "ScDataType": 2,
          "ScDataId": 3,
          "ScDataNo": "sample string 4"
        }
      ],
      "ChangeStatus": true,
      "WhsNo": "sample string 6",
      "WhsBill": 7,
      "DoNo": "sample string 8",
      "DoBill": 9
    }
  ],
  "SumModel": {
    "Id": 1,
    "Date": "sample string 2",
    "No": "sample string 3",
    "WhName": "sample string 4",
    "Items": [
      {
        "ScId": 1,
        "ScDataType": 2,
        "ScDataId": 3,
        "ScDataNo": "sample string 4"
      },
      {
        "ScId": 1,
        "ScDataType": 2,
        "ScDataId": 3,
        "ScDataNo": "sample string 4"
      }
    ],
    "ChangeStatus": true,
    "WhsNo": "sample string 6",
    "WhsBill": 7,
    "DoNo": "sample string 8",
    "DoBill": 9
  },
  "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"
}