POST jxc_api/Dashbord/GetSellStatis

Request Information

URI Parameters

None.

Body Parameters

StatisCondition
NameDescriptionTypeAdditional information
Start

string

None.

End

string

None.

DateRange

DateRange

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:
{
  "Start": "2024-11-25",
  "End": "2024-11-25",
  "DateRange": 1010,
  "CurrUserSn": 3,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 6,
  "DocumentDateArr": [
    "2024-11-25 03:02:28",
    "2024-11-25 03:02:28"
  ],
  "DeliveryDateType": 7,
  "DeliveryDateArr": [
    "2024-11-25 03:02:28",
    "2024-11-25 03:02:28"
  ],
  "OffDateType": 8,
  "OffDateArr": [
    "2024-11-25 03:02:28",
    "2024-11-25 03:02:28"
  ],
  "InventoryDateType": 9,
  "InventoryDateArr": [
    "2024-11-25 03:02:28",
    "2024-11-25 03:02:28"
  ]
}

application/xml, text/xml

Sample:
<StatisCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Mobile">
  <_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-25T03:02:28.5066761+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:02:28.5066761+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">7</_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-25T03:02:28.5066761+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:02:28.5066761+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">6</_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-25T03:02:28.5066761+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:02:28.5066761+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">9</_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-25T03:02:28.5066761+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:02:28.5066761+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">8</_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">3</_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>
  <_date>Today</_date>
  <_x003C_End_x003E_k__BackingField>2024-11-25</_x003C_End_x003E_k__BackingField>
  <_x003C_Start_x003E_k__BackingField>2024-11-25</_x003C_Start_x003E_k__BackingField>
</StatisCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SellStatisModel
NameDescriptionTypeAdditional information
SellAmount

decimal number

None.

SellCount

integer

None.

GrossProfit

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "SellAmount": 1.0,
  "SellCount": 2,
  "GrossProfit": 3.0
}

application/xml, text/xml

Sample:
<SellStatisModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Mobile.Models">
  <GrossProfit>3</GrossProfit>
  <SellAmount>1</SellAmount>
  <SellCount>2</SellCount>
</SellStatisModel>