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.

CustomSearchAndOrderCondition

CustomSearchAndOrderCondition

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
    }
  ],
  "CustomSearchAndOrderCondition": {
    "OrderColumnName": "sample string 1",
    "OrderType": 0,
    "CustomSearchParams": [
      {
        "ColumnName": "sample string 1",
        "Params": [
          {},
          {}
        ]
      },
      {
        "ColumnName": "sample string 1",
        "Params": [
          {},
          {}
        ]
      }
    ]
  }
}

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">
  <CustomSearchAndOrderCondition xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData">
    <d2p1:CustomSearchParams>
      <d2p1:CustomSearchParam>
        <d2p1:ColumnName>sample string 1</d2p1:ColumnName>
        <d2p1:Params xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:Params>
      </d2p1:CustomSearchParam>
      <d2p1:CustomSearchParam>
        <d2p1:ColumnName>sample string 1</d2p1:ColumnName>
        <d2p1:Params xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:anyType />
          <d5p1:anyType />
        </d2p1:Params>
      </d2p1:CustomSearchParam>
    </d2p1:CustomSearchParams>
    <d2p1:OrderColumnName>sample string 1</d2p1:OrderColumnName>
    <d2p1:OrderType>None</d2p1:OrderType>
  </CustomSearchAndOrderCondition>
  <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": [
    {
      "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": 16,
      "LifeTimeUnit": 1010,
      "LifeTimeUnitName": "天",
      "ExpirationDate": "",
      "BatchEnabled": true,
      "SerialEnabled": true,
      "LifeTimeEnabled": true
    },
    {
      "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": 16,
      "LifeTimeUnit": 1010,
      "LifeTimeUnitName": "天",
      "ExpirationDate": "",
      "BatchEnabled": true,
      "SerialEnabled": true,
      "LifeTimeEnabled": true
    }
  ],
  "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": 16,
    "LifeTimeUnit": 1010,
    "LifeTimeUnitName": "天",
    "ExpirationDate": "",
    "BatchEnabled": true,
    "SerialEnabled": true,
    "LifeTimeEnabled": 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"
}

application/xml, text/xml

