POST api/HotSalesStatistics/Setting

Request Information

URI Parameters

None.

Body Parameters

Collection of HotSalesStatisticsSettingReq
NameDescriptionTypeAdditional information
HotSaleType

ReportHotSaleTypeEnum

None.

Days

integer

None.

MinValue

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "HotSaleType": "New",
    "Days": 1,
    "MinValue": 2
  },
  {
    "HotSaleType": "New",
    "Days": 1,
    "MinValue": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfHotSalesStatisticsSettingReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product.HotSalesStatistics.Settings">
  <HotSalesStatisticsSettingReq>
    <Days>1</Days>
    <HotSaleType>New</HotSaleType>
    <MinValue>2</MinValue>
  </HotSalesStatisticsSettingReq>
  <HotSalesStatisticsSettingReq>
    <Days>1</Days>
    <HotSaleType>New</HotSaleType>
    <MinValue>2</MinValue>
  </HotSalesStatisticsSettingReq>
</ArrayOfHotSalesStatisticsSettingReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfBoolean
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": true
}

application/xml, text/xml

Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common">
  <Data>true</Data>
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Status>true</Status>
</ResponseResultOfboolean>