POST api/dashboard/todays-orders

Request Information

URI Parameters

None.

Body Parameters

DashboardDateRequest
NameDescriptionTypeAdditional information
Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Date": "2026-07-03T09:10:09.6547381+00:00"
}

application/xml, text/xml

Sample:
<DashboardDateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Date>2026-07-03T09:10:09.6547381+00:00</Date>
</DashboardDateRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DashboardDateRequest'.

Response Information

Resource Description

APIDataResponseOfTodaysOrdersResponse
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

status

string

None.

data

TodaysOrdersResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "status": "sample string 3",
  "data": {
    "TotalOrders": 1,
    "Pending": 2,
    "Confirmed": 3,
    "Packed": 4,
    "OutForDelivery": 5,
    "Delivered": 6,
    "Cancelled": 7
  }
}

application/xml, text/xml

Sample:
<APIDataResponseOfTodaysOrdersResponse0dFfYbs0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <code>1</code>
  <data>
    <Cancelled>7</Cancelled>
    <Confirmed>3</Confirmed>
    <Delivered>6</Delivered>
    <OutForDelivery>5</OutForDelivery>
    <Packed>4</Packed>
    <Pending>2</Pending>
    <TotalOrders>1</TotalOrders>
  </data>
  <message>sample string 2</message>
  <status>sample string 3</status>
</APIDataResponseOfTodaysOrdersResponse0dFfYbs0>