POST jxc_api/ProductInitialStock/Search

Request Information

URI Parameters

None.

Body Parameters

ProductInitialStockSearchConditions
NameDescriptionTypeAdditional information
Keyword

string

None.

ProdIds

Collection of integer

None.

WhId

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

UserPager

boolean

None.

Rows

Collection of ProductInitialStockKey

None.

Request Formats

application/json, text/json

Sample:
{
  "Keyword": "sample string 1",
  "ProdIds": [
    1,
    2
  ],
  "WhId": 2,
  "PageIndex": 3,
  "PageSize": 4,
  "UserPager": true,
  "Rows": [
    {
      "IsId": 1,
      "ProdId": 2,
      "ApId": 3,
      "WhId": 4
    },
    {
      "IsId": 1,
      "ProdId": 2,
      "ApId": 3,
      "WhId": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ProductInitialStockSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting.Product">
  <Keyword>sample string 1</Keyword>
  <PageIndex>3</PageIndex>
  <PageSize>4</PageSize>
  <ProdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProdIds>
  <Rows>
    <ProductInitialStockKey>
      <ApId>3</ApId>
      <IsId>1</IsId>
      <ProdId>2</ProdId>
      <WhId>4</WhId>
    </ProductInitialStockKey>
    <ProductInitialStockKey>
      <ApId>3</ApId>
      <IsId>1</IsId>
      <ProdId>2</ProdId>
      <WhId>4</WhId>
    </ProductInitialStockKey>
  </Rows>
  <UserPager>true</UserPager>
  <WhId>2</WhId>
</ProductInitialStockSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfProductInitialStockListModel
NameDescriptionTypeAdditional information
Items

Collection of ProductInitialStockListModel

None.

SumModel

ProductInitialStockListModel

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": [
    null,
    {
      "IsId": 1,
      "ProdId": 2,
      "ProdNo": "sample string 3",
      "ProdName": "sample string 4",
      "ProdSpec": "sample string 5",
      "ApId": 6,
      "ApName": "sample string 7",
      "UnitName": "sample string 8",
      "WhId": 9,
      "WhName": "sample string 10",
      "QTY": 11.0,
      "Price": 12.0,
      "Amount": 13.0,
      "BatchNo": "sample string 14",
      "SerialNoItems": [
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        },
        {
          "FlowId": "sample string 1",
          "SerialNo": "sample string 2",
          "SerialNote": "sample string 3"
        }
      ],
      "ProductionDate": "",
      "LifeTime": 0,
      "LifeTimeUnit": 0,
      "LifeTimeUnitName": "",
      "ExpirationDate": "",
      "BatchEnabled": false,
      "SerialEnabled": false,
      "LifeTimeEnabled": false
    }
  ],
  "SumModel": {
    "IsId": 1,
    "ProdId": 2,
    "ProdNo": "sample string 3",
    "ProdName": "sample string 4",
    "ProdSpec": "sample string 5",
    "ApId": 6,
    "ApName": "sample string 7",
    "UnitName": "sample string 8",
    "WhId": 9,
    "WhName": "sample string 10",
    "QTY": 11.0,
    "Price": 12.0,
    "Amount": 13.0,
    "BatchNo": "sample string 14",
    "SerialNoItems": [
      {
        "FlowId": "sample string 1",
        "SerialNo": "sample string 2",
        "SerialNote": "sample string 3"
      },
      {
        "FlowId": "sample string 1",
        "SerialNo": "sample string 2",
        "SerialNote": "sample string 3"
      }
    ],
    "ProductionDate": "",
    "LifeTime": 0,
    "LifeTimeUnit": 0,
    "LifeTimeUnitName": "",
    "ExpirationDate": "",
    "BatchEnabled": false,
    "SerialEnabled": false,
    "LifeTimeEnabled": false
  },
  "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"
}