POST DiscountReport/GenerateReportLevel3

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Page

integer

None.

PageSize

integer

None.

Sorts

Collection of Kendo.Mvc.SortDescriptor

None.

Filters

Collection of Kendo.Mvc.IFilterDescriptor

None.

Groups

Collection of Kendo.Mvc.GroupDescriptor

None.

Aggregates

Collection of Kendo.Mvc.AggregateDescriptor

None.

GroupPaging

boolean

None.

IncludeSubGroupCount

boolean

None.

Skip

integer

None.

Take

integer

None.

Body Parameters

IConnect.Domain.Reports.SalesReport.DiscountReport.ReportViewModel
NameDescriptionTypeAdditional information
SelectedCustomerFilter

string

None.

SelectedSalePerson

integer

None.

SelectedDiscountCode

string

None.

SelectedDiscountName

string

None.

SelectedDiscountType

integer

None.

SelectedCustomersId

Collection of integer

None.

SelectedEmployeesId

Collection of integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Pageable

boolean

None.

ExportWithDetails

boolean

None.

GroupBy

IConnect.Domain.Reports.SalesReport.DiscountReport.DiscountReportGroupBy

None.

SelectedCompanies

Collection of integer

None.

OrderSource

IConnect.Domain.Orders.DisplayOrderSource

None.

Start

date

None.

End

date

None.

StartDateObjectString

string

None.

EndDateObjectString

string

None.

SkipTimeZoneConvertion

boolean

None.

ForceImmediateExport

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SelectedCustomerFilter": "sample string 1",
  "SelectedSalePerson": 2,
  "SelectedDiscountCode": "sample string 3",
  "SelectedDiscountName": "sample string 4",
  "SelectedDiscountType": 5,
  "SelectedCustomersId": [
    1,
    2
  ],
  "SelectedEmployeesId": [
    1,
    2
  ],
  "PageIndex": 6,
  "PageSize": 7,
  "Pageable": true,
  "ExportWithDetails": true,
  "GroupBy": 0,
  "SelectedCompanies": [
    1,
    2
  ],
  "OrderSource": 1,
  "Start": "2024-10-18T04:37:18.391055-04:00",
  "End": "2024-10-18T04:37:18.391055-04:00",
  "StartDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":37,\"seconds\":18,\"miliseconds\":391}",
  "EndDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":37,\"seconds\":18,\"miliseconds\":391}",
  "SkipTimeZoneConvertion": true,
  "ForceImmediateExport": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Kendo.Mvc.UI.DataSourceResult
NameDescriptionTypeAdditional information
Data

Collection of Object

None.

Total

integer

None.

AggregateResults

Collection of Kendo.Mvc.Infrastructure.AggregateResult

None.

Errors

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {},
    {}
  ],
  "Total": 1,
  "AggregateResults": null,
  "Errors": {}
}

application/xml, text/xml

Sample:
<DataSourceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kendo.Mvc.UI">
  <AggregateResults xmlns:d2p1="http://schemas.datacontract.org/2004/07/Kendo.Mvc.Infrastructure" i:nil="true" />
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </Data>
  <Errors />
  <Total>1</Total>
</DataSourceResult>