POST api/Statistic/SaveStatisticProduct

Request Information

URI Parameters

None.

Body Parameters

Collection of StatisticProduct
NameDescriptionTypeAdditional information
StatisticProductId

integer

None.

ProductId

integer

None.

CategoryId

integer

None.

BrandId

integer

None.

Name

string

None.

SumProduct

integer

None.

DateStatistic

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StatisticProductId": 1,
    "ProductId": 2,
    "CategoryId": 3,
    "BrandId": 1,
    "Name": "sample string 4",
    "SumProduct": 5,
    "DateStatistic": "2025-06-05T01:25:59.2135124-05:00"
  },
  {
    "StatisticProductId": 1,
    "ProductId": 2,
    "CategoryId": 3,
    "BrandId": 1,
    "Name": "sample string 4",
    "SumProduct": 5,
    "DateStatistic": "2025-06-05T01:25:59.2135124-05:00"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.