POST jxc_api/SellRankingsList/Search

Request Information

URI Parameters

None.

Body Parameters

SellRankingSearchConditions
NameDescriptionTypeAdditional information
SummaryType

integer

None.

StartDate

date

None.

EndDate

date

None.

CustIds

Collection of integer

None.

CustTypeId

integer

None.

Keyword

string

None.

SalesId

integer

None.

DepartmentId

integer

None.

ProductId

Collection of integer

None.

ProductTypeId

Collection of integer

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": 1,
  "StartDate": "2024-11-25 02:59:41",
  "EndDate": "2024-11-25 02:59:41",
  "CustIds": [
    1,
    2
  ],
  "CustTypeId": 2,
  "Keyword": "sample string 3",
  "SalesId": 4,
  "DepartmentId": 5,
  "ProductId": [
    1,
    2
  ],
  "ProductTypeId": [
    1,
    2
  ],
  "PageIndex": 6,
  "PageSize": 7,
  "UsePager": true,
  "CurrUserSn": 9,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 12,
  "DocumentDateArr": [
    "2024-11-25 02:59:41",
    "2024-11-25 02:59:41"
  ],
  "DeliveryDateType": 13,
  "DeliveryDateArr": [
    "2024-11-25 02:59:41",
    "2024-11-25 02:59:41"
  ],
  "OffDateType": 14,
  "OffDateArr": [
    "2024-11-25 02:59:41",
    "2024-11-25 02:59:41"
  ],
  "InventoryDateType": 15,
  "InventoryDateArr": [
    "2024-11-25 02:59:41",
    "2024-11-25 02:59:41"
  ]
}

application/xml, text/xml

Sample:
<SellRankingSearchConditions 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:59:41.6367893+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:41.6367893+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">13</_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:59:41.6367893+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:41.6367893+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">12</_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:59:41.6367893+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:41.6367893+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">15</_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:59:41.6367893+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:59:41.6367893+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">14</_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">9</_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_CustIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustIds_x003E_k__BackingField>
  <_x003C_CustTypeId_x003E_k__BackingField>2</_x003C_CustTypeId_x003E_k__BackingField>
  <_x003C_DepartmentId_x003E_k__BackingField>5</_x003C_DepartmentId_x003E_k__BackingField>
  <_x003C_EndDate_x003E_k__BackingField>2024-11-25T02:59:41.6367893+08:00</_x003C_EndDate_x003E_k__BackingField>
  <_x003C_Keyword_x003E_k__BackingField>sample string 3</_x003C_Keyword_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>6</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>7</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ProductId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProductId_x003E_k__BackingField>
  <_x003C_ProductTypeId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProductTypeId_x003E_k__BackingField>
  <_x003C_SalesId_x003E_k__BackingField>4</_x003C_SalesId_x003E_k__BackingField>
  <_x003C_StartDate_x003E_k__BackingField>2024-11-25T02:59:41.6367893+08:00</_x003C_StartDate_x003E_k__BackingField>
  <_x003C_SummaryType_x003E_k__BackingField>1</_x003C_SummaryType_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
</SellRankingSearchConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SRankingModel
NameDescriptionTypeAdditional information
CustTypeName

string

None.

CustId

integer

None.

CustNo

string

None.

CustName

string

None.

Count

integer

None.

Amount

decimal number

None.

Tax

decimal number

None.

AmountTax

decimal number

None.

UnitCost

decimal number

None.

SalesCost

decimal number

None.

GrossProfit

decimal number

None.

GrossProfitRate

string

None.

DepartmentId

integer

None.

DepartmentNo

string

None.

DepartmentName

string

None.

Sales

integer

None.

SalesNo

string

None.

SalesName

string

None.

ProductTypeName

string

None.

ProductId

integer

None.

ProductNo

string

None.

ProductName

string

None.

ProductSpec

string

None.

ApName

string

None.

SellCount

decimal number

None.

UnitName

string

None.

UnitId

integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustTypeName": "sample string 1",
    "CustId": 2,
    "CustNo": "sample string 3",
    "CustName": "sample string 4",
    "Count": 5,
    "Amount": 6.0,
    "Tax": 7.0,
    "AmountTax": 8.0,
    "UnitCost": 9.0,
    "SalesCost": 10.0,
    "GrossProfit": 11.0,
    "GrossProfitRate": "sample string 12",
    "DepartmentId": 13,
    "DepartmentNo": "sample string 14",
    "DepartmentName": "sample string 15",
    "Sales": 16,
    "SalesNo": "sample string 17",
    "SalesName": "sample string 18",
    "ProductTypeName": "sample string 19",
    "ProductId": 20,
    "ProductNo": "sample string 21",
    "ProductName": "sample string 22",
    "ProductSpec": "sample string 23",
    "ApName": "sample string 24",
    "SellCount": 25.0,
    "UnitName": "sample string 26",
    "UnitId": 27,
    "RDocumentStartDate": "sample string 28",
    "RDocumentEndDate": "sample string 29",
    "RDeliveryStartDate": "sample string 30",
    "RDeliveryEndDate": "sample string 31"
  },
  {
    "CustTypeName": "sample string 1",
    "CustId": 2,
    "CustNo": "sample string 3",
    "CustName": "sample string 4",
    "Count": 5,
    "Amount": 6.0,
    "Tax": 7.0,
    "AmountTax": 8.0,
    "UnitCost": 9.0,
    "SalesCost": 10.0,
    "GrossProfit": 11.0,
    "GrossProfitRate": "sample string 12",
    "DepartmentId": 13,
    "DepartmentNo": "sample string 14",
    "DepartmentName": "sample string 15",
    "Sales": 16,
    "SalesNo": "sample string 17",
    "SalesName": "sample string 18",
    "ProductTypeName": "sample string 19",
    "ProductId": 20,
    "ProductNo": "sample string 21",
    "ProductName": "sample string 22",
    "ProductSpec": "sample string 23",
    "ApName": "sample string 24",
    "SellCount": 25.0,
    "UnitName": "sample string 26",
    "UnitId": 27,
    "RDocumentStartDate": "sample string 28",
    "RDocumentEndDate": "sample string 29",
    "RDeliveryStartDate": "sample string 30",
    "RDeliveryEndDate": "sample string 31"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSRankingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
  <SRankingModel>
    <RDeliveryEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 31</RDeliveryEndDate>
    <RDeliveryStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 30</RDeliveryStartDate>
    <RDocumentEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 29</RDocumentEndDate>
    <RDocumentStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 28</RDocumentStartDate>
    <Amount>6</Amount>
    <AmountTax>8</AmountTax>
    <ApName>sample string 24</ApName>
    <Count>5</Count>
    <CustId>2</CustId>
    <CustName>sample string 4</CustName>
    <CustNo>sample string 3</CustNo>
    <CustTypeName>sample string 1</CustTypeName>
    <DepartmentId>13</DepartmentId>
    <DepartmentName>sample string 15</DepartmentName>
    <DepartmentNo>sample string 14</DepartmentNo>
    <GrossProfit>11</GrossProfit>
    <GrossProfitRate>sample string 12</GrossProfitRate>
    <ProductId>20</ProductId>
    <ProductName>sample string 22</ProductName>
    <ProductNo>sample string 21</ProductNo>
    <ProductSpec>sample string 23</ProductSpec>
    <ProductTypeName>sample string 19</ProductTypeName>
    <Sales>16</Sales>
    <SalesCost>10</SalesCost>
    <SalesName>sample string 18</SalesName>
    <SalesNo>sample string 17</SalesNo>
    <SellCount>25</SellCount>
    <Tax>7</Tax>
    <UnitCost>9</UnitCost>
    <UnitId>27</UnitId>
    <UnitName>sample string 26</UnitName>
  </SRankingModel>
  <SRankingModel>
    <RDeliveryEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 31</RDeliveryEndDate>
    <RDeliveryStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 30</RDeliveryStartDate>
    <RDocumentEndDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 29</RDocumentEndDate>
    <RDocumentStartDate xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.CommonData">sample string 28</RDocumentStartDate>
    <Amount>6</Amount>
    <AmountTax>8</AmountTax>
    <ApName>sample string 24</ApName>
    <Count>5</Count>
    <CustId>2</CustId>
    <CustName>sample string 4</CustName>
    <CustNo>sample string 3</CustNo>
    <CustTypeName>sample string 1</CustTypeName>
    <DepartmentId>13</DepartmentId>
    <DepartmentName>sample string 15</DepartmentName>
    <DepartmentNo>sample string 14</DepartmentNo>
    <GrossProfit>11</GrossProfit>
    <GrossProfitRate>sample string 12</GrossProfitRate>
    <ProductId>20</ProductId>
    <ProductName>sample string 22</ProductName>
    <ProductNo>sample string 21</ProductNo>
    <ProductSpec>sample string 23</ProductSpec>
    <ProductTypeName>sample string 19</ProductTypeName>
    <Sales>16</Sales>
    <SalesCost>10</SalesCost>
    <SalesName>sample string 18</SalesName>
    <SalesNo>sample string 17</SalesNo>
    <SellCount>25</SellCount>
    <Tax>7</Tax>
    <UnitCost>9</UnitCost>
    <UnitId>27</UnitId>
    <UnitName>sample string 26</UnitName>
  </SRankingModel>
</ArrayOfSRankingModel>