POST jxc_api/SellRankingsList/SearchPage

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:38:49",
  "EndDate": "2024-11-25 02:38:49",
  "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:38:49",
    "2024-11-25 02:38:49"
  ],
  "DeliveryDateType": 13,
  "DeliveryDateArr": [
    "2024-11-25 02:38:49",
    "2024-11-25 02:38:49"
  ],
  "OffDateType": 14,
  "OffDateArr": [
    "2024-11-25 02:38:49",
    "2024-11-25 02:38:49"
  ],
  "InventoryDateType": 15,
  "InventoryDateArr": [
    "2024-11-25 02:38:49",
    "2024-11-25 02:38:49"
  ]
}

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:38:49.4263364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:38:49.4263364+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:38:49.4263364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:38:49.4263364+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:38:49.4263364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:38:49.4263364+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:38:49.4263364+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:38:49.4263364+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:38:49.4263364+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:38:49.4263364+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

ReportResultOfSRankingModel
NameDescriptionTypeAdditional information
DataList

Collection of SRankingModel

None.

TotalRow

SRankingModel

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": [
    {
      "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"
    }
  ],
  "TotalRow": {
    "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"
  },
  "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:
<ReportResultOfSRankingModel8DTg6HPT 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.Sell.Models">
    <d2p1: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>
      <d2p1:Amount>6</d2p1:Amount>
      <d2p1:AmountTax>8</d2p1:AmountTax>
      <d2p1:ApName>sample string 24</d2p1:ApName>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:CustId>2</d2p1:CustId>
      <d2p1:CustName>sample string 4</d2p1:CustName>
      <d2p1:CustNo>sample string 3</d2p1:CustNo>
      <d2p1:CustTypeName>sample string 1</d2p1:CustTypeName>
      <d2p1:DepartmentId>13</d2p1:DepartmentId>
      <d2p1:DepartmentName>sample string 15</d2p1:DepartmentName>
      <d2p1:DepartmentNo>sample string 14</d2p1:DepartmentNo>
      <d2p1:GrossProfit>11</d2p1:GrossProfit>
      <d2p1:GrossProfitRate>sample string 12</d2p1:GrossProfitRate>
      <d2p1:ProductId>20</d2p1:ProductId>
      <d2p1:ProductName>sample string 22</d2p1:ProductName>
      <d2p1:ProductNo>sample string 21</d2p1:ProductNo>
      <d2p1:ProductSpec>sample string 23</d2p1:ProductSpec>
      <d2p1:ProductTypeName>sample string 19</d2p1:ProductTypeName>
      <d2p1:Sales>16</d2p1:Sales>
      <d2p1:SalesCost>10</d2p1:SalesCost>
      <d2p1:SalesName>sample string 18</d2p1:SalesName>
      <d2p1:SalesNo>sample string 17</d2p1:SalesNo>
      <d2p1:SellCount>25</d2p1:SellCount>
      <d2p1:Tax>7</d2p1:Tax>
      <d2p1:UnitCost>9</d2p1:UnitCost>
      <d2p1:UnitId>27</d2p1:UnitId>
      <d2p1:UnitName>sample string 26</d2p1:UnitName>
    </d2p1:SRankingModel>
    <d2p1: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>
      <d2p1:Amount>6</d2p1:Amount>
      <d2p1:AmountTax>8</d2p1:AmountTax>
      <d2p1:ApName>sample string 24</d2p1:ApName>
      <d2p1:Count>5</d2p1:Count>
      <d2p1:CustId>2</d2p1:CustId>
      <d2p1:CustName>sample string 4</d2p1:CustName>
      <d2p1:CustNo>sample string 3</d2p1:CustNo>
      <d2p1:CustTypeName>sample string 1</d2p1:CustTypeName>
      <d2p1:DepartmentId>13</d2p1:DepartmentId>
      <d2p1:DepartmentName>sample string 15</d2p1:DepartmentName>
      <d2p1:DepartmentNo>sample string 14</d2p1:DepartmentNo>
      <d2p1:GrossProfit>11</d2p1:GrossProfit>
      <d2p1:GrossProfitRate>sample string 12</d2p1:GrossProfitRate>
      <d2p1:ProductId>20</d2p1:ProductId>
      <d2p1:ProductName>sample string 22</d2p1:ProductName>
      <d2p1:ProductNo>sample string 21</d2p1:ProductNo>
      <d2p1:ProductSpec>sample string 23</d2p1:ProductSpec>
      <d2p1:ProductTypeName>sample string 19</d2p1:ProductTypeName>
      <d2p1:Sales>16</d2p1:Sales>
      <d2p1:SalesCost>10</d2p1:SalesCost>
      <d2p1:SalesName>sample string 18</d2p1:SalesName>
      <d2p1:SalesNo>sample string 17</d2p1:SalesNo>
      <d2p1:SellCount>25</d2p1:SellCount>
      <d2p1:Tax>7</d2p1:Tax>
      <d2p1:UnitCost>9</d2p1:UnitCost>
      <d2p1:UnitId>27</d2p1:UnitId>
      <d2p1:UnitName>sample string 26</d2p1:UnitName>
    </d2p1:SRankingModel>
  </DataList>
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
  <Total>3</Total>
  <TotalRow xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Sell.Models">
    <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>
    <d2p1:Amount>6</d2p1:Amount>
    <d2p1:AmountTax>8</d2p1:AmountTax>
    <d2p1:ApName>sample string 24</d2p1:ApName>
    <d2p1:Count>5</d2p1:Count>
    <d2p1:CustId>2</d2p1:CustId>
    <d2p1:CustName>sample string 4</d2p1:CustName>
    <d2p1:CustNo>sample string 3</d2p1:CustNo>
    <d2p1:CustTypeName>sample string 1</d2p1:CustTypeName>
    <d2p1:DepartmentId>13</d2p1:DepartmentId>
    <d2p1:DepartmentName>sample string 15</d2p1:DepartmentName>
    <d2p1:DepartmentNo>sample string 14</d2p1:DepartmentNo>
    <d2p1:GrossProfit>11</d2p1:GrossProfit>
    <d2p1:GrossProfitRate>sample string 12</d2p1:GrossProfitRate>
    <d2p1:ProductId>20</d2p1:ProductId>
    <d2p1:ProductName>sample string 22</d2p1:ProductName>
    <d2p1:ProductNo>sample string 21</d2p1:ProductNo>
    <d2p1:ProductSpec>sample string 23</d2p1:ProductSpec>
    <d2p1:ProductTypeName>sample string 19</d2p1:ProductTypeName>
    <d2p1:Sales>16</d2p1:Sales>
    <d2p1:SalesCost>10</d2p1:SalesCost>
    <d2p1:SalesName>sample string 18</d2p1:SalesName>
    <d2p1:SalesNo>sample string 17</d2p1:SalesNo>
    <d2p1:SellCount>25</d2p1:SellCount>
    <d2p1:Tax>7</d2p1:Tax>
    <d2p1:UnitCost>9</d2p1:UnitCost>
    <d2p1:UnitId>27</d2p1:UnitId>
    <d2p1:UnitName>sample string 26</d2p1:UnitName>
  </TotalRow>
</ReportResultOfSRankingModel8DTg6HPT>