POST jxc_api/PurchaseOrderSummary/Search

Request Information

URI Parameters

None.

Body Parameters

PoSummarySearchCondition
NameDescriptionTypeAdditional information
SummaryType

PurchaseSummaryType

None.

ProductIds

Collection of integer

None.

CatId

Collection of integer

None.

VendorIds

Collection of integer

None.

VendTypeId

Collection of integer

None.

Keywords

string

None.

BillStart

string

None.

BillEnd

string

None.

WarehouseId

Collection of integer

None.

ShowAP

boolean

None.

MaxRecCount

integer

None.

Purchaser

Collection of integer

None.

ApName

string

None.

WhCat

Collection of integer

None.

Spec

string

None.

ApIds

Collection of integer

None.

PurchaserName

string

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:
{
  "SummaryType": 1010,
  "ProductIds": [
    1,
    2
  ],
  "CatId": [
    1,
    2
  ],
  "VendorIds": [
    1,
    2
  ],
  "VendTypeId": [
    1,
    2
  ],
  "Keywords": "sample string 1",
  "BillStart": "sample string 2",
  "BillEnd": "sample string 3",
  "WarehouseId": [
    1,
    2
  ],
  "ShowAP": true,
  "MaxRecCount": 5,
  "Purchaser": [
    1,
    2
  ],
  "ApName": "sample string 6",
  "WhCat": [
    1,
    2
  ],
  "Spec": "sample string 7",
  "ApIds": [
    1,
    2
  ],
  "PurchaserName": "sample string 8",
  "PageIndex": 9,
  "PageSize": 10,
  "UsePager": true,
  "CurrUserSn": 12,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 15,
  "DocumentDateArr": [
    "2024-11-25 02:25:55",
    "2024-11-25 02:25:55"
  ],
  "DeliveryDateType": 16,
  "DeliveryDateArr": [
    "2024-11-25 02:25:55",
    "2024-11-25 02:25:55"
  ],
  "OffDateType": 17,
  "OffDateArr": [
    "2024-11-25 02:25:55",
    "2024-11-25 02:25:55"
  ],
  "InventoryDateType": 18,
  "InventoryDateArr": [
    "2024-11-25 02:25:55",
    "2024-11-25 02:25:55"
  ]
}

application/xml, text/xml

Sample:
<PoSummarySearchCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.PurchaseOrder">
  <_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:25:55.2554729+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:25:55.2554729+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">16</_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:25:55.2554729+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:25:55.2554729+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">15</_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:25:55.2554729+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:25:55.2554729+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">18</_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:25:55.2554729+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:25:55.2554729+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">17</_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">12</_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_ApIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ApIds_x003E_k__BackingField>
  <_x003C_ApName_x003E_k__BackingField>sample string 6</_x003C_ApName_x003E_k__BackingField>
  <_x003C_BillEnd_x003E_k__BackingField>sample string 3</_x003C_BillEnd_x003E_k__BackingField>
  <_x003C_BillStart_x003E_k__BackingField>sample string 2</_x003C_BillStart_x003E_k__BackingField>
  <_x003C_CatId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CatId_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 1</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_MaxRecCount_x003E_k__BackingField>5</_x003C_MaxRecCount_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>9</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>10</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ProductIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProductIds_x003E_k__BackingField>
  <_x003C_PurchaserName_x003E_k__BackingField>sample string 8</_x003C_PurchaserName_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_ShowAP_x003E_k__BackingField>true</_x003C_ShowAP_x003E_k__BackingField>
  <_x003C_Spec_x003E_k__BackingField>sample string 7</_x003C_Spec_x003E_k__BackingField>
  <_x003C_SummaryType_x003E_k__BackingField>ProductWarehouse</_x003C_SummaryType_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_VendTypeId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_VendTypeId_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_WarehouseId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WarehouseId_x003E_k__BackingField>
  <_x003C_WhCat_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WhCat_x003E_k__BackingField>
</PoSummarySearchCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportResultOfPurchaseSummaryModel
NameDescriptionTypeAdditional information
DataList

Collection of PurchaseSummaryModel

None.

TotalRow

PurchaseSummaryModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DataList": [
    {
      "IsCountRow": true,
      "VendId": 2,
      "VendName": "sample string 4",
      "VendTypeName": "sample string 5",
      "Purchaser": 6,
      "PurchaserName": "sample string 7",
      "ProdId": 8,
      "ProdNo": "sample string 9",
      "ProdName": "sample string 10",
      "CatName": "sample string 11",
      "Spec": "sample string 12",
      "ApId": 13,
      "ApName": "sample string 14",
      "WhId": 15,
      "WhName": "sample string 17",
      "WhType": "sample string 18",
      "UnitName": "sample string 19",
      "UnitQTY": "sample string 20",
      "UnitBaseName": "sample string 21",
      "QTY": 22.0,
      "Price": 23.0,
      "Amount": 24.0,
      "Tax": 25.0,
      "AmountTax": 26.0
    },
    {
      "IsCountRow": true,
      "VendId": 2,
      "VendName": "sample string 4",
      "VendTypeName": "sample string 5",
      "Purchaser": 6,
      "PurchaserName": "sample string 7",
      "ProdId": 8,
      "ProdNo": "sample string 9",
      "ProdName": "sample string 10",
      "CatName": "sample string 11",
      "Spec": "sample string 12",
      "ApId": 13,
      "ApName": "sample string 14",
      "WhId": 15,
      "WhName": "sample string 17",
      "WhType": "sample string 18",
      "UnitName": "sample string 19",
      "UnitQTY": "sample string 20",
      "UnitBaseName": "sample string 21",
      "QTY": 22.0,
      "Price": 23.0,
      "Amount": 24.0,
      "Tax": 25.0,
      "AmountTax": 26.0
    }
  ],
  "TotalRow": {
    "IsCountRow": true,
    "VendId": 2,
    "VendName": "sample string 4",
    "VendTypeName": "sample string 5",
    "Purchaser": 6,
    "PurchaserName": "sample string 7",
    "ProdId": 8,
    "ProdNo": "sample string 9",
    "ProdName": "sample string 10",
    "CatName": "sample string 11",
    "Spec": "sample string 12",
    "ApId": 13,
    "ApName": "sample string 14",
    "WhId": 15,
    "WhName": "sample string 17",
    "WhType": "sample string 18",
    "UnitName": "sample string 19",
    "UnitQTY": "sample string 20",
    "UnitBaseName": "sample string 21",
    "QTY": 22.0,
    "Price": 23.0,
    "Amount": 24.0,
    "Tax": 25.0,
    "AmountTax": 26.0
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "RDocumentStartDate": "sample string 4",
  "RDocumentEndDate": "sample string 5",
  "RDeliveryStartDate": "sample string 6",
  "RDeliveryEndDate": "sample string 7"
}

application/xml, text/xml

