POST jxc_api/SellDeliveryList/SearchInvoices

Request Information

URI Parameters

None.

Body Parameters

SearchInvoicesPara
NameDescriptionTypeAdditional information
SearchText

string

None.

Start

string

None.

End

string

None.

InvoiceType

InvoiceType

None.

VcId

integer

None.

PayeeType

ContactType

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

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:
{
  "SearchText": "sample string 1",
  "Start": "sample string 2",
  "End": "sample string 3",
  "InvoiceType": 1010,
  "VcId": 4,
  "PayeeType": 1010,
  "PageIndex": 5,
  "PageSize": 6,
  "UsePager": true,
  "CurrUserSn": 8,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 11,
  "DocumentDateArr": [
    "2024-11-25 03:07:44",
    "2024-11-25 03:07:44"
  ],
  "DeliveryDateType": 12,
  "DeliveryDateArr": [
    "2024-11-25 03:07:44",
    "2024-11-25 03:07:44"
  ],
  "OffDateType": 13,
  "OffDateArr": [
    "2024-11-25 03:07:44",
    "2024-11-25 03:07:44"
  ],
  "InventoryDateType": 14,
  "InventoryDateArr": [
    "2024-11-25 03:07:44",
    "2024-11-25 03:07:44"
  ]
}

application/xml, text/xml

Sample:
<SearchInvoicesPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models">
  <_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-25T03:07:44.2169792+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:07:44.2169792+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">12</_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-25T03:07:44.2169792+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:07:44.2169792+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">11</_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-25T03:07:44.2169792+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:07:44.2169792+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">14</_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-25T03:07:44.2169792+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:07:44.2169792+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">13</_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">8</_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>
  <_x003C_PageIndex_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">5</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">6</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">true</_x003C_UsePager_x003E_k__BackingField>
  <End>sample string 3</End>
  <InvoiceType>NoInvoice</InvoiceType>
  <PayeeType>Customer</PayeeType>
  <SearchText>sample string 1</SearchText>
  <Start>sample string 2</Start>
  <VcId>4</VcId>
</SearchInvoicesPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfInvoiceEnrollListModel
NameDescriptionTypeAdditional information
Items

Collection of InvoiceEnrollListModel

None.

SumModel

InvoiceEnrollListModel

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,
      "VcId": 2,
      "Date": "2024-11-25 03:07:44",
      "DateFmt": "2024-11-25",
      "No": "sample string 4",
      "Type": 1010,
      "TypeName": "sample string 5",
      "Amount": 6.0,
      "Tax": 7.0,
      "AmountTax": 8.0,
      "OfdAmount": 9.0,
      "OfuAmount": -1.0,
      "OfAmount": 10.0,
      "PayeeType": 1010,
      "PayeeId": 11
    },
    {
      "Id": 1,
      "VcId": 2,
      "Date": "2024-11-25 03:07:44",
      "DateFmt": "2024-11-25",
      "No": "sample string 4",
      "Type": 1010,
      "TypeName": "sample string 5",
      "Amount": 6.0,
      "Tax": 7.0,
      "AmountTax": 8.0,
      "OfdAmount": 9.0,
      "OfuAmount": -1.0,
      "OfAmount": 10.0,
      "PayeeType": 1010,
      "PayeeId": 11
    }
  ],
  "SumModel": {
    "Id": 1,
    "VcId": 2,
    "Date": "2024-11-25 03:07:44",
    "DateFmt": "2024-11-25",
    "No": "sample string 4",
    "Type": 1010,
    "TypeName": "sample string 5",
    "Amount": 6.0,
    "Tax": 7.0,
    "AmountTax": 8.0,
    "OfdAmount": 9.0,
    "OfuAmount": -1.0,
    "OfAmount": 10.0,
    "PayeeType": 1010,
    "PayeeId": 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"
}