POST SalesByCategoryReport/GenerateReport
Request Information
URI Parameters
None.
Body Parameters
IConnect.Domain.Reports.SalesReport.SalesByCategoryReport.ReportViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ByCategory | boolean |
None. |
|
| SelectedCategories | Collection of integer |
None. |
|
| SelectedProductType | integer |
None. |
|
| SelectedSortBy | integer |
None. |
|
| ShowByCategory | boolean |
None. |
|
| SelectedShowBy | integer |
None. |
|
| ExcludeGiftCards | boolean |
None. |
|
| ShowBy | IConnect.Domain.Reports.SalesReport.SalesByCategoryReport.ShowBy |
None. |
|
| DefaultShowBy | IConnect.Domain.Reports.SalesReport.SalesByCategoryReport.ShowBy |
None. |
|
| ShowByList | Collection of IConnect.Core.JsonSimpleViewModel |
None. |
|
| MenuShowByList | Collection of IConnect.Core.JsonSimpleViewModel |
None. |
|
| SortBy | IConnect.Domain.Reports.SalesReport.SalesByCategoryReport.SortBy |
None. |
|
| DefaultSortBy | IConnect.Domain.Reports.SalesReport.SalesByCategoryReport.SortBy |
None. |
|
| SortByList | Collection of IConnect.Core.JsonSimpleViewModel |
None. |
|
| ProductType | IConnect.Domain.Reports.ProductType |
None. |
|
| DefaultProductType | IConnect.Domain.Reports.ProductType |
None. |
|
| ProductTypeList | Collection of IConnect.Core.JsonSimpleViewModel |
None. |
|
| LocationNameForExport | string |
None. |
|
| FilterOrderSourcesTree | Collection of IConnect.Domain.Reports.DropDownTreeItemOfSystem.NullableOfSystem.Int32 |
None. |
|
| SelectedCompanies | Collection of integer |
None. |
|
| OrderSources | Collection of IConnect.Domain.Orders.OrderSourceEnum |
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:
{
"ByCategory": true,
"SelectedCategories": [
1,
2
],
"SelectedProductType": 2,
"SelectedSortBy": 3,
"ShowByCategory": true,
"SelectedShowBy": 5,
"ExcludeGiftCards": true,
"ShowBy": 0,
"DefaultShowBy": 0,
"ShowByList": [
{
"id": {},
"name": "sample string 2"
},
{
"id": {},
"name": "sample string 2"
}
],
"MenuShowByList": [
{
"id": {},
"name": "sample string 2"
},
{
"id": {},
"name": "sample string 2"
}
],
"SortBy": 0,
"DefaultSortBy": 0,
"SortByList": [
{
"id": {},
"name": "sample string 2"
},
{
"id": {},
"name": "sample string 2"
}
],
"ProductType": 0,
"DefaultProductType": 0,
"ProductTypeList": [
{
"id": {},
"name": "sample string 2"
},
{
"id": {},
"name": "sample string 2"
}
],
"LocationNameForExport": "sample string 7",
"FilterOrderSourcesTree": [
{
"Id": 1,
"ParentId": 1,
"Name": "sample string 1",
"IsValue": true,
"DisplayOrder": 3,
"AllowMultiselect": true,
"IsDisabled": true,
"IsInvisible": true
},
{
"Id": 1,
"ParentId": 1,
"Name": "sample string 1",
"IsValue": true,
"DisplayOrder": 3,
"AllowMultiselect": true,
"IsDisabled": true,
"IsInvisible": true
}
],
"SelectedCompanies": [
1,
2
],
"OrderSources": [
0,
0
],
"Start": "2025-12-15T16:19:52.8378396-05:00",
"End": "2025-12-15T16:19:52.8378396-05:00",
"StartDateObjectString": "{\"year\":2025,\"month\":12,\"date\":15,\"hours\":16,\"minutes\":19,\"seconds\":52,\"miliseconds\":837}",
"EndDateObjectString": "{\"year\":2025,\"month\":12,\"date\":15,\"hours\":16,\"minutes\":19,\"seconds\":52,\"miliseconds\":837}",
"SkipTimeZoneConvertion": true,
"ForceImmediateExport": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
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/" />