GET jxc_api/HomePage/GetSales?start={start}&end={end}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
start

string

Required

end

string

Required

Body Parameters

None.

Response Information

Resource Description

SellModel
NameDescriptionTypeAdditional information
SellAmount

decimal number

None.

SellList

Collection of SalesPurchase

None.

CustomerRankingList

Collection of RankingInfo

None.

ProductRankingList

Collection of RankingInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "SellAmount": 1.0,
  "SellList": [
    {
      "DateTime": "2024-11-25",
      "InnerDateTime": "2024-11-25 02:33:52",
      "num": 2.0
    },
    {
      "DateTime": "2024-11-25",
      "InnerDateTime": "2024-11-25 02:33:52",
      "num": 2.0
    }
  ],
  "CustomerRankingList": [
    {
      "Index": 1,
      "Id": 2,
      "Value": 3.0,
      "Name": "sample string 4"
    },
    {
      "Index": 1,
      "Id": 2,
      "Value": 3.0,
      "Name": "sample string 4"
    }
  ],
  "ProductRankingList": [
    {
      "Index": 1,
      "Id": 2,
      "Value": 3.0,
      "Name": "sample string 4"
    },
    {
      "Index": 1,
      "Id": 2,
      "Value": 3.0,
      "Name": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<SellModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Dashboard">
  <_x003C_CustomerRankingList_x003E_k__BackingField>
    <RankingInfo>
      <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField>
      <_x003C_Index_x003E_k__BackingField>1</_x003C_Index_x003E_k__BackingField>
      <_x003C_Name_x003E_k__BackingField>sample string 4</_x003C_Name_x003E_k__BackingField>
      <_x003C_Value_x003E_k__BackingField>3</_x003C_Value_x003E_k__BackingField>
    </RankingInfo>
    <RankingInfo>
      <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField>
      <_x003C_Index_x003E_k__BackingField>1</_x003C_Index_x003E_k__BackingField>
      <_x003C_Name_x003E_k__BackingField>sample string 4</_x003C_Name_x003E_k__BackingField>
      <_x003C_Value_x003E_k__BackingField>3</_x003C_Value_x003E_k__BackingField>
    </RankingInfo>
  </_x003C_CustomerRankingList_x003E_k__BackingField>
  <_x003C_ProductRankingList_x003E_k__BackingField>
    <RankingInfo>
      <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField>
      <_x003C_Index_x003E_k__BackingField>1</_x003C_Index_x003E_k__BackingField>
      <_x003C_Name_x003E_k__BackingField>sample string 4</_x003C_Name_x003E_k__BackingField>
      <_x003C_Value_x003E_k__BackingField>3</_x003C_Value_x003E_k__BackingField>
    </RankingInfo>
    <RankingInfo>
      <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField>
      <_x003C_Index_x003E_k__BackingField>1</_x003C_Index_x003E_k__BackingField>
      <_x003C_Name_x003E_k__BackingField>sample string 4</_x003C_Name_x003E_k__BackingField>
      <_x003C_Value_x003E_k__BackingField>3</_x003C_Value_x003E_k__BackingField>
    </RankingInfo>
  </_x003C_ProductRankingList_x003E_k__BackingField>
  <_x003C_SellAmount_x003E_k__BackingField>1</_x003C_SellAmount_x003E_k__BackingField>
  <_x003C_SellList_x003E_k__BackingField>
    <SalesPurchase>
      <_x003C_InnerDateTime_x003E_k__BackingField>2024-11-25T02:33:52.6805098+08:00</_x003C_InnerDateTime_x003E_k__BackingField>
      <_x003C_num_x003E_k__BackingField>2</_x003C_num_x003E_k__BackingField>
    </SalesPurchase>
    <SalesPurchase>
      <_x003C_InnerDateTime_x003E_k__BackingField>2024-11-25T02:33:52.6805098+08:00</_x003C_InnerDateTime_x003E_k__BackingField>
      <_x003C_num_x003E_k__BackingField>2</_x003C_num_x003E_k__BackingField>
    </SalesPurchase>
  </_x003C_SellList_x003E_k__BackingField>
</SellModel>