POST api/Statistic/SaveStatisticGeneral

Request Information

URI Parameters

None.

Body Parameters

Collection of StatisticGeneral
NameDescriptionTypeAdditional information
StatisticGeneralId

integer

None.

BrandId

integer

None.

DeviceSO

string

None.

SumProducts

integer

None.

SumPharmacys

integer

None.

SumSalesCode

integer

None.

DateStatistic

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "StatisticGeneralId": 1,
    "BrandId": 1,
    "DeviceSO": "sample string 2",
    "SumProducts": 3,
    "SumPharmacys": 4,
    "SumSalesCode": 5,
    "DateStatistic": "2025-06-05T01:23:40.5259084-05:00"
  },
  {
    "StatisticGeneralId": 1,
    "BrandId": 1,
    "DeviceSO": "sample string 2",
    "SumProducts": 3,
    "SumPharmacys": 4,
    "SumSalesCode": 5,
    "DateStatistic": "2025-06-05T01:23:40.5259084-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.