Sample:
<NewApiPagedListOfProductInitialStockListModel7C9EvUTK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_x003C_RDeliveryEndDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 8</_x003C_RDeliveryEndDate_x003E_k__BackingField>
  <_x003C_RDeliveryStartDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 7</_x003C_RDeliveryStartDate_x003E_k__BackingField>
  <_x003C_RDocumentEndDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 6</_x003C_RDocumentEndDate_x003E_k__BackingField>
  <_x003C_RDocumentStartDate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 5</_x003C_RDocumentStartDate_x003E_k__BackingField>
  <_x003C_CategoriesFounded_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CategoriesFounded_x003E_k__BackingField>
  <_x003C_Items_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Product">
    <d2p1:ProductInitialStockListModel>
      <d2p1:Amount>13</d2p1:Amount>
      <d2p1:ApId>6</d2p1:ApId>
      <d2p1:ApName>sample string 7</d2p1:ApName>
      <d2p1:BatchEnabled>true</d2p1:BatchEnabled>
      <d2p1:BatchNo>sample string 14</d2p1:BatchNo>
      <d2p1:ExpirationDate></d2p1:ExpirationDate>
      <d2p1:IsId>1</d2p1:IsId>
      <d2p1:LifeTime>16</d2p1:LifeTime>
      <d2p1:LifeTimeEnabled>true</d2p1:LifeTimeEnabled>
      <d2p1:LifeTimeUnit>Day</d2p1:LifeTimeUnit>
      <d2p1:Price>12</d2p1:Price>
      <d2p1:ProdId>2</d2p1:ProdId>
      <d2p1:ProdName>sample string 4</d2p1:ProdName>
      <d2p1:ProdNo>sample string 3</d2p1:ProdNo>
      <d2p1:ProdSpec>sample string 5</d2p1:ProdSpec>
      <d2p1:ProductionDate></d2p1:ProductionDate>
      <d2p1:QTY>11</d2p1:QTY>
      <d2p1:SerialEnabled>true</d2p1:SerialEnabled>
      <d2p1:SerialNoItems xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
      </d2p1:SerialNoItems>
      <d2p1:UnitName>sample string 8</d2p1:UnitName>
      <d2p1:WhId>9</d2p1:WhId>
      <d2p1:WhName>sample string 10</d2p1:WhName>
    </d2p1:ProductInitialStockListModel>
    <d2p1:ProductInitialStockListModel>
      <d2p1:Amount>13</d2p1:Amount>
      <d2p1:ApId>6</d2p1:ApId>
      <d2p1:ApName>sample string 7</d2p1:ApName>
      <d2p1:BatchEnabled>true</d2p1:BatchEnabled>
      <d2p1:BatchNo>sample string 14</d2p1:BatchNo>
      <d2p1:ExpirationDate></d2p1:ExpirationDate>
      <d2p1:IsId>1</d2p1:IsId>
      <d2p1:LifeTime>16</d2p1:LifeTime>
      <d2p1:LifeTimeEnabled>true</d2p1:LifeTimeEnabled>
      <d2p1:LifeTimeUnit>Day</d2p1:LifeTimeUnit>
      <d2p1:Price>12</d2p1:Price>
      <d2p1:ProdId>2</d2p1:ProdId>
      <d2p1:ProdName>sample string 4</d2p1:ProdName>
      <d2p1:ProdNo>sample string 3</d2p1:ProdNo>
      <d2p1:ProdSpec>sample string 5</d2p1:ProdSpec>
      <d2p1:ProductionDate></d2p1:ProductionDate>
      <d2p1:QTY>11</d2p1:QTY>
      <d2p1:SerialEnabled>true</d2p1:SerialEnabled>
      <d2p1:SerialNoItems xmlns:d4p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
        <d4p1:ProductSerialNoEditModel>
          <d4p1:FlowId>sample string 1</d4p1:FlowId>
          <d4p1:SerialNo>sample string 2</d4p1:SerialNo>
          <d4p1:SerialNote>sample string 3</d4p1:SerialNote>
        </d4p1:ProductSerialNoEditModel>
      </d2p1:SerialNoItems>
      <d2p1:UnitName>sample string 8</d2p1:UnitName>
      <d2p1:WhId>9</d2p1:WhId>
      <d2p1:WhName>sample string 10</d2p1:WhName>
    </d2p1:ProductInitialStockListModel>
  </_x003C_Items_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>1</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>2</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_SumModel_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Product">
    <d2p1:Amount>13</d2p1:Amount>
    <d2p1:ApId>6</d2p1:ApId>
    <d2p1:ApName>sample string 7</d2p1:ApName>
    <d2p1:BatchEnabled>true</d2p1:BatchEnabled>
    <d2p1:BatchNo>sample string 14</d2p1:BatchNo>
    <d2p1:ExpirationDate></d2p1:ExpirationDate>
    <d2p1:IsId>1</d2p1:IsId>
    <d2p1:LifeTime>16</d2p1:LifeTime>
    <d2p1:LifeTimeEnabled>true</d2p1:LifeTimeEnabled>
    <d2p1:LifeTimeUnit>Day</d2p1:LifeTimeUnit>
    <d2p1:Price>12</d2p1:Price>
    <d2p1:ProdId>2</d2p1:ProdId>
    <d2p1:ProdName>sample string 4</d2p1:ProdName>
    <d2p1:ProdNo>sample string 3</d2p1:ProdNo>
    <d2p1:ProdSpec>sample string 5</d2p1:ProdSpec>
    <d2p1:ProductionDate></d2p1:ProductionDate>
    <d2p1:QTY>11</d2p1:QTY>
    <d2p1:SerialEnabled>true</d2p1:SerialEnabled>
    <d2p1:SerialNoItems xmlns:d3p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models.Shared">
      <d3p1:ProductSerialNoEditModel>
        <d3p1:FlowId>sample string 1</d3p1:FlowId>
        <d3p1:SerialNo>sample string 2</d3p1:SerialNo>
        <d3p1:SerialNote>sample string 3</d3p1:SerialNote>
      </d3p1:ProductSerialNoEditModel>
      <d3p1:ProductSerialNoEditModel>
        <d3p1:FlowId>sample string 1</d3p1:FlowId>
        <d3p1:SerialNo>sample string 2</d3p1:SerialNo>
        <d3p1:SerialNote>sample string 3</d3p1:SerialNote>
      </d3p1:ProductSerialNoEditModel>
    </d2p1:SerialNoItems>
    <d2p1:UnitName>sample string 8</d2p1:UnitName>
    <d2p1:WhId>9</d2p1:WhId>
    <d2p1:WhName>sample string 10</d2p1:WhName>
  </_x003C_SumModel_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>3</_x003C_Total_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
</NewApiPagedListOfProductInitialStockListModel7C9EvUTK>