POST api/Item/SaveItemOrderDetail
Request Information
URI Parameters
None.
Body Parameters
Collection of SalesOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemMasterID | integer |
None. |
|
| OrderType | integer |
None. |
|
| OrderID | integer |
None. |
|
| ProductName | string |
None. |
|
| ActualCost | decimal number |
None. |
|
| ProductQty | integer |
None. |
|
| OrderedUnit | integer |
None. |
|
| CGST | decimal number |
None. |
|
| SGST | decimal number |
None. |
|
| IGST | decimal number |
None. |
|
| GSTCost | decimal number |
None. |
|
| GSTPercent | decimal number |
None. |
|
| SalesOrderDetailID | integer |
None. |
|
| TotalAmount | decimal number |
None. |
|
| GrandTotal | decimal number |
None. |
|
| CustomerName | string |
None. |
|
| CustomerGST | string |
None. |
|
| CustomerEmail | string |
None. |
|
| CustomerNumber | string |
None. |
|
| CustomerAddress | string |
None. |
|
| PayMode | string |
None. |
|
| SubTotal | decimal number |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| AfterDisc | decimal number |
None. |
|
| TotalCharges | decimal number |
None. |
|
| DeliveredBy | string |
None. |
|
| TableStatus | string |
None. |
|
| TotalOrderAmount | decimal number |
None. |
|
| DiscPercent | decimal number |
None. |
|
| RoundOff | decimal number |
None. |
|
| Charge | decimal number |
None. |
|
| TotalPaid | decimal number |
None. |
|
| PaymentStatus | string |
None. |
|
| GivenAmount | decimal number |
None. |
|
| ReturnAmount | decimal number |
None. |
|
| DiscountValue | decimal number |
None. |
|
| TableID | integer |
None. |
|
| OrderTypeName | string |
None. |
|
| IsApplyGST | boolean |
None. |
|
| GSTGrandTotal | decimal number |
None. |
|
| OrderDate | string |
None. |
|
| OrderTime | string |
None. |
|
| OrderNo | string |
None. |
|
| TableName | string |
None. |
|
| Total_aft_Dis | string |
None. |
|
| SavedGrandTotal | string |
None. |
|
| CreatedDate | date |
None. |
|
| ItemRemarks | string |
None. |
|
| OrderDateTime | string |
None. |
|
| companydetails | CompanyDetails |
None. |
|
| RoomNo | string |
None. |
|
| NCName | string |
None. |
|
| RoundOffValue | string |
None. |
|
| ServiceChargeValue | decimal number |
None. |
|
| RTID | integer |
None. |
|
| GCID | integer |
None. |
|
| RoomNumber | string |
None. |
|
| GSTPercentage | decimal number |
None. |
|
| nLoginID | string |
None. |
|
| sLogin | string |
None. |
|
| sUserFullName | string |
None. |
|
| NCRadio | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ItemMasterID": 1,
"OrderType": 2,
"OrderID": 3,
"ProductName": "sample string 4",
"ActualCost": 5.1,
"ProductQty": 6,
"OrderedUnit": 7,
"CGST": 8.1,
"SGST": 9.1,
"IGST": 10.1,
"GSTCost": 11.1,
"GSTPercent": 12.1,
"SalesOrderDetailID": 13,
"TotalAmount": 14.1,
"GrandTotal": 15.1,
"CustomerName": "sample string 16",
"CustomerGST": "sample string 17",
"CustomerEmail": "sample string 18",
"CustomerNumber": "sample string 19",
"CustomerAddress": "sample string 20",
"PayMode": "sample string 21",
"SubTotal": 22.1,
"TotalDiscount": 23.1,
"AfterDisc": 24.1,
"TotalCharges": 25.1,
"DeliveredBy": "sample string 26",
"TableStatus": "sample string 27",
"TotalOrderAmount": 28.1,
"DiscPercent": 29.1,
"RoundOff": 30.1,
"Charge": 31.1,
"TotalPaid": 32.1,
"PaymentStatus": "sample string 33",
"GivenAmount": 34.1,
"ReturnAmount": 35.1,
"DiscountValue": 36.1,
"TableID": 37,
"OrderTypeName": "sample string 38",
"IsApplyGST": true,
"GSTGrandTotal": 40.1,
"OrderDate": "sample string 41",
"OrderTime": "sample string 42",
"OrderNo": "sample string 43",
"TableName": "sample string 44",
"Total_aft_Dis": "sample string 45",
"SavedGrandTotal": "sample string 46",
"CreatedDate": "2026-07-31T18:23:53.7833699-07:00",
"ItemRemarks": "sample string 48",
"OrderDateTime": "sample string 49",
"companydetails": {
"CompanyID": "sample string 1",
"Name": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"PinCode": "sample string 5",
"Contactno": "sample string 6",
"GSTNo": "sample string 7",
"CaptainName": "sample string 8"
},
"RoomNo": "sample string 50",
"NCName": "sample string 51",
"RoundOffValue": "sample string 52",
"ServiceChargeValue": 53.1,
"RTID": 54,
"GCID": 55,
"RoomNumber": "sample string 56",
"GSTPercentage": 57.1,
"nLoginID": "sample string 58",
"sLogin": "sample string 59",
"sUserFullName": "sample string 60",
"NCRadio": "sample string 61"
},
{
"ItemMasterID": 1,
"OrderType": 2,
"OrderID": 3,
"ProductName": "sample string 4",
"ActualCost": 5.1,
"ProductQty": 6,
"OrderedUnit": 7,
"CGST": 8.1,
"SGST": 9.1,
"IGST": 10.1,
"GSTCost": 11.1,
"GSTPercent": 12.1,
"SalesOrderDetailID": 13,
"TotalAmount": 14.1,
"GrandTotal": 15.1,
"CustomerName": "sample string 16",
"CustomerGST": "sample string 17",
"CustomerEmail": "sample string 18",
"CustomerNumber": "sample string 19",
"CustomerAddress": "sample string 20",
"PayMode": "sample string 21",
"SubTotal": 22.1,
"TotalDiscount": 23.1,
"AfterDisc": 24.1,
"TotalCharges": 25.1,
"DeliveredBy": "sample string 26",
"TableStatus": "sample string 27",
"TotalOrderAmount": 28.1,
"DiscPercent": 29.1,
"RoundOff": 30.1,
"Charge": 31.1,
"TotalPaid": 32.1,
"PaymentStatus": "sample string 33",
"GivenAmount": 34.1,
"ReturnAmount": 35.1,
"DiscountValue": 36.1,
"TableID": 37,
"OrderTypeName": "sample string 38",
"IsApplyGST": true,
"GSTGrandTotal": 40.1,
"OrderDate": "sample string 41",
"OrderTime": "sample string 42",
"OrderNo": "sample string 43",
"TableName": "sample string 44",
"Total_aft_Dis": "sample string 45",
"SavedGrandTotal": "sample string 46",
"CreatedDate": "2026-07-31T18:23:53.7833699-07:00",
"ItemRemarks": "sample string 48",
"OrderDateTime": "sample string 49",
"companydetails": {
"CompanyID": "sample string 1",
"Name": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"PinCode": "sample string 5",
"Contactno": "sample string 6",
"GSTNo": "sample string 7",
"CaptainName": "sample string 8"
},
"RoomNo": "sample string 50",
"NCName": "sample string 51",
"RoundOffValue": "sample string 52",
"ServiceChargeValue": 53.1,
"RTID": 54,
"GCID": 55,
"RoomNumber": "sample string 56",
"GSTPercentage": 57.1,
"nLoginID": "sample string 58",
"sLogin": "sample string 59",
"sUserFullName": "sample string 60",
"NCRadio": "sample string 61"
}
]
application/xml, text/xml
Sample:
<ArrayOfSalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestaurantApi.Models">
<SalesOrder>
<ActualCost>5.1</ActualCost>
<AfterDisc>24.1</AfterDisc>
<CGST>8.1</CGST>
<Charge>31.1</Charge>
<CreatedDate>2026-07-31T18:23:53.7833699-07:00</CreatedDate>
<CustomerAddress>sample string 20</CustomerAddress>
<CustomerEmail>sample string 18</CustomerEmail>
<CustomerGST>sample string 17</CustomerGST>
<CustomerName>sample string 16</CustomerName>
<CustomerNumber>sample string 19</CustomerNumber>
<DeliveredBy>sample string 26</DeliveredBy>
<DiscPercent>29.1</DiscPercent>
<DiscountValue>36.1</DiscountValue>
<GCID>55</GCID>
<GSTCost>11.1</GSTCost>
<GSTGrandTotal>40.1</GSTGrandTotal>
<GSTPercent>12.1</GSTPercent>
<GivenAmount>34.1</GivenAmount>
<GrandTotal>15.1</GrandTotal>
<IGST>10.1</IGST>
<IsApplyGST>true</IsApplyGST>
<ItemMasterID>1</ItemMasterID>
<ItemRemarks>sample string 48</ItemRemarks>
<NCName>sample string 51</NCName>
<NCRadio>sample string 61</NCRadio>
<OrderDate>sample string 41</OrderDate>
<OrderDateTime>sample string 49</OrderDateTime>
<OrderID>3</OrderID>
<OrderNo>sample string 43</OrderNo>
<OrderTime>sample string 42</OrderTime>
<OrderType>2</OrderType>
<OrderTypeName>sample string 38</OrderTypeName>
<OrderedUnit>7</OrderedUnit>
<PayMode>sample string 21</PayMode>
<PaymentStatus>sample string 33</PaymentStatus>
<ProductName>sample string 4</ProductName>
<ProductQty>6</ProductQty>
<RTID>54</RTID>
<ReturnAmount>35.1</ReturnAmount>
<RoomNo>sample string 50</RoomNo>
<RoomNumber>sample string 56</RoomNumber>
<RoundOff>30.1</RoundOff>
<RoundOffValue>sample string 52</RoundOffValue>
<SGST>9.1</SGST>
<SavedGrandTotal>sample string 46</SavedGrandTotal>
<ServiceChargeValue>53.1</ServiceChargeValue>
<SubTotal>22.1</SubTotal>
<TableID>37</TableID>
<TableName>sample string 44</TableName>
<TableStatus>sample string 27</TableStatus>
<TotalCharges>25.1</TotalCharges>
<TotalDiscount>23.1</TotalDiscount>
<TotalOrderAmount>28.1</TotalOrderAmount>
<TotalPaid>32.1</TotalPaid>
<Total_aft_Dis>sample string 45</Total_aft_Dis>
<companydetails>
<Address>sample string 3</Address>
<CaptainName>sample string 8</CaptainName>
<City>sample string 4</City>
<CompanyID>sample string 1</CompanyID>
<Contactno>sample string 6</Contactno>
<GSTNo>sample string 7</GSTNo>
<Name>sample string 2</Name>
<PinCode>sample string 5</PinCode>
</companydetails>
<nLoginID>sample string 58</nLoginID>
<sLogin>sample string 59</sLogin>
<sUserFullName>sample string 60</sUserFullName>
</SalesOrder>
<SalesOrder>
<ActualCost>5.1</ActualCost>
<AfterDisc>24.1</AfterDisc>
<CGST>8.1</CGST>
<Charge>31.1</Charge>
<CreatedDate>2026-07-31T18:23:53.7833699-07:00</CreatedDate>
<CustomerAddress>sample string 20</CustomerAddress>
<CustomerEmail>sample string 18</CustomerEmail>
<CustomerGST>sample string 17</CustomerGST>
<CustomerName>sample string 16</CustomerName>
<CustomerNumber>sample string 19</CustomerNumber>
<DeliveredBy>sample string 26</DeliveredBy>
<DiscPercent>29.1</DiscPercent>
<DiscountValue>36.1</DiscountValue>
<GCID>55</GCID>
<GSTCost>11.1</GSTCost>
<GSTGrandTotal>40.1</GSTGrandTotal>
<GSTPercent>12.1</GSTPercent>
<GivenAmount>34.1</GivenAmount>
<GrandTotal>15.1</GrandTotal>
<IGST>10.1</IGST>
<IsApplyGST>true</IsApplyGST>
<ItemMasterID>1</ItemMasterID>
<ItemRemarks>sample string 48</ItemRemarks>
<NCName>sample string 51</NCName>
<NCRadio>sample string 61</NCRadio>
<OrderDate>sample string 41</OrderDate>
<OrderDateTime>sample string 49</OrderDateTime>
<OrderID>3</OrderID>
<OrderNo>sample string 43</OrderNo>
<OrderTime>sample string 42</OrderTime>
<OrderType>2</OrderType>
<OrderTypeName>sample string 38</OrderTypeName>
<OrderedUnit>7</OrderedUnit>
<PayMode>sample string 21</PayMode>
<PaymentStatus>sample string 33</PaymentStatus>
<ProductName>sample string 4</ProductName>
<ProductQty>6</ProductQty>
<RTID>54</RTID>
<ReturnAmount>35.1</ReturnAmount>
<RoomNo>sample string 50</RoomNo>
<RoomNumber>sample string 56</RoomNumber>
<RoundOff>30.1</RoundOff>
<RoundOffValue>sample string 52</RoundOffValue>
<SGST>9.1</SGST>
<SavedGrandTotal>sample string 46</SavedGrandTotal>
<ServiceChargeValue>53.1</ServiceChargeValue>
<SubTotal>22.1</SubTotal>
<TableID>37</TableID>
<TableName>sample string 44</TableName>
<TableStatus>sample string 27</TableStatus>
<TotalCharges>25.1</TotalCharges>
<TotalDiscount>23.1</TotalDiscount>
<TotalOrderAmount>28.1</TotalOrderAmount>
<TotalPaid>32.1</TotalPaid>
<Total_aft_Dis>sample string 45</Total_aft_Dis>
<companydetails>
<Address>sample string 3</Address>
<CaptainName>sample string 8</CaptainName>
<City>sample string 4</City>
<CompanyID>sample string 1</CompanyID>
<Contactno>sample string 6</Contactno>
<GSTNo>sample string 7</GSTNo>
<Name>sample string 2</Name>
<PinCode>sample string 5</PinCode>
</companydetails>
<nLoginID>sample string 58</nLoginID>
<sLogin>sample string 59</sLogin>
<sUserFullName>sample string 60</sUserFullName>
</SalesOrder>
</ArrayOfSalesOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>