POST api/BowlMaster/CreateOrder

Request Information

URI Parameters

None.

Body Parameters

UKB_OrderMaster
NameDescriptionTypeAdditional information
condition

string

None.

Custid

string

None.

Qty

integer

None.

Orderdate

date

None.

Delivery_type

integer

None.

Orderamount

decimal number

None.

Razorpayorderid

string

None.

Razorpaymentid

string

None.

Orderstatus

integer

None.

Contact_Person

string

None.

Delivery_Address

string

None.

Apat_Name

string

None.

Mobile_Number

integer

None.

Alternative_Mobile

integer

None.

city

string

None.

Area

string

None.

Landmark

string

None.

Pincode

integer

None.

Latcode

string

None.

Longcode

string

None.

NotesByCustomer

string

None.

coupon_code

string

None.

coupon_type

integer

None.

coupon_amount

decimal number

None.

modetype

string

None.

Email

string

None.

Transfrom

string

None.

ordertime

string

None.

shipping

decimal number

None.

totalgst

decimal number

None.

delivery

integer

None.

Planid

integer

None.

Subid

integer

None.

weekend

string

None.

orderitems

Collection of UKB_OrderItems

None.

Request Formats

application/json, text/json

Sample:
{
  "condition": "sample string 1",
  "Custid": "sample string 2",
  "Qty": 1,
  "Orderdate": "2024-04-19T23:37:56.978514-07:00",
  "Delivery_type": 1,
  "Orderamount": 3.1,
  "Razorpayorderid": "sample string 4",
  "Razorpaymentid": "sample string 5",
  "Orderstatus": 1,
  "Contact_Person": "sample string 6",
  "Delivery_Address": "sample string 7",
  "Apat_Name": "sample string 8",
  "Mobile_Number": 9,
  "Alternative_Mobile": 10,
  "city": "sample string 11",
  "Area": "sample string 12",
  "Landmark": "sample string 13",
  "Pincode": 14,
  "Latcode": "sample string 15",
  "Longcode": "sample string 16",
  "NotesByCustomer": "sample string 17",
  "coupon_code": "sample string 18",
  "coupon_type": 1,
  "coupon_amount": 19.1,
  "modetype": "sample string 20",
  "Email": "sample string 21",
  "Transfrom": "sample string 22",
  "ordertime": "sample string 23",
  "shipping": 24.1,
  "totalgst": 25.1,
  "delivery": 1,
  "Planid": 1,
  "Subid": 1,
  "weekend": "sample string 26",
  "orderitems": [
    {
      "Bowlid": 1,
      "Bowlprice": 1.1,
      "Dressingtype": "sample string 2",
      "Pickuplocationid": 1,
      "bowlQty": 1,
      "gst": 3.1,
      "ingredients": [
        {
          "Ing_id": 1,
          "Ing_Qty": 1,
          "Ing_type": 1
        },
        {
          "Ing_id": 1,
          "Ing_Qty": 1,
          "Ing_type": 1
        }
      ]
    },
    {
      "Bowlid": 1,
      "Bowlprice": 1.1,
      "Dressingtype": "sample string 2",
      "Pickuplocationid": 1,
      "bowlQty": 1,
      "gst": 3.1,
      "ingredients": [
        {
          "Ing_id": 1,
          "Ing_Qty": 1,
          "Ing_type": 1
        },
        {
          "Ing_id": 1,
          "Ing_Qty": 1,
          "Ing_type": 1
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<UKB_OrderMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Types.BowlMaster">
  <Alternative_Mobile>10</Alternative_Mobile>
  <Apat_Name>sample string 8</Apat_Name>
  <Area>sample string 12</Area>
  <Contact_Person>sample string 6</Contact_Person>
  <Custid>sample string 2</Custid>
  <Delivery_Address>sample string 7</Delivery_Address>
  <Delivery_type>1</Delivery_type>
  <Email>sample string 21</Email>
  <Landmark>sample string 13</Landmark>
  <Latcode>sample string 15</Latcode>
  <Longcode>sample string 16</Longcode>
  <Mobile_Number>9</Mobile_Number>
  <NotesByCustomer>sample string 17</NotesByCustomer>
  <Orderamount>3.1</Orderamount>
  <Orderdate>2024-04-19T23:37:56.978514-07:00</Orderdate>
  <Orderstatus>1</Orderstatus>
  <Pincode>14</Pincode>
  <Planid>1</Planid>
  <Qty>1</Qty>
  <Razorpaymentid>sample string 5</Razorpaymentid>
  <Razorpayorderid>sample string 4</Razorpayorderid>
  <Subid>1</Subid>
  <Transfrom>sample string 22</Transfrom>
  <city>sample string 11</city>
  <condition>sample string 1</condition>
  <coupon_amount>19.1</coupon_amount>
  <coupon_code>sample string 18</coupon_code>
  <coupon_type>1</coupon_type>
  <delivery>1</delivery>
  <modetype>sample string 20</modetype>
  <orderitems>
    <UKB_OrderItems>
      <Bowlid>1</Bowlid>
      <Bowlprice>1.1</Bowlprice>
      <Dressingtype>sample string 2</Dressingtype>
      <Pickuplocationid>1</Pickuplocationid>
      <bowlQty>1</bowlQty>
      <gst>3.1</gst>
      <ingredients>
        <ingredients>
          <Ing_Qty>1</Ing_Qty>
          <Ing_id>1</Ing_id>
          <Ing_type>1</Ing_type>
        </ingredients>
        <ingredients>
          <Ing_Qty>1</Ing_Qty>
          <Ing_id>1</Ing_id>
          <Ing_type>1</Ing_type>
        </ingredients>
      </ingredients>
    </UKB_OrderItems>
    <UKB_OrderItems>
      <Bowlid>1</Bowlid>
      <Bowlprice>1.1</Bowlprice>
      <Dressingtype>sample string 2</Dressingtype>
      <Pickuplocationid>1</Pickuplocationid>
      <bowlQty>1</bowlQty>
      <gst>3.1</gst>
      <ingredients>
        <ingredients>
          <Ing_Qty>1</Ing_Qty>
          <Ing_id>1</Ing_id>
          <Ing_type>1</Ing_type>
        </ingredients>
        <ingredients>
          <Ing_Qty>1</Ing_Qty>
          <Ing_id>1</Ing_id>
          <Ing_type>1</Ing_type>
        </ingredients>
      </ingredients>
    </UKB_OrderItems>
  </orderitems>
  <ordertime>sample string 23</ordertime>
  <shipping>24.1</shipping>
  <totalgst>25.1</totalgst>
  <weekend>sample string 26</weekend>
</UKB_OrderMaster>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.