POST api/Report/GetLastWeekSaleDashboardReportByDayOfweek

Request Information

URI Parameters

None.

Body Parameters

FilterRequestModel
NameDescriptionTypeAdditional information
ProductID

integer

None.

ProductVariantID

integer

None.

UserID

integer

None.

SubCategoryID

integer

None.

CashRegisterID

integer

None.

OutletID

integer

None.

CustomerID

integer

None.

ClientAddressID

integer

None.

BrandID

integer

None.

ColorID

integer

None.

SeriesID

integer

None.

BrandTypeID

integer

None.

SizeID

integer

None.

ConnecterTypeID

integer

None.

PackagingID

integer

None.

PowerID

integer

None.

PrintID

integer

None.

CapacityID

integer

None.

QualityLabelID

integer

None.

ToDate

date

None.

FromDate

date

None.

PageSize

integer

None.

PageNo

integer

None.

IsGetAll

boolean

None.

Status

integer

None.

ByCustomer

boolean

None.

DayOfWeekID

integer

None.

AreaID

integer

None.

ID

integer

None.

ByUser

boolean

None.

IsForGraph

boolean

None.

IsAppRequest

boolean

None.

Customer

string

None.

Product

string

None.

IsReceived

boolean

None.

IsIncomingOrder

boolean

None.

PermissionLevel

integer

None.

Type

integer

None.

IsAproved

boolean

None.

IsPurchased

boolean

None.

EmailAddress

string

None.

ContactNo

string

None.

ColumnName

string

None.

IsOrderBySearch

boolean

None.

IsColumnSearch

boolean

None.

IsOrderByAccending

boolean

None.

IsImageAttached

boolean

None.

ResellerID

integer

None.

IsReseller

boolean

None.

RequestedUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "ProductVariantID": 1,
  "UserID": 1,
  "SubCategoryID": 1,
  "CashRegisterID": 1,
  "OutletID": 1,
  "CustomerID": 1,
  "ClientAddressID": 1,
  "BrandID": 1,
  "ColorID": 1,
  "SeriesID": 1,
  "BrandTypeID": 1,
  "SizeID": 1,
  "ConnecterTypeID": 1,
  "PackagingID": 1,
  "PowerID": 1,
  "PrintID": 1,
  "CapacityID": 1,
  "QualityLabelID": 1,
  "ToDate": "2025-01-22T21:05:16.3410171-06:00",
  "FromDate": "2025-01-22T21:05:16.3410171-06:00",
  "PageSize": 3,
  "PageNo": 4,
  "IsGetAll": true,
  "Status": 1,
  "ByCustomer": true,
  "DayOfWeekID": 7,
  "AreaID": 1,
  "ID": 1,
  "ByUser": true,
  "IsForGraph": true,
  "IsAppRequest": true,
  "Customer": "sample string 11",
  "Product": "sample string 12",
  "IsReceived": true,
  "IsIncomingOrder": true,
  "PermissionLevel": 1,
  "Type": 1,
  "IsAproved": true,
  "IsPurchased": true,
  "EmailAddress": "sample string 15",
  "ContactNo": "sample string 16",
  "ColumnName": "sample string 17",
  "IsOrderBySearch": true,
  "IsColumnSearch": true,
  "IsOrderByAccending": true,
  "IsImageAttached": true,
  "ResellerID": 1,
  "IsReseller": true,
  "RequestedUserID": 1
}

application/xml, text/xml

Sample:
<FilterRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
  <RequestedUserID xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request">1</RequestedUserID>
  <AreaID>1</AreaID>
  <BrandID>1</BrandID>
  <BrandTypeID>1</BrandTypeID>
  <ByCustomer>true</ByCustomer>
  <ByUser>true</ByUser>
  <CapacityID>1</CapacityID>
  <CashRegisterID>1</CashRegisterID>
  <ClientAddressID>1</ClientAddressID>
  <ColorID>1</ColorID>
  <ColumnName>sample string 17</ColumnName>
  <ConnecterTypeID>1</ConnecterTypeID>
  <ContactNo>sample string 16</ContactNo>
  <Customer>sample string 11</Customer>
  <CustomerID>1</CustomerID>
  <DayOfWeekID>7</DayOfWeekID>
  <EmailAddress>sample string 15</EmailAddress>
  <FromDate>2025-01-22T21:05:16.3410171-06:00</FromDate>
  <ID>1</ID>
  <IsAppRequest>true</IsAppRequest>
  <IsAproved>true</IsAproved>
  <IsColumnSearch>true</IsColumnSearch>
  <IsForGraph>true</IsForGraph>
  <IsGetAll>true</IsGetAll>
  <IsImageAttached>true</IsImageAttached>
  <IsIncomingOrder>true</IsIncomingOrder>
  <IsOrderByAccending>true</IsOrderByAccending>
  <IsOrderBySearch>true</IsOrderBySearch>
  <IsPurchased>true</IsPurchased>
  <IsReceived>true</IsReceived>
  <IsReseller>true</IsReseller>
  <OutletID>1</OutletID>
  <PackagingID>1</PackagingID>
  <PageNo>4</PageNo>
  <PageSize>3</PageSize>
  <PermissionLevel>1</PermissionLevel>
  <PowerID>1</PowerID>
  <PrintID>1</PrintID>
  <Product>sample string 12</Product>
  <ProductID>1</ProductID>
  <ProductVariantID>1</ProductVariantID>
  <QualityLabelID>1</QualityLabelID>
  <ResellerID>1</ResellerID>
  <SeriesID>1</SeriesID>
  <SizeID>1</SizeID>
  <Status>1</Status>
  <SubCategoryID>1</SubCategoryID>
  <ToDate>2025-01-22T21:05:16.3410171-06:00</ToDate>
  <Type>1</Type>
  <UserID>1</UserID>
</FilterRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetLastWeekSaleReportByDayOfweekResponse
NameDescriptionTypeAdditional information
AllSaleCountByDayOfWeekModelList

Collection of SaleCountByDayOfWeekModel

None.

LastWeekTotalExpense

decimal number

None.

LastWeekTotalPayment

decimal number

None.

ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AllSaleCountByDayOfWeekModelList": [
    {
      "DayOfWeek": "sample string 1",
      "TotalSale": 1.0
    },
    {
      "DayOfWeek": "sample string 1",
      "TotalSale": 1.0
    }
  ],
  "LastWeekTotalExpense": 1.0,
  "LastWeekTotalPayment": 1.0,
  "ResponseCode": 1,
  "ResponseText": "sample string 2"
}

application/xml, text/xml

Sample:
<GetLastWeekSaleReportByDayOfweekResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response">
  <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode>
  <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText>
  <AllSaleCountByDayOfWeekModelList xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
    <d2p1:SaleCountByDayOfWeekModel>
      <d2p1:DayOfWeek>sample string 1</d2p1:DayOfWeek>
      <d2p1:TotalSale>1</d2p1:TotalSale>
    </d2p1:SaleCountByDayOfWeekModel>
    <d2p1:SaleCountByDayOfWeekModel>
      <d2p1:DayOfWeek>sample string 1</d2p1:DayOfWeek>
      <d2p1:TotalSale>1</d2p1:TotalSale>
    </d2p1:SaleCountByDayOfWeekModel>
  </AllSaleCountByDayOfWeekModelList>
  <LastWeekTotalExpense>1</LastWeekTotalExpense>
  <LastWeekTotalPayment>1</LastWeekTotalPayment>
</GetLastWeekSaleReportByDayOfweekResponse>