POST jxc_api/PurchaseOrderSummary/SearchByPurc

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.

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",
  "CurrUserSn": 9,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 12,
  "DocumentDateArr": [
    "2024-05-03 19:04:04",
    "2024-05-03 19:04:04"
  ],
  "DeliveryDateType": 13,
  "DeliveryDateArr": [
    "2024-05-03 19:04:04",
    "2024-05-03 19:04:04"
  ],
  "OffDateType": 14,
  "OffDateArr": [
    "2024-05-03 19:04:04",
    "2024-05-03 19:04:04"
  ],
  "InventoryDateType": 15,
  "InventoryDateArr": [
    "2024-05-03 19:04:04",
    "2024-05-03 19:04:04"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of PSummaryByPurc
NameDescriptionTypeAdditional information
PurcName

string

None.

PurCount

integer

None.

Amount

decimal number

None.

Tax

decimal number

None.

AmountTax

decimal number

None.

WhType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PurcName": "sample string 1",
    "PurCount": 2,
    "Amount": 3.0,
    "Tax": 4.0,
    "AmountTax": 5.0,
    "WhType": "sample string 6"
  },
  {
    "PurcName": "sample string 1",
    "PurCount": 2,
    "Amount": 3.0,
    "Tax": 4.0,
    "AmountTax": 5.0,
    "WhType": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPSummaryByPurc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Purchase.Models">
  <PSummaryByPurc>
    <Amount>3</Amount>
    <AmountTax>5</AmountTax>
    <PurCount>2</PurCount>
    <PurcName>sample string 1</PurcName>
    <Tax>4</Tax>
    <WhType>sample string 6</WhType>
  </PSummaryByPurc>
  <PSummaryByPurc>
    <Amount>3</Amount>
    <AmountTax>5</AmountTax>
    <PurCount>2</PurCount>
    <PurcName>sample string 1</PurcName>
    <Tax>4</Tax>
    <WhType>sample string 6</WhType>
  </PSummaryByPurc>
</ArrayOfPSummaryByPurc>