POST api/Report/ReportCategorySummary

Request Information

URI Parameters

None.

Body Parameters

ReportParameters
NameDescriptionTypeAdditional information
BeginDate

date

None.

EndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BeginDate": "2025-07-06T12:08:01.6460847+00:00",
  "EndDate": "2025-07-06T12:08:01.6460847+00:00"
}

text/html

Sample:
{"BeginDate":"2025-07-06T12:08:01.6460847+00:00","EndDate":"2025-07-06T12:08:01.6460847+00:00"}

application/xml, text/xml

Sample:
<ReportParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VetAPI.Models">
  <BeginDate>2025-07-06T12:08:01.6460847+00:00</BeginDate>
  <EndDate>2025-07-06T12:08:01.6460847+00:00</EndDate>
</ReportParameters>

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

Response Information

Resource Description

Collection of ReportCategorySummary
NameDescriptionTypeAdditional information
RecordType

string

None.

CategoryDescription

string

None.

Count

integer

None.

TotalPriceInclVat

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RecordType": "sample string 1",
    "CategoryDescription": "sample string 2",
    "Count": 3,
    "TotalPriceInclVat": 1.0
  },
  {
    "RecordType": "sample string 1",
    "CategoryDescription": "sample string 2",
    "Count": 3,
    "TotalPriceInclVat": 1.0
  }
]

text/html

Sample:
[{"RecordType":"sample string 1","CategoryDescription":"sample string 2","Count":3,"TotalPriceInclVat":1.0},{"RecordType":"sample string 1","CategoryDescription":"sample string 2","Count":3,"TotalPriceInclVat":1.0}]

application/xml, text/xml

Sample:
<ArrayOfReportCategorySummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VetAPI.Controllers">
  <ReportCategorySummary>
    <CategoryDescription>sample string 2</CategoryDescription>
    <Count>3</Count>
    <RecordType>sample string 1</RecordType>
    <TotalPriceInclVat>1</TotalPriceInclVat>
  </ReportCategorySummary>
  <ReportCategorySummary>
    <CategoryDescription>sample string 2</CategoryDescription>
    <Count>3</Count>
    <RecordType>sample string 1</RecordType>
    <TotalPriceInclVat>1</TotalPriceInclVat>
  </ReportCategorySummary>
</ArrayOfReportCategorySummary>