POST jxc_api/BatchNoTracking/Search

Request Information

URI Parameters

None.

Body Parameters

TrackingConditions
NameDescriptionTypeAdditional information
BillStart

date

None.

BillEnd

date

None.

BatchNo

string

None.

SerialNo

string

None.

ProdIds

Collection of integer

None.

WhIds

Collection of integer

None.

BillTypes

Collection of integer

None.

InvStatus

Collection of integer

None.

PageIndex

integer

None.

PageSize

integer

None.

CustIds

Collection of integer

None.

VendIds

Collection of integer

None.

Keywords

string

None.

IsAp

boolean

None.

ShowDisabled

boolean

None.

WithZero

boolean

None.

IsShowSubTotal

boolean

None.

ProdDateStart

date

None.

ProdDateEnd

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BillStart": "2024-11-25 02:56:30",
  "BillEnd": "2024-11-25 02:56:30",
  "BatchNo": "sample string 1",
  "SerialNo": "sample string 2",
  "ProdIds": [
    1,
    2
  ],
  "WhIds": [
    1,
    2
  ],
  "BillTypes": [
    1,
    2
  ],
  "InvStatus": [
    1,
    2
  ],
  "PageIndex": 3,
  "PageSize": 4,
  "CustIds": [
    1,
    2
  ],
  "VendIds": [
    1,
    2
  ],
  "Keywords": "sample string 5",
  "IsAp": true,
  "ShowDisabled": true,
  "WithZero": true,
  "IsShowSubTotal": true,
  "ProdDateStart": "2024-11-25 02:56:30",
  "ProdDateEnd": "2024-11-25 02:56:30"
}

application/xml, text/xml

Sample:
<TrackingConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Stock">
  <BatchNo>sample string 1</BatchNo>
  <BillEnd>2024-11-25T02:56:30.4401973+08:00</BillEnd>
  <BillStart>2024-11-25T02:56:30.4401973+08:00</BillStart>
  <BillTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BillTypes>
  <CustIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CustIds>
  <InvStatus xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </InvStatus>
  <IsAp>true</IsAp>
  <IsShowSubTotal>true</IsShowSubTotal>
  <Keywords>sample string 5</Keywords>
  <PageIndex>3</PageIndex>
  <PageSize>4</PageSize>
  <ProdDateEnd>2024-11-25T02:56:30.4401973+08:00</ProdDateEnd>
  <ProdDateStart>2024-11-25T02:56:30.4401973+08:00</ProdDateStart>
  <ProdIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ProdIds>
  <SerialNo>sample string 2</SerialNo>
  <ShowDisabled>true</ShowDisabled>
  <VendIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </VendIds>
  <WhIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </WhIds>
  <WithZero>true</WithZero>
</TrackingConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfBatchNoTrackingListModel
NameDescriptionTypeAdditional information
Items

Collection of BatchNoTrackingListModel

None.

SumModel

BatchNoTrackingListModel

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,
    {
      "ProdNo": "sample string 1",
      "ProdName": "sample string 2",
      "ProdSpec": "sample string 3",
      "ApId": 4,
      "ApName": "sample string 5",
      "CatName": "sample string 6",
      "Brand": "sample string 7",
      "BatchNo": "sample string 8",
      "ProductionDate": "",
      "LifeTime": 0,
      "LifeTimeUnit": 0,
      "LifeTimeUnitName": null,
      "ExpirationDate": "",
      "BillNo": null,
      "BType": 0,
      "BillType": null,
      "WhId": 0,
      "WhName": null,
      "UnitName": null,
      "Qty": 0.0,
      "BaseUnitName": null,
      "BaseQTY": 0.0,
      "VCName": null,
      "BillDate": null,
      "Price": 0.0,
      "PriceTax": 0.0,
      "DiscAmount": 0.0,
      "Amount": 0.0,
      "Tax": 0.0,
      "TaxAmount": 0.0,
      "Note": null,
      "BillId": 0,
      "BillDirection": 0,
      "CheckedDate": "0001-01-01 00:00:00"
    }
  ],
  "SumModel": {
    "ProdNo": "sample string 1",
    "ProdName": "sample string 2",
    "ProdSpec": "sample string 3",
    "ApId": 4,
    "ApName": "sample string 5",
    "CatName": "sample string 6",
    "Brand": "sample string 7",
    "BatchNo": "sample string 8",
    "ProductionDate": "",
    "LifeTime": 0,
    "LifeTimeUnit": 0,
    "LifeTimeUnitName": null,
    "ExpirationDate": "",
    "BillNo": null,
    "BType": 0,
    "BillType": null,
    "WhId": 0,
    "WhName": null,
    "UnitName": null,
    "Qty": 0.0,
    "BaseUnitName": null,
    "BaseQTY": 0.0,
    "VCName": null,
    "BillDate": null,
    "Price": 0.0,
    "PriceTax": 0.0,
    "DiscAmount": 0.0,
    "Amount": 0.0,
    "Tax": 0.0,
    "TaxAmount": 0.0,
    "Note": null,
    "BillId": 0,
    "BillDirection": 0,
    "CheckedDate": "0001-01-01 00:00:00"
  },
  "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"
}