GET api/Order/GetOrderWithVendorIdandStatus/{Id}?Status={Status}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Status

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TempOrder
NameDescriptionTypeAdditional information
Id

integer

None.

Order_Number

string

None.

InsertedDate

string

None.

UpdateDate

string

None.

Total_Price

decimal number

None.

Customer_Id

integer

None.

Customer_Name

string

None.

razorpay_order_id

string

None.

razorpay_payment_id

string

None.

razorpay_signature

string

None.

Order_Status

string

None.

PaymentType

string

None.

PinCode

integer

None.

VendorId

integer

None.

Vendor_Name

string

None.

Rider

string

None.

DeliveryDate

string

None.

DeliveryTime

string

None.

lstOrderItems

Collection of ModelOrderItems

None.

DeliveryType

string

None.

DeliveryCharges

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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
  }
]

application/xml, text/xml

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