POST jxc_api/SellOrderSummary/SearchByCust

Request Information

URI Parameters

None.

Body Parameters

SoSummarySearchCondition
NameDescriptionTypeAdditional information
SummaryType

SaleSummaryType

None.

ProductIds

Collection of integer

None.

Category

Collection of integer

None.

CustomerIds

Collection of integer

None.

CustTypeId

Collection of integer

None.

SalesId

Collection of integer

None.

DepartmentId

Collection of integer

None.

Keywords

string

None.

BillStart

string

None.

BillEnd

string

None.

WarehouseId

Collection of integer

None.

WhCat

Collection of integer

None.

ShowAP

boolean

None.

WithGrossProfit

boolean

None.

ShowSubtotalRows

boolean

None.

MaxRecCount

integer

None.

ApName

string

None.

ApIds

Collection of integer

None.

Spec

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
  ],
  "Category": [
    1,
    2
  ],
  "CustomerIds": [
    1,
    2
  ],
  "CustTypeId": [
    1,
    2
  ],
  "SalesId": [
    1,
    2
  ],
  "DepartmentId": [
    1,
    2
  ],
  "Keywords": "sample string 1",
  "BillStart": "sample string 2",
  "BillEnd": "sample string 3",
  "WarehouseId": [
    1,
    2
  ],
  "WhCat": [
    1,
    2
  ],
  "ShowAP": true,
  "WithGrossProfit": true,
  "ShowSubtotalRows": true,
  "MaxRecCount": 7,
  "ApName": "sample string 8",
  "ApIds": [
    1,
    2
  ],
  "Spec": "sample string 9",
  "PageIndex": 10,
  "PageSize": 11,
  "UsePager": true,
  "CurrUserSn": 13,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 16,
  "DocumentDateArr": [
    "2024-11-25 02:24:25",
    "2024-11-25 02:24:25"
  ],
  "DeliveryDateType": 17,
  "DeliveryDateArr": [
    "2024-11-25 02:24:25",
    "2024-11-25 02:24:25"
  ],
  "OffDateType": 18,
  "OffDateArr": [
    "2024-11-25 02:24:25",
    "2024-11-25 02:24:25"
  ],
  "InventoryDateType": 19,
  "InventoryDateArr": [
    "2024-11-25 02:24:25",
    "2024-11-25 02:24:25"
  ]
}

application/xml, text/xml

Sample:
<SoSummarySearchCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.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:24:25.881781+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:24:25.881781+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">17</_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:24:25.881781+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:24:25.881781+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">16</_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:24:25.881781+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:24:25.881781+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">19</_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:24:25.881781+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:24:25.881781+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">18</_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">13</_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 8</_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_Category_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Category_x003E_k__BackingField>
  <_x003C_CustTypeId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustTypeId_x003E_k__BackingField>
  <_x003C_CustomerIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustomerIds_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_Keywords_x003E_k__BackingField>sample string 1</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_MaxRecCount_x003E_k__BackingField>7</_x003C_MaxRecCount_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>10</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>11</_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_SalesId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_SalesId_x003E_k__BackingField>
  <_x003C_ShowAP_x003E_k__BackingField>true</_x003C_ShowAP_x003E_k__BackingField>
  <_x003C_ShowSubtotalRows_x003E_k__BackingField>true</_x003C_ShowSubtotalRows_x003E_k__BackingField>
  <_x003C_Spec_x003E_k__BackingField>sample string 9</_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_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>
  <_x003C_WithGrossProfit_x003E_k__BackingField>true</_x003C_WithGrossProfit_x003E_k__BackingField>
</SoSummarySearchCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SSummaryByCust
NameDescriptionTypeAdditional information
CustName

string

None.

SalesCount

integer

None.

Amount

decimal number

None.

DiscAllocation

decimal number

None.

Tax

decimal number

None.

AmountTax

decimal number

None.

SalesCost

decimal number

None.

GrossProfit

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustName": "sample string 1",
    "SalesCount": 2,
    "Amount": 3.0,
    "DiscAllocation": 4.0,
    "Tax": 5.0,
    "AmountTax": 6.0,
    "SalesCost": 7.0,
    "GrossProfit": 8.0
  },
  {
    "CustName": "sample string 1",
    "SalesCount": 2,
    "Amount": 3.0,
    "DiscAllocation": 4.0,
    "Tax": 5.0,
    "AmountTax": 6.0,
    "SalesCost": 7.0,
    "GrossProfit": 8.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfSSummaryByCust xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
  <SSummaryByCust>
    <Amount>3</Amount>
    <AmountTax>6</AmountTax>
    <CustName>sample string 1</CustName>
    <DiscAllocation>4</DiscAllocation>
    <GrossProfit>8</GrossProfit>
    <SalesCost>7</SalesCost>
    <SalesCount>2</SalesCount>
    <Tax>5</Tax>
  </SSummaryByCust>
  <SSummaryByCust>
    <Amount>3</Amount>
    <AmountTax>6</AmountTax>
    <CustName>sample string 1</CustName>
    <DiscAllocation>4</DiscAllocation>
    <GrossProfit>8</GrossProfit>
    <SalesCost>7</SalesCost>
    <SalesCount>2</SalesCount>
    <Tax>5</Tax>
  </SSummaryByCust>
</ArrayOfSSummaryByCust>