Sample:
<ReportResultOfPurchaseSummaryModelbOHsI2Lx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi">
  <RDeliveryEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 7</RDeliveryEndDate>
  <RDeliveryStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 6</RDeliveryStartDate>
  <RDocumentEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 5</RDocumentEndDate>
  <RDocumentStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 4</RDocumentStartDate>
  <DataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models">
    <d2p1:PurchaseSummaryModel>
      <d2p1:Amount>24</d2p1:Amount>
      <d2p1:AmountTax>26</d2p1:AmountTax>
      <d2p1:ApId>13</d2p1:ApId>
      <d2p1:ApName>sample string 14</d2p1:ApName>
      <d2p1:CatName>sample string 11</d2p1:CatName>
      <d2p1:IsCountRow>true</d2p1:IsCountRow>
      <d2p1:Price>23</d2p1:Price>
      <d2p1:ProdId>8</d2p1:ProdId>
      <d2p1:ProdName>sample string 10</d2p1:ProdName>
      <d2p1:ProdNo>sample string 9</d2p1:ProdNo>
      <d2p1:Purchaser>6</d2p1:Purchaser>
      <d2p1:PurchaserName>sample string 7</d2p1:PurchaserName>
      <d2p1:QTY>22</d2p1:QTY>
      <d2p1:Spec>sample string 12</d2p1:Spec>
      <d2p1:Tax>25</d2p1:Tax>
      <d2p1:UnitBaseName>sample string 21</d2p1:UnitBaseName>
      <d2p1:UnitName>sample string 19</d2p1:UnitName>
      <d2p1:UnitQTY>sample string 20</d2p1:UnitQTY>
      <d2p1:VendId>2</d2p1:VendId>
      <d2p1:VendName>sample string 4</d2p1:VendName>
      <d2p1:VendNo>sample string 3</d2p1:VendNo>
      <d2p1:VendTypeName>sample string 5</d2p1:VendTypeName>
      <d2p1:WhId>15</d2p1:WhId>
      <d2p1:WhName>sample string 17</d2p1:WhName>
      <d2p1:WhNo>sample string 16</d2p1:WhNo>
      <d2p1:WhType>sample string 18</d2p1:WhType>
    </d2p1:PurchaseSummaryModel>
    <d2p1:PurchaseSummaryModel>
      <d2p1:Amount>24</d2p1:Amount>
      <d2p1:AmountTax>26</d2p1:AmountTax>
      <d2p1:ApId>13</d2p1:ApId>
      <d2p1:ApName>sample string 14</d2p1:ApName>
      <d2p1:CatName>sample string 11</d2p1:CatName>
      <d2p1:IsCountRow>true</d2p1:IsCountRow>
      <d2p1:Price>23</d2p1:Price>
      <d2p1:ProdId>8</d2p1:ProdId>
      <d2p1:ProdName>sample string 10</d2p1:ProdName>
      <d2p1:ProdNo>sample string 9</d2p1:ProdNo>
      <d2p1:Purchaser>6</d2p1:Purchaser>
      <d2p1:PurchaserName>sample string 7</d2p1:PurchaserName>
      <d2p1:QTY>22</d2p1:QTY>
      <d2p1:Spec>sample string 12</d2p1:Spec>
      <d2p1:Tax>25</d2p1:Tax>
      <d2p1:UnitBaseName>sample string 21</d2p1:UnitBaseName>
      <d2p1:UnitName>sample string 19</d2p1:UnitName>
      <d2p1:UnitQTY>sample string 20</d2p1:UnitQTY>
      <d2p1:VendId>2</d2p1:VendId>
      <d2p1:VendName>sample string 4</d2p1:VendName>
      <d2p1:VendNo>sample string 3</d2p1:VendNo>
      <d2p1:VendTypeName>sample string 5</d2p1:VendTypeName>
      <d2p1:WhId>15</d2p1:WhId>
      <d2p1:WhName>sample string 17</d2p1:WhName>
      <d2p1:WhNo>sample string 16</d2p1:WhNo>
      <d2p1:WhType>sample string 18</d2p1:WhType>
    </d2p1:PurchaseSummaryModel>
  </DataList>
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
  <Total>3</Total>
  <TotalRow xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models">
    <d2p1:Amount>24</d2p1:Amount>
    <d2p1:AmountTax>26</d2p1:AmountTax>
    <d2p1:ApId>13</d2p1:ApId>
    <d2p1:ApName>sample string 14</d2p1:ApName>
    <d2p1:CatName>sample string 11</d2p1:CatName>
    <d2p1:IsCountRow>true</d2p1:IsCountRow>
    <d2p1:Price>23</d2p1:Price>
    <d2p1:ProdId>8</d2p1:ProdId>
    <d2p1:ProdName>sample string 10</d2p1:ProdName>
    <d2p1:ProdNo>sample string 9</d2p1:ProdNo>
    <d2p1:Purchaser>6</d2p1:Purchaser>
    <d2p1:PurchaserName>sample string 7</d2p1:PurchaserName>
    <d2p1:QTY>22</d2p1:QTY>
    <d2p1:Spec>sample string 12</d2p1:Spec>
    <d2p1:Tax>25</d2p1:Tax>
    <d2p1:UnitBaseName>sample string 21</d2p1:UnitBaseName>
    <d2p1:UnitName>sample string 19</d2p1:UnitName>
    <d2p1:UnitQTY>sample string 20</d2p1:UnitQTY>
    <d2p1:VendId>2</d2p1:VendId>
    <d2p1:VendName>sample string 4</d2p1:VendName>
    <d2p1:VendNo>sample string 3</d2p1:VendNo>
    <d2p1:VendTypeName>sample string 5</d2p1:VendTypeName>
    <d2p1:WhId>15</d2p1:WhId>
    <d2p1:WhName>sample string 17</d2p1:WhName>
    <d2p1:WhNo>sample string 16</d2p1:WhNo>
    <d2p1:WhType>sample string 18</d2p1:WhType>
  </TotalRow>
</ReportResultOfPurchaseSummaryModelbOHsI2Lx>