POST DiscountReport/ExportToExcel

Request Information

URI Parameters

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:31:46.5625971-04:00",
  "End": "2024-10-18T04:31:46.5625971-04:00",
  "StartDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":31,\"seconds\":46,\"miliseconds\":562}",
  "EndDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":31,\"seconds\":46,\"miliseconds\":562}",
  "SkipTimeZoneConvertion": true,
  "ForceImmediateExport": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />