GET api/Order/GetAllOrdersWithVendorIDandFromToDate/{Id}?from={from}&to={to}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

from

string

Required

to

string

Required

Body Parameters

None.

Response Information

Resource Description

OrderReport
NameDescriptionTypeAdditional information
lsttblOrders

Collection of TempOrder

None.

TotalAmount

decimal number

None.

TotalOrder

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "lsttblOrders": [
    {
      "Id": 1,
      "Order_Number": "sample string 2",
      "InsertedDate": "sample string 3",
      "UpdateDate": "sample string 4",
      "Total_Price": 5.1,
      "Customer_Id": 6,
      "Customer_Name": "sample string 7",
      "razorpay_order_id": "sample string 8",
      "razorpay_payment_id": "sample string 9",
      "razorpay_signature": "sample string 10",
      "Order_Status": "sample string 11",
      "PaymentType": "sample string 12",
      "PinCode": 13,
      "VendorId": 14,
      "Vendor_Name": "sample string 15",
      "Rider": "sample string 16",
      "DeliveryDate": "sample string 17",
      "DeliveryTime": "sample string 18",
      "lstOrderItems": [
        {
          "Id": 1,
          "Order_id": "sample string 2",
          "Product_Id": 3,
          "Product_Price": 4.1,
          "Product_Qty": 5,
          "Product_Wt": 6.1,
          "Product_Name": "sample string 7",
          "Comment": "sample string 8",
          "InsertedDate": "sample string 9",
          "UpdatedDate": "sample string 10",
          "Product_Pieces": "sample string 11",
          "Subtotal": 12.1,
          "VendorPrice": 13.1
        },
        {
          "Id": 1,
          "Order_id": "sample string 2",
          "Product_Id": 3,
          "Product_Price": 4.1,
          "Product_Qty": 5,
          "Product_Wt": 6.1,
          "Product_Name": "sample string 7",
          "Comment": "sample string 8",
          "InsertedDate": "sample string 9",
          "UpdatedDate": "sample string 10",
          "Product_Pieces": "sample string 11",
          "Subtotal": 12.1,
          "VendorPrice": 13.1
        }
      ],
      "DeliveryType": "sample string 19",
      "DeliveryCharges": 20.1
    },
    {
      "Id": 1,
      "Order_Number": "sample string 2",
      "InsertedDate": "sample string 3",
      "UpdateDate": "sample string 4",
      "Total_Price": 5.1,
      "Customer_Id": 6,
      "Customer_Name": "sample string 7",
      "razorpay_order_id": "sample string 8",
      "razorpay_payment_id": "sample string 9",
      "razorpay_signature": "sample string 10",
      "Order_Status": "sample string 11",
      "PaymentType": "sample string 12",
      "PinCode": 13,
      "VendorId": 14,
      "Vendor_Name": "sample string 15",
      "Rider": "sample string 16",
      "DeliveryDate": "sample string 17",
      "DeliveryTime": "sample string 18",
      "lstOrderItems": [
        {
          "Id": 1,
          "Order_id": "sample string 2",
          "Product_Id": 3,
          "Product_Price": 4.1,
          "Product_Qty": 5,
          "Product_Wt": 6.1,
          "Product_Name": "sample string 7",
          "Comment": "sample string 8",
          "InsertedDate": "sample string 9",
          "UpdatedDate": "sample string 10",
          "Product_Pieces": "sample string 11",
          "Subtotal": 12.1,
          "VendorPrice": 13.1
        },
        {
          "Id": 1,
          "Order_id": "sample string 2",
          "Product_Id": 3,
          "Product_Price": 4.1,
          "Product_Qty": 5,
          "Product_Wt": 6.1,
          "Product_Name": "sample string 7",
          "Comment": "sample string 8",
          "InsertedDate": "sample string 9",
          "UpdatedDate": "sample string 10",
          "Product_Pieces": "sample string 11",
          "Subtotal": 12.1,
          "VendorPrice": 13.1
        }
      ],
      "DeliveryType": "sample string 19",
      "DeliveryCharges": 20.1
    }
  ],
  "TotalAmount": 1.1,
  "TotalOrder": 1
}

