POST jxc_api/Warehousing/SearchRemainingSerials

Request Information

URI Parameters

None.

Body Parameters

RemainingSerialStatusCondition
NameDescriptionTypeAdditional information
SerialNo

string

None.

WhId

integer

None.

ProdId

integer

None.

ApId

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

SerialNos

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "SerialNo": "sample string 1",
  "WhId": 2,
  "ProdId": 3,
  "ApId": 4,
  "PageIndex": 5,
  "PageSize": 6,
  "SerialNos": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<RemainingSerialStatusCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.Shared.Queries">
  <ApId>4</ApId>
  <PageIndex>5</PageIndex>
  <PageSize>6</PageSize>
  <ProdId>3</ProdId>
  <SerialNo>sample string 1</SerialNo>
  <SerialNos xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SerialNos>
  <WhId>2</WhId>
</RemainingSerialStatusCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfRemainingSerialStatusModel
NameDescriptionTypeAdditional information
Items

Collection of RemainingSerialStatusModel

None.

SumModel

RemainingSerialStatusModel

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": [
    {
      "RowIndex": 1,
      "SerialNo": "sample string 2",
      "WhId": 3,
      "WhName": "sample string 4",
      "SerialNote": "sample string 5",
      "ApId": 6,
      "ApName": "sample string 7",
      "BatchNo": "sample string 8",
      "ProductionDate": "2025-04-05",
      "ExpirationDate": "sample string 10",
      "ProdId": 11
    },
    {
      "RowIndex": 1,
      "SerialNo": "sample string 2",
      "WhId": 3,
      "WhName": "sample string 4",
      "SerialNote": "sample string 5",
      "ApId": 6,
      "ApName": "sample string 7",
      "BatchNo": "sample string 8",
      "ProductionDate": "2025-04-05",
      "ExpirationDate": "sample string 10",
      "ProdId": 11
    }
  ],
  "SumModel": {
    "RowIndex": 1,
    "SerialNo": "sample string 2",
    "WhId": 3,
    "WhName": "sample string 4",
    "SerialNote": "sample string 5",
    "ApId": 6,
    "ApName": "sample string 7",
    "BatchNo": "sample string 8",
    "ProductionDate": "2025-04-05",
    "ExpirationDate": "sample string 10",
    "ProdId": 11
  },
  "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:
<NewApiPagedListOfRemainingSerialStatusModel95CRY2Ge 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.Model.Abstraction.NewApi.Shared.Queries">
    <d2p1:RemainingSerialStatusModel>
      <d2p1:ApId>6</d2p1:ApId>
      <d2p1:ApName>sample string 7</d2p1:ApName>
      <d2p1:BatchNo>sample string 8</d2p1:BatchNo>
      <d2p1:BillId>12</d2p1:BillId>
      <d2p1:BillType>Purchase</d2p1:BillType>
      <d2p1:EntryId>13</d2p1:EntryId>
      <d2p1:ExpirationDate>sample string 10</d2p1:ExpirationDate>
      <d2p1:IsChecked>14</d2p1:IsChecked>
      <d2p1:ProdId>11</d2p1:ProdId>
      <d2p1:ProductionTime>2025-04-05T02:23:46.7053775+08:00</d2p1:ProductionTime>
      <d2p1:RowIndex>1</d2p1:RowIndex>
      <d2p1:SerialNo>sample string 2</d2p1:SerialNo>
      <d2p1:SerialNote>sample string 5</d2p1:SerialNote>
      <d2p1:WhId>3</d2p1:WhId>
      <d2p1:WhName>sample string 4</d2p1:WhName>
    </d2p1:RemainingSerialStatusModel>
    <d2p1:RemainingSerialStatusModel>
      <d2p1:ApId>6</d2p1:ApId>
      <d2p1:ApName>sample string 7</d2p1:ApName>
      <d2p1:BatchNo>sample string 8</d2p1:BatchNo>
      <d2p1:BillId>12</d2p1:BillId>
      <d2p1:BillType>Purchase</d2p1:BillType>
      <d2p1:EntryId>13</d2p1:EntryId>
      <d2p1:ExpirationDate>sample string 10</d2p1:ExpirationDate>
      <d2p1:IsChecked>14</d2p1:IsChecked>
      <d2p1:ProdId>11</d2p1:ProdId>
      <d2p1:ProductionTime>2025-04-05T02:23:46.7053775+08:00</d2p1:ProductionTime>
      <d2p1:RowIndex>1</d2p1:RowIndex>
      <d2p1:SerialNo>sample string 2</d2p1:SerialNo>
      <d2p1:SerialNote>sample string 5</d2p1:SerialNote>
      <d2p1:WhId>3</d2p1:WhId>
      <d2p1:WhName>sample string 4</d2p1:WhName>
    </d2p1:RemainingSerialStatusModel>
  </_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.Model.Abstraction.NewApi.Shared.Queries">
    <d2p1:ApId>6</d2p1:ApId>
    <d2p1:ApName>sample string 7</d2p1:ApName>
    <d2p1:BatchNo>sample string 8</d2p1:BatchNo>
    <d2p1:BillId>12</d2p1:BillId>
    <d2p1:BillType>Purchase</d2p1:BillType>
    <d2p1:EntryId>13</d2p1:EntryId>
    <d2p1:ExpirationDate>sample string 10</d2p1:ExpirationDate>
    <d2p1:IsChecked>14</d2p1:IsChecked>
    <d2p1:ProdId>11</d2p1:ProdId>
    <d2p1:ProductionTime>2025-04-05T02:23:46.7053775+08:00</d2p1:ProductionTime>
    <d2p1:RowIndex>1</d2p1:RowIndex>
    <d2p1:SerialNo>sample string 2</d2p1:SerialNo>
    <d2p1:SerialNote>sample string 5</d2p1:SerialNote>
    <d2p1:WhId>3</d2p1:WhId>
    <d2p1:WhName>sample string 4</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>
</NewApiPagedListOfRemainingSerialStatusModel95CRY2Ge>