POST SalesByCustomerReport/GenerateReportL2

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.SalesByCustomerReport.ReportViewModel
NameDescriptionTypeAdditional information
SelectedLeads

Collection of integer

None.

CustomersCriteria

string

None.

SelectedCustomerTypes

Collection of string

None.

ReportFormat

IConnect.Domain.Reports.ExportFormat

None.

PageSize

integer

None.

PageIndex

integer

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:
{
  "SelectedLeads": [
    1,
    2
  ],
  "CustomersCriteria": "sample string 1",
  "SelectedCustomerTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "ReportFormat": 1,
  "PageSize": 1,
  "PageIndex": 1,
  "SelectedCompanies": [
    1,
    2
  ],
  "OrderSource": 1,
  "Start": "2024-10-18T04:36:42.6368887-04:00",
  "End": "2024-10-18T04:36:42.6368887-04:00",
  "StartDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":36,\"seconds\":42,\"miliseconds\":636}",
  "EndDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":36,\"seconds\":42,\"miliseconds\":636}",
  "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>