GET api/SalesDailyReport/{id}?type={type}&startdatetime={startdatetime}&enddatetime={enddatetime}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

type

string

Required

startdatetime

date

Required

enddatetime

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SalesDailyReport
NameDescriptionTypeAdditional information
OrderDate

date

None.

OrderCount

integer

None.

OrderTax

decimal number

None.

OrderTotal

decimal number

None.

OrderItemCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderDate": "2025-01-15T23:16:53.9163303+00:00",
    "OrderCount": 1,
    "OrderTax": 1.0,
    "OrderTotal": 1.0,
    "OrderItemCount": 1
  },
  {
    "OrderDate": "2025-01-15T23:16:53.9163303+00:00",
    "OrderCount": 1,
    "OrderTax": 1.0,
    "OrderTotal": 1.0,
    "OrderItemCount": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfSalesDailyReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <SalesDailyReport>
    <OrderCount>1</OrderCount>
    <OrderDate>2025-01-15T23:16:53.9163303+00:00</OrderDate>
    <OrderItemCount>1</OrderItemCount>
    <OrderTax>1</OrderTax>
    <OrderTotal>1</OrderTotal>
  </SalesDailyReport>
  <SalesDailyReport>
    <OrderCount>1</OrderCount>
    <OrderDate>2025-01-15T23:16:53.9163303+00:00</OrderDate>
    <OrderItemCount>1</OrderItemCount>
    <OrderTax>1</OrderTax>
    <OrderTotal>1</OrderTotal>
  </SalesDailyReport>
</ArrayOfSalesDailyReport>