POST jxc_api/PurchaseOrderList/Search

Request Information

URI Parameters

None.

Body Parameters

PoSearchConditions
NameDescriptionTypeAdditional information
Start

date

None.

End

date

None.

DeliveryDateStart

date

None.

DeliveryDateEnd

date

None.

Status

Collection of integer

None.

Checked

Collection of integer

None.

Keywords

string

None.

BillType

Collection of integer

None.

Ids

Collection of integer

None.

AccountingItemId

Collection of integer

None.

DepartmentId

Collection of integer

None.

PageIndex

integer

None.

PageSize

integer

None.

ExportDetails

boolean

None.

Purchaser

Collection of integer

None.

ProdIds

Collection of integer

None.

VendorIds

Collection of integer

None.

WhIds

Collection of integer

None.

CreatedBy

Collection of integer

None.

CheckedBy

Collection of integer

None.

ConsiderTime

boolean

None.

InvoiceType

Collection of integer

None.

ExportType

ThreeSheetExportType

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:
{
  "Start": "2024-11-25 02:21:13",
  "End": "2024-11-25 02:21:13",
  "DeliveryDateStart": "2024-11-25 02:21:13",
  "DeliveryDateEnd": "2024-11-25 02:21:13",
  "Status": [
    1,
    2
  ],
  "Checked": [
    1,
    2
  ],
  "Keywords": "sample string 3",
  "BillType": [
    1,
    2
  ],
  "Ids": [
    1,
    2
  ],
  "AccountingItemId": [
    1,
    2
  ],
  "DepartmentId": [
    1,
    2
  ],
  "PageIndex": 4,
  "PageSize": 5,
  "ExportDetails": true,
  "Purchaser": [
    1,
    2
  ],
  "ProdIds": [
    1,
    2
  ],
  "VendorIds": [
    1,
    2
  ],
  "WhIds": [
    1,
    2
  ],
  "CreatedBy": [
    1,
    2
  ],
  "CheckedBy": [
    1,
    2
  ],
  "ConsiderTime": true,
  "InvoiceType": [
    1,
    2
  ],
  "ExportType": 1,
  "CurrUserSn": 8,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 11,
  "DocumentDateArr": [
    "2024-11-25 02:21:13",
    "2024-11-25 02:21:13"
  ],
  "DeliveryDateType": 12,
  "DeliveryDateArr": [
    "2024-11-25 02:21:13",
    "2024-11-25 02:21:13"
  ],
  "OffDateType": 13,
  "OffDateArr": [
    "2024-11-25 02:21:13",
    "2024-11-25 02:21:13"
  ],
  "InventoryDateType": 14,
  "InventoryDateArr": [
    "2024-11-25 02:21:13",
    "2024-11-25 02:21:13"
  ]
}

application/xml, text/xml

Sample:
<PoSearchConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Purchase">
  <_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:21:13.7236702+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:21:13.7236702+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-25T02:21:13.7236702+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:21:13.7236702+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-25T02:21:13.7236702+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:21:13.7236702+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-25T02:21:13.7236702+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:21:13.7236702+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_AccountingItemId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_AccountingItemId_x003E_k__BackingField>
  <_x003C_BillType_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_BillType_x003E_k__BackingField>
  <_x003C_CheckedBy_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CheckedBy_x003E_k__BackingField>
  <_x003C_Checked_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Checked_x003E_k__BackingField>
  <_x003C_ConsiderTime_x003E_k__BackingField>true</_x003C_ConsiderTime_x003E_k__BackingField>
  <_x003C_CreatedBy_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CreatedBy_x003E_k__BackingField>
  <_x003C_DeliveryDateEnd_x003E_k__BackingField>2024-11-25T02:21:13.7236702+08:00</_x003C_DeliveryDateEnd_x003E_k__BackingField>
  <_x003C_DeliveryDateStart_x003E_k__BackingField>2024-11-25T02:21:13.7236702+08:00</_x003C_DeliveryDateStart_x003E_k__BackingField>
  <_x003C_DepartmentId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_DepartmentId_x003E_k__BackingField>
  <_x003C_End_x003E_k__BackingField>2024-11-25T02:21:13.7236702+08:00</_x003C_End_x003E_k__BackingField>
  <_x003C_ExportDetails_x003E_k__BackingField>true</_x003C_ExportDetails_x003E_k__BackingField>
  <_x003C_ExportType_x003E_k__BackingField>DETAIL_MERGE_ONLY</_x003C_ExportType_x003E_k__BackingField>
  <_x003C_Ids_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Ids_x003E_k__BackingField>
  <_x003C_InvoiceType_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_InvoiceType_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 3</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>4</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>5</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ProdIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProdIds_x003E_k__BackingField>
  <_x003C_Purchaser_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Purchaser_x003E_k__BackingField>
  <_x003C_Start_x003E_k__BackingField>2024-11-25T02:21:13.7236702+08:00</_x003C_Start_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Status_x003E_k__BackingField>
  <_x003C_VendorIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_VendorIds_x003E_k__BackingField>
  <_x003C_WhIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WhIds_x003E_k__BackingField>
</PoSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfPurchaseOrderListModel
NameDescriptionTypeAdditional information
Items

Collection of PurchaseOrderListModel

None.

SumModel

PurchaseOrderListModel

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,
      "IsChecked": 2,
      "CheckedStatus": "sample string 3",
      "WhsStatusStr": "sample string 4",
      "WhsStatus": 1010,
      "IsClosed": true,
      "DisplayStatus": "sample string 6",
      "Date": "sample string 7",
      "No": "sample string 8",
      "BTypeName": "sample string 9",
      "VendName": "sample string 10",
      "VendNo": "sample string 11",
      "Purchaser": 12,
      "PurchaserName": "sample string 13",
      "RelaWhs": [
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        },
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        }
      ],
      "RelaSos": [
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        },
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        }
      ],
      "QTY": 14.0,
      "AmountTax": 15.0,
      "BillDiscRate": 16.0,
      "BillDiscAmount": 17.0,
      "BillDiscAfterAmount": 18.0,
      "Amount": 18.0,
      "AcNames": "sample string 19",
      "AmountFirst": 20.0,
      "DeliveryDate": "sample string 21",
      "PrintCount": "sample string 22",
      "CreatedByName": "sample string 23",
      "CheckedByName": "sample string 24",
      "Note": "sample string 25",
      "AccountingItemId": 26,
      "AccountingItemName": "sample string 27",
      "DepartmentId": 28,
      "DepartmentName": "sample string 29",
      "SettlePeriodId": 30,
      "SettlePeriodName": "sample string 31",
      "SettlePeriodDate": "sample string 32",
      "InvoiceType": 33,
      "InvoiceTypeName": "sample string 34"
    },
    {
      "Id": 1,
      "IsChecked": 2,
      "CheckedStatus": "sample string 3",
      "WhsStatusStr": "sample string 4",
      "WhsStatus": 1010,
      "IsClosed": true,
      "DisplayStatus": "sample string 6",
      "Date": "sample string 7",
      "No": "sample string 8",
      "BTypeName": "sample string 9",
      "VendName": "sample string 10",
      "VendNo": "sample string 11",
      "Purchaser": 12,
      "PurchaserName": "sample string 13",
      "RelaWhs": [
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        },
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        }
      ],
      "RelaSos": [
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        },
        {
          "Id": 1,
          "No": "sample string 2",
          "BType": 1010
        }
      ],
      "QTY": 14.0,
      "AmountTax": 15.0,
      "BillDiscRate": 16.0,
      "BillDiscAmount": 17.0,
      "BillDiscAfterAmount": 18.0,
      "Amount": 18.0,
      "AcNames": "sample string 19",
      "AmountFirst": 20.0,
      "DeliveryDate": "sample string 21",
      "PrintCount": "sample string 22",
      "CreatedByName": "sample string 23",
      "CheckedByName": "sample string 24",
      "Note": "sample string 25",
      "AccountingItemId": 26,
      "AccountingItemName": "sample string 27",
      "DepartmentId": 28,
      "DepartmentName": "sample string 29",
      "SettlePeriodId": 30,
      "SettlePeriodName": "sample string 31",
      "SettlePeriodDate": "sample string 32",
      "InvoiceType": 33,
      "InvoiceTypeName": "sample string 34"
    }
  ],
  "SumModel": {
    "Id": 1,
    "IsChecked": 2,
    "CheckedStatus": "sample string 3",
    "WhsStatusStr": "sample string 4",
    "WhsStatus": 1010,
    "IsClosed": true,
    "DisplayStatus": "sample string 6",
    "Date": "sample string 7",
    "No": "sample string 8",
    "BTypeName": "sample string 9",
    "VendName": "sample string 10",
    "VendNo": "sample string 11",
    "Purchaser": 12,
    "PurchaserName": "sample string 13",
    "RelaWhs": [
      {
        "Id": 1,
        "No": "sample string 2",
        "BType": 1010
      },
      {
        "Id": 1,
        "No": "sample string 2",
        "BType": 1010
      }
    ],
    "RelaSos": [
      {
        "Id": 1,
        "No": "sample string 2",
        "BType": 1010
      },
      {
        "Id": 1,
        "No": "sample string 2",
        "BType": 1010
      }
    ],
    "QTY": 14.0,
    "AmountTax": 15.0,
    "BillDiscRate": 16.0,
    "BillDiscAmount": 17.0,
    "BillDiscAfterAmount": 18.0,
    "Amount": 18.0,
    "AcNames": "sample string 19",
    "AmountFirst": 20.0,
    "DeliveryDate": "sample string 21",
    "PrintCount": "sample string 22",
    "CreatedByName": "sample string 23",
    "CheckedByName": "sample string 24",
    "Note": "sample string 25",
    "AccountingItemId": 26,
    "AccountingItemName": "sample string 27",
    "DepartmentId": 28,
    "DepartmentName": "sample string 29",
    "SettlePeriodId": 30,
    "SettlePeriodName": "sample string 31",
    "SettlePeriodDate": "sample string 32",
    "InvoiceType": 33,
    "InvoiceTypeName": "sample string 34"
  },
  "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"
}