POST Order/Save

Request Information

URI Parameters

None.

Body Parameters

OrderDetailRequestModel
NameDescriptionTypeAdditional information
customer_id

integer

None.

order_Details_shipping_Address1

string

None.

order_Details_Delivery_pepole_id

integer

None.

order_Details_amount

decimal number

None.

order_Details_Discount

decimal number

None.

order_Details_Status

string

None.

order_Details_Remark

string

None.

order_details

string

None.

address_id

decimal number

None.

cA_Pincode

string

None.

cA_City

string

None.

cA_Street

string

None.

cA_door_No

string

None.

cA_Name

string

None.

cA_cell_no

string

None.

cA_type

string

None.

productDetails

Collection of orderProductDetailViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "customer_id": 1,
  "order_Details_shipping_Address1": "sample string 1",
  "order_Details_Delivery_pepole_id": 1,
  "order_Details_amount": 1.0,
  "order_Details_Discount": 1.0,
  "order_Details_Status": "sample string 2",
  "order_Details_Remark": "sample string 3",
  "order_details": "sample string 4",
  "address_id": 1.0,
  "cA_Pincode": "sample string 5",
  "cA_City": "sample string 6",
  "cA_Street": "sample string 7",
  "cA_door_No": "sample string 8",
  "cA_Name": "sample string 9",
  "cA_cell_no": "sample string 10",
  "cA_type": "sample string 11",
  "productDetails": [
    {
      "id": 1,
      "name": "sample string 2",
      "summary": "sample string 3",
      "price": {},
      "quantity": {},
      "image": "sample string 6"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "summary": "sample string 3",
      "price": {},
      "quantity": {},
      "image": "sample string 6"
    }
  ]
}

text/html

Sample:
{"customer_id":1,"order_Details_shipping_Address1":"sample string 1","order_Details_Delivery_pepole_id":1,"order_Details_amount":1.0,"order_Details_Discount":1.0,"order_Details_Status":"sample string 2","order_Details_Remark":"sample string 3","order_details":"sample string 4","address_id":1.0,"cA_Pincode":"sample string 5","cA_City":"sample string 6","cA_Street":"sample string 7","cA_door_No":"sample string 8","cA_Name":"sample string 9","cA_cell_no":"sample string 10","cA_type":"sample string 11","productDetails":[{"id":1,"name":"sample string 2","summary":"sample string 3","price":{},"quantity":{},"image":"sample string 6"},{"id":1,"name":"sample string 2","summary":"sample string 3","price":{},"quantity":{},"image":"sample string 6"}]}

application/xml, text/xml

Sample:
<OrderDetailRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FS.Models">
  <address_id>1</address_id>
  <cA_City>sample string 6</cA_City>
  <cA_Name>sample string 9</cA_Name>
  <cA_Pincode>sample string 5</cA_Pincode>
  <cA_Street>sample string 7</cA_Street>
  <cA_cell_no>sample string 10</cA_cell_no>
  <cA_door_No>sample string 8</cA_door_No>
  <cA_type>sample string 11</cA_type>
  <customer_id>1</customer_id>
  <order_Details_Delivery_pepole_id>1</order_Details_Delivery_pepole_id>
  <order_Details_Discount>1</order_Details_Discount>
  <order_Details_Remark>sample string 3</order_Details_Remark>
  <order_Details_Status>sample string 2</order_Details_Status>
  <order_Details_amount>1</order_Details_amount>
  <order_Details_shipping_Address1>sample string 1</order_Details_shipping_Address1>
  <order_details>sample string 4</order_details>
  <productDetails>
    <orderProductDetailViewModel>
      <id>1</id>
      <image>sample string 6</image>
      <name>sample string 2</name>
      <price />
      <quantity />
      <summary>sample string 3</summary>
    </orderProductDetailViewModel>
    <orderProductDetailViewModel>
      <id>1</id>
      <image>sample string 6</image>
      <name>sample string 2</name>
      <price />
      <quantity />
      <summary>sample string 3</summary>
    </orderProductDetailViewModel>
  </productDetails>
</OrderDetailRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.