POST api/Values/SaveOrders
Request Information
URI Parameters
None.
Body Parameters
QuickOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| Order_Parts | Collection of OrderDetail |
None. |
|
| OrderDetail | OrderDetail |
None. |
|
| Order | Order |
None. |
Request Formats
application/json, text/json
Sample:
{
"Order_Parts": [
{
"id": 1,
"OrderId": "sample string 2",
"PartNo": "sample string 3",
"ProductName": "sample string 4",
"Segment": "sample string 5",
"Quantity": "sample string 6",
"AmountPerUnit": 1.1,
"GrandTotal": 1.1,
"InsertDate": "2026-05-13T16:13:41.1550326+05:30",
"ExeId": 1
},
{
"id": 1,
"OrderId": "sample string 2",
"PartNo": "sample string 3",
"ProductName": "sample string 4",
"Segment": "sample string 5",
"Quantity": "sample string 6",
"AmountPerUnit": 1.1,
"GrandTotal": 1.1,
"InsertDate": "2026-05-13T16:13:41.1550326+05:30",
"ExeId": 1
}
],
"OrderDetail": {
"id": 1,
"OrderId": "sample string 2",
"PartNo": "sample string 3",
"ProductName": "sample string 4",
"Segment": "sample string 5",
"Quantity": "sample string 6",
"AmountPerUnit": 1.1,
"GrandTotal": 1.1,
"InsertDate": "2026-05-13T16:13:41.1550326+05:30",
"ExeId": 1
},
"Order": {
"fromdate": "2026-05-13T16:13:41.1550326+05:30",
"todate": "2026-05-13T16:13:41.1550326+05:30",
"EXid": null,
"id": 3,
"OrderDate": "2026-05-13T16:13:41.1550326+05:30",
"Orderid": "sample string 4",
"CustomerType": "sample string 5",
"ShopName": "sample string 6",
"ContactPerson": "sample string 7",
"OrderType": "sample string 8",
"ExeId": 1,
"DisId": 1,
"RegId": 1,
"CusId": 1,
"Total": 1.1,
"InsertDate": "2026-05-13T16:13:41.1550326+05:30"
}
}
application/xml, text/xml
Sample:
<QuickOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Delphitvs_catalog_json">
<Order>
<ContactPerson>sample string 7</ContactPerson>
<CusId>1</CusId>
<CustomerType>sample string 5</CustomerType>
<DisId>1</DisId>
<ExeId>1</ExeId>
<InsertDate>2026-05-13T16:13:41.1550326+05:30</InsertDate>
<OrderDate>2026-05-13T16:13:41.1550326+05:30</OrderDate>
<OrderType>sample string 8</OrderType>
<Orderid>sample string 4</Orderid>
<RegId>1</RegId>
<ShopName>sample string 6</ShopName>
<Total>1.1</Total>
<fromdate>2026-05-13T16:13:41.1550326+05:30</fromdate>
<id>3</id>
<todate>2026-05-13T16:13:41.1550326+05:30</todate>
</Order>
<OrderDetail>
<AmountPerUnit>1.1</AmountPerUnit>
<ExeId>1</ExeId>
<GrandTotal>1.1</GrandTotal>
<InsertDate>2026-05-13T16:13:41.1550326+05:30</InsertDate>
<OrderId>sample string 2</OrderId>
<PartNo>sample string 3</PartNo>
<ProductName>sample string 4</ProductName>
<Quantity>sample string 6</Quantity>
<Segment>sample string 5</Segment>
<id>1</id>
</OrderDetail>
<Order_Parts>
<OrderDetail>
<AmountPerUnit>1.1</AmountPerUnit>
<ExeId>1</ExeId>
<GrandTotal>1.1</GrandTotal>
<InsertDate>2026-05-13T16:13:41.1550326+05:30</InsertDate>
<OrderId>sample string 2</OrderId>
<PartNo>sample string 3</PartNo>
<ProductName>sample string 4</ProductName>
<Quantity>sample string 6</Quantity>
<Segment>sample string 5</Segment>
<id>1</id>
</OrderDetail>
<OrderDetail>
<AmountPerUnit>1.1</AmountPerUnit>
<ExeId>1</ExeId>
<GrandTotal>1.1</GrandTotal>
<InsertDate>2026-05-13T16:13:41.1550326+05:30</InsertDate>
<OrderId>sample string 2</OrderId>
<PartNo>sample string 3</PartNo>
<ProductName>sample string 4</ProductName>
<Quantity>sample string 6</Quantity>
<Segment>sample string 5</Segment>
<id>1</id>
</OrderDetail>
</Order_Parts>
</QuickOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Output| Name | Description | Type | Additional information |
|---|---|---|---|
| result | string |
None. |
|
| msg | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": "sample string 1",
"msg": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<Output xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Delphitvs_catalog_json"> <data /> <msg>sample string 2</msg> <result>sample string 1</result> </Output>