POST api/Report/LoadResultOfStatistics

Request Information

URI Parameters

None.

Body Parameters

ResultStatistic
NameDescriptionTypeAdditional information
DateFrom

date

None.

DateTo

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DateFrom": "2024-11-21T13:10:27.7455667+04:00",
  "DateTo": "2024-11-21T13:10:27.7455667+04:00"
}

application/xml, text/xml

Sample:
<ResultStatistic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTIService.WebApi.Models.Report">
  <DateFrom>2024-11-21T13:10:27.7455667+04:00</DateFrom>
  <DateTo>2024-11-21T13:10:27.7455667+04:00</DateTo>
</ResultStatistic>

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 'ResultStatistic'.

Response Information

Resource Description

Collection of CarInfoResultStatistics
NameDescriptionTypeAdditional information
TestResultDesc

string

None.

CountItems

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TestResultDesc": "sample string 1",
    "CountItems": 2
  },
  {
    "TestResultDesc": "sample string 1",
    "CountItems": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfCarInfoResultStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GDBS.Models.CarInfo">
  <CarInfoResultStatistics>
    <CountItems>2</CountItems>
    <TestResultDesc>sample string 1</TestResultDesc>
  </CarInfoResultStatistics>
  <CarInfoResultStatistics>
    <CountItems>2</CountItems>
    <TestResultDesc>sample string 1</TestResultDesc>
  </CarInfoResultStatistics>
</ArrayOfCarInfoResultStatistics>