POST DailyPerformanceReport/GetGraphData

Request Information

URI Parameters

None.

Body Parameters

IConnect.Domain.Reports.SalesReport.DailyPerformanceReport.ReportViewModel
NameDescriptionTypeAdditional information
SelectedType

IConnect.Domain.Reports.ProductType

None.

ExcludeGiftCards

boolean

None.

AreMultipleLocationsSelected

boolean

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:
{
  "SelectedType": 0,
  "ExcludeGiftCards": true,
  "AreMultipleLocationsSelected": true,
  "SelectedCompanies": [
    1,
    2
  ],
  "OrderSource": 1,
  "Start": "2024-10-18T04:37:22.9692291-04:00",
  "End": "2024-10-18T04:37:22.9692291-04:00",
  "StartDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":37,\"seconds\":22,\"miliseconds\":969}",
  "EndDateObjectString": "{\"year\":2024,\"month\":10,\"date\":18,\"hours\":4,\"minutes\":37,\"seconds\":22,\"miliseconds\":969}",
  "SkipTimeZoneConvertion": true,
  "ForceImmediateExport": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of IConnect.Domain.Reports.SalesReport.DailyPerformanceReport.GraphDataRow
NameDescriptionTypeAdditional information
Date

date

None.

FormattedDate

string

None.

CurrentYearSales

decimal number

None.

LastYearSales

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "2024-10-18T04:37:22.9692291-04:00",
    "FormattedDate": "sample string 2",
    "CurrentYearSales": 3.0,
    "LastYearSales": 4.0
  },
  {
    "Date": "2024-10-18T04:37:22.9692291-04:00",
    "FormattedDate": "sample string 2",
    "CurrentYearSales": 3.0,
    "LastYearSales": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfGraphDataRow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Reports.SalesReport.DailyPerformanceReport">
  <GraphDataRow>
    <CurrentYearSales>3</CurrentYearSales>
    <Date>2024-10-18T04:37:22.9692291-04:00</Date>
    <FormattedDate>sample string 2</FormattedDate>
    <LastYearSales>4</LastYearSales>
  </GraphDataRow>
  <GraphDataRow>
    <CurrentYearSales>3</CurrentYearSales>
    <Date>2024-10-18T04:37:22.9692291-04:00</Date>
    <FormattedDate>sample string 2</FormattedDate>
    <LastYearSales>4</LastYearSales>
  </GraphDataRow>
</ArrayOfGraphDataRow>