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-11-25 02:44:15",
  "DateEnd": "2024-11-25 02:44:15",
  "PageIndex": 4,
  "PageSize": 5,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-11-25 02:44:15",
    "2024-11-25 02:44:15"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-11-25 02:44:15",
    "2024-11-25 02:44:15"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-11-25 02:44:15",
    "2024-11-25 02:44:15"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-11-25 02:44:15",
    "2024-11-25 02:44:15"
  ]
}

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">
  <_x003C_DeliveryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
  </_x003C_DeliveryDateArr_x003E_k__BackingField>
  <_x003C_DeliveryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">10</_x003C_DeliveryDateType_x003E_k__BackingField>
  <_x003C_DocumentDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
  </_x003C_DocumentDateArr_x003E_k__BackingField>
  <_x003C_DocumentDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">9</_x003C_DocumentDateType_x003E_k__BackingField>
  <_x003C_InventoryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
  </_x003C_InventoryDateArr_x003E_k__BackingField>
  <_x003C_InventoryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</_x003C_InventoryDateType_x003E_k__BackingField>
  <_x003C_OffDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:44:15.7282055+08:00</d2p1:dateTime>
  </_x003C_OffDateArr_x003E_k__BackingField>
  <_x003C_OffDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">11</_x003C_OffDateType_x003E_k__BackingField>
  <_x003C_CanOpeAllWh_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanOpeAllWh_x003E_k__BackingField>
  <_x003C_CanViewAllBill_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanViewAllBill_x003E_k__BackingField>
  <_x003C_CurrUserSn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">6</_x003C_CurrUserSn_x003E_k__BackingField>
  <_x003C_OpeWhList_x003E_k__BackingField 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>
  </_x003C_OpeWhList_x003E_k__BackingField>
  <BillType>Purchase</BillType>
  <DateEnd>2024-11-25T02:44:15.7282055+08:00</DateEnd>
  <DateStart>2024-11-25T02:44:15.7282055+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"
}