GET jxc_api/DDL/GetProductsInStock?prodId={prodId}&apId={apId}&whId={whId}&keyword={keyword}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
prodId

integer

Required

apId

integer

Required

whId

integer

Required

keyword

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetProductsInStockResult
NameDescriptionTypeAdditional information
RowIndex

integer

None.

ProdId

integer

None.

ProdName

string

None.

ApId

integer

None.

ApName

string

None.

ProductionTime

date

None.

ProductionDate

string

None.

ExpirationDate

string

None.

WhId

integer

None.

WhName

string

None.

UnitId

integer

None.

Qty

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RowIndex": 1,
    "ProdId": 2,
    "ProdName": "sample string 3",
    "ApId": 4,
    "ApName": "sample string 5",
    "ProductionTime": "2024-11-25 03:07:51",
    "ProductionDate": "2024-11-25",
    "ExpirationDate": "sample string 7",
    "WhId": 8,
    "WhName": "sample string 9",
    "UnitId": 10,
    "Qty": 11.0
  },
  {
    "RowIndex": 1,
    "ProdId": 2,
    "ProdName": "sample string 3",
    "ApId": 4,
    "ApName": "sample string 5",
    "ProductionTime": "2024-11-25 03:07:51",
    "ProductionDate": "2024-11-25",
    "ExpirationDate": "sample string 7",
    "WhId": 8,
    "WhName": "sample string 9",
    "UnitId": 10,
    "Qty": 11.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetProductsInStockResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Models">
  <GetProductsInStockResult>
    <ApId>4</ApId>
    <ApName>sample string 5</ApName>
    <ExpirationDate>sample string 7</ExpirationDate>
    <ProdId>2</ProdId>
    <ProdName>sample string 3</ProdName>
    <ProductionTime>2024-11-25T03:07:51.4859432+08:00</ProductionTime>
    <Qty>11</Qty>
    <RowIndex>1</RowIndex>
    <UnitId>10</UnitId>
    <WhId>8</WhId>
    <WhName>sample string 9</WhName>
  </GetProductsInStockResult>
  <GetProductsInStockResult>
    <ApId>4</ApId>
    <ApName>sample string 5</ApName>
    <ExpirationDate>sample string 7</ExpirationDate>
    <ProdId>2</ProdId>
    <ProdName>sample string 3</ProdName>
    <ProductionTime>2024-11-25T03:07:51.4859432+08:00</ProductionTime>
    <Qty>11</Qty>
    <RowIndex>1</RowIndex>
    <UnitId>10</UnitId>
    <WhId>8</WhId>
    <WhName>sample string 9</WhName>
  </GetProductsInStockResult>
</ArrayOfGetProductsInStockResult>