application/xml, text/xml

Sample:
<OrderReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteFoodsWebAPI.Controllers">
  <TotalAmount>1.1</TotalAmount>
  <TotalOrder>1</TotalOrder>
  <lsttblOrders xmlns:d2p1="http://schemas.datacontract.org/2004/07/WhiteFoodsWebApp.Models">
    <d2p1:TempOrder>
      <d2p1:Customer_Id>6</d2p1:Customer_Id>
      <d2p1:Customer_Name>sample string 7</d2p1:Customer_Name>
      <d2p1:DeliveryCharges>20.1</d2p1:DeliveryCharges>
      <d2p1:DeliveryDate>sample string 17</d2p1:DeliveryDate>
      <d2p1:DeliveryTime>sample string 18</d2p1:DeliveryTime>
      <d2p1:DeliveryType>sample string 19</d2p1:DeliveryType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InsertedDate>sample string 3</d2p1:InsertedDate>
      <d2p1:Order_Number>sample string 2</d2p1:Order_Number>
      <d2p1:Order_Status>sample string 11</d2p1:Order_Status>
      <d2p1:PaymentType>sample string 12</d2p1:PaymentType>
      <d2p1:PinCode>13</d2p1:PinCode>
      <d2p1:Rider>sample string 16</d2p1:Rider>
      <d2p1:Total_Price>5.1</d2p1:Total_Price>
      <d2p1:UpdateDate>sample string 4</d2p1:UpdateDate>
      <d2p1:VendorId>14</d2p1:VendorId>
      <d2p1:Vendor_Name>sample string 15</d2p1:Vendor_Name>
      <d2p1:lstOrderItems>
        <d2p1:ModelOrderItems>
          <d2p1:Comment>sample string 8</d2p1:Comment>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:InsertedDate>sample string 9</d2p1:InsertedDate>
          <d2p1:Order_id>sample string 2</d2p1:Order_id>
          <d2p1:Product_Id>3</d2p1:Product_Id>
          <d2p1:Product_Name>sample string 7</d2p1:Product_Name>
          <d2p1:Product_Pieces>sample string 11</d2p1:Product_Pieces>
          <d2p1:Product_Price>4.1</d2p1:Product_Price>
          <d2p1:Product_Qty>5</d2p1:Product_Qty>
          <d2p1:Product_Wt>6.1</d2p1:Product_Wt>
          <d2p1:Subtotal>12.1</d2p1:Subtotal>
          <d2p1:UpdatedDate>sample string 10</d2p1:UpdatedDate>
          <d2p1:VendorPrice>13.1</d2p1:VendorPrice>
        </d2p1:ModelOrderItems>
        <d2p1:ModelOrderItems>
          <d2p1:Comment>sample string 8</d2p1:Comment>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:InsertedDate>sample string 9</d2p1:InsertedDate>
          <d2p1:Order_id>sample string 2</d2p1:Order_id>
          <d2p1:Product_Id>3</d2p1:Product_Id>
          <d2p1:Product_Name>sample string 7</d2p1:Product_Name>
          <d2p1:Product_Pieces>sample string 11</d2p1:Product_Pieces>
          <d2p1:Product_Price>4.1</d2p1:Product_Price>
          <d2p1:Product_Qty>5</d2p1:Product_Qty>
          <d2p1:Product_Wt>6.1</d2p1:Product_Wt>
          <d2p1:Subtotal>12.1</d2p1:Subtotal>
          <d2p1:UpdatedDate>sample string 10</d2p1:UpdatedDate>
          <d2p1:VendorPrice>13.1</d2p1:VendorPrice>
        </d2p1:ModelOrderItems>
      </d2p1:lstOrderItems>
      <d2p1:razorpay_order_id>sample string 8</d2p1:razorpay_order_id>
      <d2p1:razorpay_payment_id>sample string 9</d2p1:razorpay_payment_id>
      <d2p1:razorpay_signature>sample string 10</d2p1:razorpay_signature>
    </d2p1:TempOrder>
    <d2p1:TempOrder>
      <d2p1:Customer_Id>6</d2p1:Customer_Id>
      <d2p1:Customer_Name>sample string 7</d2p1:Customer_Name>
      <d2p1:DeliveryCharges>20.1</d2p1:DeliveryCharges>
      <d2p1:DeliveryDate>sample string 17</d2p1:DeliveryDate>
      <d2p1:DeliveryTime>sample string 18</d2p1:DeliveryTime>
      <d2p1:DeliveryType>sample string 19</d2p1:DeliveryType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InsertedDate>sample string 3</d2p1:InsertedDate>
      <d2p1:Order_Number>sample string 2</d2p1:Order_Number>
      <d2p1:Order_Status>sample string 11</d2p1:Order_Status>
      <d2p1:PaymentType>sample string 12</d2p1:PaymentType>
      <d2p1:PinCode>13</d2p1:PinCode>
      <d2p1:Rider>sample string 16</d2p1:Rider>
      <d2p1:Total_Price>5.1</d2p1:Total_Price>
      <d2p1:UpdateDate>sample string 4</d2p1:UpdateDate>
      <d2p1:VendorId>14</d2p1:VendorId>
      <d2p1:Vendor_Name>sample string 15</d2p1:Vendor_Name>
      <d2p1:lstOrderItems>
        <d2p1:ModelOrderItems>
          <d2p1:Comment>sample string 8</d2p1:Comment>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:InsertedDate>sample string 9</d2p1:InsertedDate>
          <d2p1:Order_id>sample string 2</d2p1:Order_id>
          <d2p1:Product_Id>3</d2p1:Product_Id>
          <d2p1:Product_Name>sample string 7</d2p1:Product_Name>
          <d2p1:Product_Pieces>sample string 11</d2p1:Product_Pieces>
          <d2p1:Product_Price>4.1</d2p1:Product_Price>
          <d2p1:Product_Qty>5</d2p1:Product_Qty>
          <d2p1:Product_Wt>6.1</d2p1:Product_Wt>
          <d2p1:Subtotal>12.1</d2p1:Subtotal>
          <d2p1:UpdatedDate>sample string 10</d2p1:UpdatedDate>
          <d2p1:VendorPrice>13.1</d2p1:VendorPrice>
        </d2p1:ModelOrderItems>
        <d2p1:ModelOrderItems>
          <d2p1:Comment>sample string 8</d2p1:Comment>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:InsertedDate>sample string 9</d2p1:InsertedDate>
          <d2p1:Order_id>sample string 2</d2p1:Order_id>
          <d2p1:Product_Id>3</d2p1:Product_Id>
          <d2p1:Product_Name>sample string 7</d2p1:Product_Name>
          <d2p1:Product_Pieces>sample string 11</d2p1:Product_Pieces>
          <d2p1:Product_Price>4.1</d2p1:Product_Price>
          <d2p1:Product_Qty>5</d2p1:Product_Qty>
          <d2p1:Product_Wt>6.1</d2p1:Product_Wt>
          <d2p1:Subtotal>12.1</d2p1:Subtotal>
          <d2p1:UpdatedDate>sample string 10</d2p1:UpdatedDate>
          <d2p1:VendorPrice>13.1</d2p1:VendorPrice>
        </d2p1:ModelOrderItems>
      </d2p1:lstOrderItems>
      <d2p1:razorpay_order_id>sample string 8</d2p1:razorpay_order_id>
      <d2p1:razorpay_payment_id>sample string 9</d2p1:razorpay_payment_id>
      <d2p1:razorpay_signature>sample string 10</d2p1:razorpay_signature>
    </d2p1:TempOrder>
  </lsttblOrders>
</OrderReport>