POST api/dashboard/getAllOrdersByDate

Request Information

URI Parameters

None.

Body Parameters

OrdersByDateRequest
NameDescriptionTypeAdditional information
Date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Date": "sample string 1"
}

application/xml, text/xml

Sample:
<OrdersByDateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Date>sample string 1</Date>
</OrdersByDateRequest>

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 'OrdersByDateRequest'.

Response Information

Resource Description

APIDataResponseOfListOfUserOrderDetails
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

status

string

None.

data

Collection of UserOrderDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "status": "sample string 3",
  "data": [
    {
      "orderId": 1,
      "createdAt": "sample string 2",
      "modifiedAt": "sample string 3",
      "orderKey": "sample string 4",
      "RazorpayPaymentId": "sample string 5",
      "PaymentStatus": "sample string 6",
      "userId": 7,
      "status": 8,
      "grandTotal": 9.0,
      "totalItemAmount": 10.0,
      "smartCartCharge": 11.0,
      "deliveryCharge": 12.0,
      "reason": "sample string 13",
      "deliveryAddressId": 14,
      "orderItemsList": [
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        },
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        }
      ],
      "userName": "sample string 15",
      "userMobile": "sample string 16"
    },
    {
      "orderId": 1,
      "createdAt": "sample string 2",
      "modifiedAt": "sample string 3",
      "orderKey": "sample string 4",
      "RazorpayPaymentId": "sample string 5",
      "PaymentStatus": "sample string 6",
      "userId": 7,
      "status": 8,
      "grandTotal": 9.0,
      "totalItemAmount": 10.0,
      "smartCartCharge": 11.0,
      "deliveryCharge": 12.0,
      "reason": "sample string 13",
      "deliveryAddressId": 14,
      "orderItemsList": [
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        },
        {
          "itemId": 1,
          "createdAt": "sample string 2",
          "modifiedAt": "sample string 3",
          "userId": 4,
          "orderId": 5,
          "productId": 6,
          "quantity": 7,
          "status": 8,
          "itemTotalAmount": 9.0,
          "productName": "sample string 10",
          "productImage": "sample string 11",
          "sellingPrice": 1.0,
          "costPrice": 1.0,
          "price": 1.0,
          "unit": "sample string 12"
        }
      ],
      "userName": "sample string 15",
      "userMobile": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<APIDataResponseOfArrayOfUserOrderDetails0dFfYbs0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <code>1</code>
  <data>
    <UserOrderDetails>
      <PaymentStatus>sample string 6</PaymentStatus>
      <RazorpayPaymentId>sample string 5</RazorpayPaymentId>
      <createdAt>sample string 2</createdAt>
      <deliveryAddressId>14</deliveryAddressId>
      <deliveryCharge>12</deliveryCharge>
      <grandTotal>9</grandTotal>
      <modifiedAt>sample string 3</modifiedAt>
      <orderId>1</orderId>
      <orderItemsList>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
      </orderItemsList>
      <orderKey>sample string 4</orderKey>
      <reason>sample string 13</reason>
      <smartCartCharge>11</smartCartCharge>
      <status>8</status>
      <totalItemAmount>10</totalItemAmount>
      <userId>7</userId>
      <userMobile>sample string 16</userMobile>
      <userName>sample string 15</userName>
    </UserOrderDetails>
    <UserOrderDetails>
      <PaymentStatus>sample string 6</PaymentStatus>
      <RazorpayPaymentId>sample string 5</RazorpayPaymentId>
      <createdAt>sample string 2</createdAt>
      <deliveryAddressId>14</deliveryAddressId>
      <deliveryCharge>12</deliveryCharge>
      <grandTotal>9</grandTotal>
      <modifiedAt>sample string 3</modifiedAt>
      <orderId>1</orderId>
      <orderItemsList>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
        <UserOrderItem>
          <costPrice>1</costPrice>
          <createdAt>sample string 2</createdAt>
          <itemId>1</itemId>
          <itemTotalAmount>9</itemTotalAmount>
          <modifiedAt>sample string 3</modifiedAt>
          <orderId>5</orderId>
          <price>1</price>
          <productId>6</productId>
          <productImage>sample string 11</productImage>
          <productName>sample string 10</productName>
          <quantity>7</quantity>
          <sellingPrice>1</sellingPrice>
          <status>8</status>
          <unit>sample string 12</unit>
          <userId>4</userId>
        </UserOrderItem>
      </orderItemsList>
      <orderKey>sample string 4</orderKey>
      <reason>sample string 13</reason>
      <smartCartCharge>11</smartCartCharge>
      <status>8</status>
      <totalItemAmount>10</totalItemAmount>
      <userId>7</userId>
      <userMobile>sample string 16</userMobile>
      <userName>sample string 15</userName>
    </UserOrderDetails>
  </data>
  <message>sample string 2</message>
  <status>sample string 3</status>
</APIDataResponseOfArrayOfUserOrderDetails0dFfYbs0>