POST api/resto/menu_add
Request Information
URI Parameters
None.
Body Parameters
MenuItemRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Org_ID | integer |
None. |
|
| Category_ID | integer |
None. |
|
| ItemName | string |
None. |
|
| ItemImage | string |
None. |
|
| SalePrice | decimal number |
None. |
|
| PriceType | string |
None. |
|
| TaxPercentage | decimal number |
None. |
|
| IsDefaultTax | boolean |
None. |
|
| IsFavourite | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Org_ID": 1,
"Category_ID": 2,
"ItemName": "sample string 3",
"ItemImage": "sample string 4",
"SalePrice": 5.0,
"PriceType": "sample string 6",
"TaxPercentage": 7.0,
"IsDefaultTax": true,
"IsFavourite": true
}
application/xml, text/xml
Sample:
<resto.MenuItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resto_Soft"> <Category_ID>2</Category_ID> <IsDefaultTax>true</IsDefaultTax> <IsFavourite>true</IsFavourite> <ItemImage>sample string 4</ItemImage> <ItemName>sample string 3</ItemName> <Org_ID>1</Org_ID> <PriceType>sample string 6</PriceType> <SalePrice>5</SalePrice> <TaxPercentage>7</TaxPercentage> </resto.MenuItemRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.