POST jxc_api/SellOrderList/SearchSourceBills

Request Information

URI Parameters

None.

Body Parameters

BillSearchConditions
NameDescriptionTypeAdditional information
isDetail

boolean

None.

VcId

integer

None.

SourceBillType

BillType

None.

BillType

BillType

None.

Keyword

string

None.

DateStart

date

None.

DateEnd

date

None.

PageIndex

integer

None.

PageSize

integer

None.

CurrUserSn

integer

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

DocumentDateType

integer

None.

DocumentDateArr

Collection of date

None.

DeliveryDateType

integer

None.

DeliveryDateArr

Collection of date

None.

OffDateType

integer

None.

OffDateArr

Collection of date

None.

InventoryDateType

integer

None.

InventoryDateArr

Collection of date

None.

Request Formats

application/json, text/json

Sample:
{
  "isDetail": true,
  "VcId": 2,
  "SourceBillType": 1010,
  "BillType": 1010,
  "Keyword": "sample string 3",
  "DateStart": "2024-05-03 17:19:21",
  "DateEnd": "2024-05-03 17:19:21",
  "PageIndex": 4,
  "PageSize": 5,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-05-03 17:19:21",
    "2024-05-03 17:19:21"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-05-03 17:19:21",
    "2024-05-03 17:19:21"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-05-03 17:19:21",
    "2024-05-03 17:19:21"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-05-03 17:19:21",
    "2024-05-03 17:19:21"
  ]
}

application/xml, text/xml

Sample:
<BillSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Sell">
  <DeliveryDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
  </DeliveryDateArr>
  <DeliveryDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">10</DeliveryDateType>
  <DocumentDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
  </DocumentDateArr>
  <DocumentDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">9</DocumentDateType>
  <InventoryDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
  </InventoryDateArr>
  <InventoryDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</InventoryDateType>
  <OffDateArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-05-03T17:19:21.4038991+08:00</d2p1:dateTime>
  </OffDateArr>
  <OffDateType xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">11</OffDateType>
  <CanOpeAllWh xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</CanOpeAllWh>
  <CanViewAllBill xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</CanViewAllBill>
  <CurrUserSn xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">6</CurrUserSn>
  <OpeWhList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </OpeWhList>
  <BillType>Purchase</BillType>
  <DateEnd>2024-05-03T17:19:21.4038991+08:00</DateEnd>
  <DateStart>2024-05-03T17:19:21.4038991+08:00</DateStart>
  <Keyword>sample string 3</Keyword>
  <PageIndex>4</PageIndex>
  <PageSize>5</PageSize>
  <SourceBillType>Purchase</SourceBillType>
  <VcId>2</VcId>
  <isDetail>true</isDetail>
</BillSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfSelectBillListModel
NameDescriptionTypeAdditional information
Items

Collection of SelectBillListModel

None.

SumModel

SelectBillListModel

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": [
    {
      "Id": 1,
      "EntryId": 2,
      "No": "sample string 3",
      "Date": "sample string 4",
      "DeliveryDate": "sample string 5",
      "VcName": "sample string 6",
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "UnitName": "sample string 10",
      "QTY": 11.0,
      "UsedQTY": 12.0,
      "RestQTY": -1.0,
      "ApName": "sample string 13"
    },
    {
      "Id": 1,
      "EntryId": 2,
      "No": "sample string 3",
      "Date": "sample string 4",
      "DeliveryDate": "sample string 5",
      "VcName": "sample string 6",
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "UnitName": "sample string 10",
      "QTY": 11.0,
      "UsedQTY": 12.0,
      "RestQTY": -1.0,
      "ApName": "sample string 13"
    }
  ],
  "SumModel": {
    "Id": 1,
    "EntryId": 2,
    "No": "sample string 3",
    "Date": "sample string 4",
    "DeliveryDate": "sample string 5",
    "VcName": "sample string 6",
    "ProdNo": "sample string 7",
    "ProdName": "sample string 8",
    "Spec": "sample string 9",
    "UnitName": "sample string 10",
    "QTY": 11.0,
    "UsedQTY": 12.0,
    "RestQTY": -1.0,
    "ApName": "sample string 13"
  },
  "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"
}